This version uses all possible ASCII variable names, i.e. È and the like! Don't know why I still have 4-5 collisions depending on environment.
This file contains 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
[live] | |
path = /mnt/live | |
available = yes | |
valid users = ubuntu | |
read only = no | |
browsable = yes | |
public = yes | |
writable = yes |
This file contains 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
var number = function (num) { | |
return new Promise(function (resolve, reject) { | |
if (typeof num !== 'number') { | |
reject('invalid type'); | |
} | |
setTimeout(function () { resolve(num); }, 2000); | |
}); | |
}; | |
var batch = function () { |
This file contains 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
a | |
b | |
c condition | |
d delete | |
e each | |
f | |
g group | |
h help | |
i in | |
j json |
This file contains 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 | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit" | |
alias gx='git clone' | |
alias ga='git add' | |
alias gw='git show' | |
alias gc='git commit' | |
alias gd='clear; git diff --color' | |
alias gd.='clear; git diff --color HEAD^' | |
alias gg='clear; more .git/config' |
This file contains 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
PROMPT='%{$fg[red]%}%n%{$reset_color%}%{$fg[gray]%}@%m%{$reset_color%}%{$fg[cyan]%} %~%{$reset_color%} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[black]%}: %{$reset_color%}' |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBcAvxSugPwybhw6LylgEhyH4dvtj2KjBz4dQoYEX1Nk4iUWRaF5Ok5SVTrzYgXBYnoZ5bqmQPdVaOrI6YX6nc+fvh73xJ/pke3NcPQPOeYz//uPexjwKfkVm3ukJwO4aKSQBo5MnVI6lyDiv7rug/uvujUGdpouTS3eOHtINwV6Om04EBNtVKz5D1g7dKPQpJ+oG5On7Y2pn9SFVTZHmgR6Nl5BojKKYu3/i1ahG56+NUExEIwZ9lu5/CyZF3xa45fBbG+ojySwSS8mIraD1Ir/oRXn2WFwDh6NTCgBvkov4P1ONPT6Lz7cj84KNdgwq2KKxGHJbBSINqj3sRwl1 nate@Nates-MBP.local |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwIu8b+KSOiC4zUZZvSV+u7R8+Hb8d5oaX+P1tdhZhQqybXj1tkz3qncbxoV9Dxdxjlc9IuBwJejve6h9U8VM+4zN9mBr1M+I/jZTryNAvpqB3rb1qB7zndvxLYlO2/8AAjfr3Mmm0rL3k++BBgo3ibeUusYbFuePW1grwRDPM9GsIRUfurWqUvgKX74C0oIur1nUWMfFdf88H5PGUfr3t3+nAlIqAQBBQxVk6r4gQqYP1jCy/dVQSB5iQYllNLMTalreIdjx21SjVTQFTDQGwWa/yAqIa3rYnbVQoBLIe4YI/L8Hv462+q8HdycOQiaPbE5Q1l9utKa0+rsU/g4/z administrator@nate-grapheffect.local |
This file contains 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
t: 'textarea', dir: 'data/', ext: '.txt', f: Request.form, ? Request.method = { | |
"POST": File(dir (f.slug) ext).write(f.text), Router.redirect('?')} | |
'<h1>My SimplifiedPHP Blog</h1><form action="?"><h5>New Post:</h5>Post slug: | |
<input name="slug" /><br/><'t' name="text" cols=60 rows=20></'t'><br/> | |
<input type="submit" /></form><hr/>'.print, slug: Request.args.slug, ? slug = { | |
Void: Directory(dir).each{'<a href="?slug=' Path(it).name '">' \ | |
File(it).string.lines[0] '</a><br/>'.print} | |
*: {'<a href="?">&lauqo; All Posts</a>'.print | |
File(dir post ext).string.lines.each ? key = {0: '<h2>' it '</h2>'.print | |
*: '<p>' it '</p>'.print}}} |
OlderNewer