Skip to content

Instantly share code, notes, and snippets.

View justuswilhelm's full-sized avatar

Justus Perlwitz justuswilhelm

View GitHub Profile
@justuswilhelm
justuswilhelm / bottles.yaml
Created February 20, 2017 22:48
Idea for Agent Based Lang
bottles:
bottles:
1:
- print < "%d Bottles on a wall\n" < n
n:
- print < "%d Bottles on a wall\n" < n
- bottles < sub1 < n
p:10000
@ IN MX 1 aspmx.l.google.com
@ IN MX 5 alt1.aspmx.l.google.com
@ IN MX 5 alt2.aspmx.l.google.com
@ IN MX 10 aspmx2.googlemail.com
@ IN MX 10 aspmx3.googlemail.com
for item in (brew list | sed 's/\\w*//' | sort)
echo (brew info $item | grep -e '*' | cut -f4 -d' ' | sed 's/)//g') $item
end | grep 'M' | sort -n
@justuswilhelm
justuswilhelm / shell
Last active September 17, 2015 22:33
Python coroutine.py output
(env)/Users/justusperlwitz/kata master $ python python/coroutine.py
Running synchronous example
https://www.google.de/?gfe_rd=: <!doctype in 0:00:00.595261s
https://m.yahoo.com/w/legobpen: <?xml vers in 0:00:00.606704s
http://www.bbc.co.uk/ : <!DOCTYPE in 0:00:00.151236s
https://en.wikipedia.org/wiki/: <!DOCTYPE in 0:00:00.040530s
https://de.wikipedia.org/wiki/: <!DOCTYPE in 0:00:00.040885s
https://news.ycombinator.com/ : <html op=" in 0:00:01.055622s
https://www.tagesschau.de/ : <!DOCTYPE in 0:00:00.524701s