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 log = console.log | |
| console.log = function logIt() { | |
| var stack = new Error().stack, | |
| callee = stack.split('\n')[3].slice(7), | |
| tag = '[LOG]'; | |
| if (arguments.length > 0) { | |
| tag = Array.prototype.slice.call(arguments, 0)[0] | |
| } | |
| log.call(this, tag, callee) | |
| arguments.length > 1 && log.apply(this, arguments) |
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
| # find directories in the path | |
| find . -maxdepth 10 -type d |
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
| { | |
| "name": "tiddlywiki", | |
| "version": "1.0.0", | |
| "main": "index.js", | |
| "license": "MIT", | |
| "dependencies": { | |
| "tiddlywiki": "^5.1.14" | |
| }, | |
| "scripts": { | |
| "build": "tiddlywiki wiki --init server", |
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
| let searchalias b = "bookmark" | |
| let searchalias g = "google" |
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
| <!-- $theme: default --> | |
| <!-- prerender: false --> | |
| <!-- page_number: false --> | |
| <!-- $width: 1980px --> | |
| <!-- $height: 1080px --> | |
| <link href='https://fonts.googleapis.com/css?family=Roboto:100' rel='stylesheet' type='text/css'> | |
| <style> | |
| p { |
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
| { | |
| "lighthouseVersion": "1.6.0", | |
| "generatedTime": "2017-04-21T08:43:38.178Z", | |
| "initialUrl": "https://react-pwa-hello-world.firebaseapp.com/#/", | |
| "url": "https://react-pwa-hello-world.firebaseapp.com/#/", | |
| "audits": { | |
| "is-on-https": { | |
| "score": true, | |
| "displayValue": "", | |
| "rawValue": true, |
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
| function chpwd --on-variable PWD --description 'handler of changing $PWD' | |
| if not status --is-command-substitution ; and status --is-interactive | |
| set cur_cwd (echo $PWD | sed -e "s|^$HOME|~|" -e 's|^/private||') | |
| # set_color -o black | |
| # printf (printf "%*s" (tput cols)) | sed -e "s/ /\─/g"; | |
| echo "" | |
| printf "%s⇢ %sEntering %s%s%s …\n" (set_color $fish_color_cwd) (set_color normal) (set_color $fish_color_cwd) $cur_cwd (set_color normal) | |
| ls |
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
| function git-proxy --description "gite <command> <arguments>" | |
| set cmd $argv[1] | |
| set --erase argv[1] | |
| eval "git-"$cmd $argv | |
| 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
| tell application "System Events" | |
| key down {command} | |
| keystroke {tab} | |
| delay 0.2 | |
| key up {command} | |
| end tell |
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
| { | |
| "lighthouseVersion": "1.5.2", | |
| "generatedTime": "2017-03-02T10:56:56.719Z", | |
| "initialUrl": "https://react-pwa-hello-world.firebaseapp.com/#/", | |
| "url": "https://react-pwa-hello-world.firebaseapp.com/#/", | |
| "audits": { | |
| "is-on-https": { | |
| "score": true, | |
| "displayValue": "", | |
| "rawValue": true, |