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
| localhost | |
| log access.log | |
| websocket /echo cat |
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
| localhost | |
| log access.log | |
| proxy /echo 127.0.0.1:8080 { | |
| websocket | |
| } |
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
| export EDITOR='emacsclient -t' | |
| # Handy e command to edit in already open emacs | |
| alias e='emacsclient -nc' | |
| printEntryPoint() { | |
| entryPoints=("README.md" "package.json"); | |
| for name in "${entryPoints[@]}"; do | |
| [[ -a "$name" ]] && echo "$name" && return | |
| done |
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
| localhost | |
| log access.log | |
| websocket /echo cat |
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
| alexandria.pdxhub.org { | |
| root PDXHubWiki | |
| fastcgi /ikiwiki.cgi /run/fcgiwrap-eric.sock | |
| browse /share | |
| redir /irc http://alexandria.pdxhub.org:64080{uri} 301 | |
| } |
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
| <!doctype html> | |
| <meta charset="utf-8"> | |
| <script src="https://jspm.io/system@0.19.21.js"></script> | |
| <script> | |
| System.config({ | |
| transpiler: 'babel' | |
| }); | |
| SystemJS.import('./index.js'); | |
| </script> |
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
| localhost:2020 { | |
| log proxy.log | |
| proxy /echo localhost:2021 { | |
| websocket | |
| } | |
| } | |
| localhost:2021 { | |
| log websocket.log |
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
| localhost | |
| { | |
| log proxy.log | |
| proxy /echo localhost:8080 { | |
| websocket | |
| } | |
| } |
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
| (setq journal-directory "~/Documents/Journal/") | |
| (defun my/journal-path (time name) | |
| (concat (file-name-as-directory journal-directory) (format-time-string "%Y-%m-%d" time) "-" name ".org") | |
| ) | |
| (defun my/journal (title) | |
| "Open the journal file for today" | |
| (interactive) | |
| (find-file (my/journal-path nil title))) |
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
| package main | |
| import "os" | |
| import "log" | |
| import "github.com/cznic/kv" | |
| import "bytes" | |
| import "strconv" | |
| func usage() { | |
| log.Fatalf(`Usage: exifgps-fixup FILE`) |