cursorWordLeftMove to previous wordcursorWordLeftSelectMove to previous word word with selectioncursorWordRightMove to next wordcursorWordRightSelectMove to next word with selectioncursorHomeMove to start of linecursorHomeSelectMove to start of line with selectioncursorEndMove to end of linecursorEndSelectMove to end of line with selectiondeleteWordLeftDelete word backwarddeleteWordRightDelete word forward
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { promises } = require("fs"); | |
| const { readFile, writeFile } = promises; | |
| const input = "src/index.js"; | |
| const output = "src/index2.js"; | |
| const errorHandler = (error) => { | |
| console.error(error.message); | |
| process.exit(1); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Key Mappings": { | |
| "0xf728-0x80000-0x75": { | |
| "Label": "", | |
| "Action": 10, | |
| "Text": "d" | |
| }, | |
| "0xf703-0x380000-0x7c": { | |
| "Label": "", | |
| "Action": 0, |
Esc + b- Move back by word (option + left arrow)Esc + f- Move forward by word (option + right arrow)Esc + d- Delete word after (option + delete)
0x01- Move to start of line (command + left arrow)0x05- Move to end of line (command + right arrow)0x15- Delete to start of line (command + backspace)0x17- Delete word before (option + backspace)
I hereby claim:
- I am heypano on github.
- I am heypano (https://keybase.io/heypano) on keybase.
- I have a public key ASCh5Y7R05v9r9wcvX9w9JemHgRhqlmowfCY3bHNi4Q_Tgo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Restart PSQL | |
| brew services restart postgresql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/perl | |
| use warnings; | |
| use strict; | |
| use Data::Dumper; | |
| my %hash = (a => 1, b => 1, c => 1); | |
| my $hashref = \%hash; | |
| my @keys = ('d','e','f','g','h','i'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/perl | |
| my @entries = reverse sort by_first_column `ls -la @ARGV`; | |
| print @entries; | |
| sub by_first_column{ | |
| (my $a1 = $a) =~ s/^[\s]*([\S]+).+$/$1/; | |
| (my $b1 = $b) =~ s/^[\s]*([\S]+).+$/$1/; | |
| return $a1 cmp $b1; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch *.gwt.log' HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| du -ch | grep total |
NewerOlder