Autoacme
https://godoc.org/github.com/mkhl/cmd/acme/autoacme
When invoked like this
autoacme acme-onevent
it will execute its argument for each event in the acme log, i.e. an event like this
#!/bin/bash | |
until (exec 3<>/dev/tcp/127.0.0.1/7687) &>/dev/null; do | |
echo -n . | |
sleep 1 | |
done |
#!/bin/zsh | |
# Usage: realpath [<path>...] | |
# Print each real absolute <path>, resolving symlinks | |
# Defaults: <path>: read from stdin | |
case $# in | |
0) | |
while read path; do | |
echo "${path:A}" | |
done |
#!/usr/local/plan9/bin/rc | |
. 9.rc | |
. $PLAN9/lib/acme.rc | |
fn convert { | |
awk -F'=' ' | |
$1 == "indent_style" { | |
print "Spaces", ($2 == "space") ? "on" : "off" | |
} |
#!/usr/local/plan9/bin/rc | |
. 9.rc | |
. $PLAN9/lib/acme.rc | |
event=$1 | |
target=$2 | |
fn hashbang { | |
awk ' |
https://godoc.org/github.com/mkhl/cmd/acme/autoacme
When invoked like this
autoacme acme-onevent
it will execute its argument for each event in the acme log, i.e. an event like this
The specific profile doesn’t actually matter!
Take any dark profile (both Pastel and Tango are great!) and change the background to #292929 (the colour of the dark iTerm title bar). I also like to activate Cursor Guide and use a translucent greyish colour.
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install js2py gunicorn
$ gunicorn app:app
Both the original
and the proposed solution
assume an associative and commutative combining function (g
).
That bugged me so a colleague and I put this together.
I hereby claim:
To claim this, I am signing this object:
# Demonstration for https://github.com/atom/text-document/issues/15 | |
# Expand this snippet, type "foo" for the first placeholder, hit <Tab> | |
'.text.plain': | |
'Test: Adjacent Tabstops': | |
'prefix': 'a' | |
'body': '${1:abc}${2:def}' |