Skip to content

Instantly share code, notes, and snippets.

View bsdlp's full-sized avatar

jon bsdlp

View GitHub Profile
==> compute: Notice: /Stage[main]/Base/Exec[apt-get update]/returns: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en Hash Sum mismatch
==> compute: Notice: /Stage[main]/Base/Exec[apt-get update]/returns:
==> compute: Notice: /Stage[main]/Base/Exec[apt-get update]/returns: E: Some index files failed to download. They have been ignored, or old ones used instead.
jchen@hobbes-(master↑2|…)> which dc
dc () {
docker ps -a | awk '!/^CONT/ {print $1}' | xargs docker rm
docker images | awk '!/^REPO/ {print $3}' | xargs docker rmi -f
}
////////////////////
//>Survivor glows///
////////////////////
//Glow of other survivors
cl_glow_survivor_r 0.0
cl_glow_survivor_g 0.5
cl_glow_survivor_b 1.0
//Glow of hunter when survivor is pounced
@bsdlp
bsdlp / launch
Created February 12, 2015 21:15
l4d2
-novid
@bsdlp
bsdlp / urmom.cfg
Created February 12, 2015 21:14
urt 4.2 cfg
// generated by quake, do not modify
unbindall
bind TAB "+scores"
bind SPACE "+moveup"
bind + "ut_itemdrop"
bind , "ut_itemdrop flag"
bind - "say klein hoden"
bind . "ut_itemdrop medpack"
bind 0 "set sensitivity 2"
bind 1 "ut_weaptoggle primary; ut_zoomreset"
#!/usr/bin/env python3
from itertools import tee
def pairwise(iterable):
"""
http://stackoverflow.com/a/11359174
"""
a, b = tee(iterable)
root@control> makepkg -si ~/crnspy
supbro
==> Making package: crnspy 0.9.9-1 (Fri Jan 16 23:33:59 UTC 2015)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (1) python2-beautifulsoup4-4.3.2-2
(PyXML-0.8.4)jchen@hobbes> python2 setup.py sdist /tmp/pyxmnl/PyXML-0.8.4
running sdist
running check
Traceback (most recent call last):
File "setup.py", line 244, in <module>
scripts=['scripts/xmlproc_parse', 'scripts/xmlproc_val']
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
root@ewr0> tar -tf logstash-forwarder-git-v0.3.1.49.ge12e341-1-x86_64.pkg.tar.xz /tmp
.PKGINFO
.MTREE
etc/
etc/logstash-forwarder.conf
usr/
usr/lib/
usr/bin/
usr/bin/logstash-forwarder
usr/lib/systemd/
pelican -D /Users/jchen/git/github.com/fly/burrito.sh/content -o /Users/jchen/git/github.com/fly/burrito.sh/output -s /Users/jchen/git/github.com/fly/burrito.sh/publishconf.py
DEBUG: Temporarily adding PLUGIN_PATHS to system path
DEBUG: Loading plugin `assets`
DEBUG: Registering plugin `assets`
DEBUG: Loading plugin `summary`
DEBUG: Registering plugin `summary`
DEBUG: Loading plugin `thumbnailer`
DEBUG: Registering plugin `thumbnailer`
DEBUG: Loading plugin `pelican_dynamic`
DEBUG: Registering plugin `pelican_dynamic`