export HAR_FILE="/path/to/har/file"
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
| knex.select() | |
| .from('some_table') | |
| .where({ | |
| name: 'Mr Foo' | |
| }) | |
| .then((result) => { | |
| // This block is *REQUIRED* or the query is not sent to the database! | |
| if (! result[0]) { | |
| console.log(`Error: "Mr Foo" was not found.`); | |
| process.exit(1); // It is alright to exit here *IF* it's a fatal condition |
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
| if .[0][2] == "timestamp" then .[1],"\t" else empty end, | |
| if .[0][2] == "content" then .[1],"\t" else empty end, | |
| if .[0][2] == "author" and .[0][3] == "name" then .[1],"\t" else empty end, | |
| if .[0][2] == "author" and .[0][3] == "nickname" then .[1],"\t" else empty end, | |
| if .[0][2] == "attachments" and .[0][4] == "url" then .[1],"\t" else empty end, | |
| if .[0][2] == "mentions" and (.[1] | not) then "\n" else empty end |
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
| $ perl -le 'print "\x{2603}"'; | |
| Wide character in print at -e line 1. | |
| ☃ | |
| $ perl -CSDL -le 'print "\x{2603}"'; | |
| ☃ |
Test2 documentation could do with some improvement.
- Easy to edit, not so easy to view.
- I don't want to mess around with vim plugins, or even mdless
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
| # Failing to get the metacpan docker image to work on Mac OSX 13.6 High Sierra. | |
| # Note: Docker specifically says my version of Mac OSX is not supported: https://docs.docker.com/desktop/mac/install/ | |
| Mac [12:35 alt$] git clone https://github.com/metacpan/metacpan-docker.git | |
| Cloning into 'metacpan-docker'... | |
| remote: Enumerating objects: 643, done. | |
| remote: Counting objects: 100% (31/31), done. | |
| remote: Compressing objects: 100% (27/27), done. | |
| remote: Total 643 (delta 6), reused 18 (delta 2), pack-reused 612 |
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
| 54.229.105.151 duckduckgo.com | |
| 54.229.105.151 www.duckduckgo.com | |
| 213.180.193.56 yandex.ru | |
| 213.180.193.56 www.yandex.ru | |
| 216.239.38.120 google.com | |
| 216.239.38.120 www.google.com | |
| 204.79.197.220 bing.com | |
| 204.79.197.220 www.bing.com | |
| #216.239.38.119 youtube.com # blocks too much |
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
| # Existing Mojo::UserAgent interface: | |
| ->get('www.☃.net?hello=there' => {Accept => '*/*'}); | |
| ->post('https://example.com' => json => {top => 'secret'}); | |
| # Alternative improved interface (proposed): | |
| ->get({ | |
| url => 'www.☃.net?hello=there', |