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
# replace 3000 with whatever port you want to listen on | |
# | |
# Raefer to the TCPDump documentation for the rest because | |
# I truly don't remember what all these options do, I just | |
# know that this particular configuration works! | |
sudo tcpdump -qXX -s 0 -i any port 3000 |
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
echo ' | |
E { | |
color="red"; | |
fontsize=11; | |
fontname="Arial narrow" | |
} | |
E[edgetype == "edge2"] { | |
color="green"; | |
fontsize=11; | |
fontname="Arial narrow"; |
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
# put this in your ~/.profile | |
make_default_commit () { | |
git commit -am "$*" | |
} | |
alias h="make_default_commit " | |
# then you can use it like this | |
# |
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
More than the act of testing, the act of designing tests is one of the | |
best bug preventers known. | |
% | |
If you can't test it, don't build it. If you don't test it, rip it | |
out. [p. 434] | |
% | |
If humans could do syntax checking, we woulnd't have so many syntax errors. | |
[p. 435] | |
% |
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
#!/usr/bin/env bash | |
# Tells you how long you spent online (according to RescueTime) since | |
# this morning. | |
# | |
# Requires GNU date! Will not work with Mac OS / BSD date command!!! | |
# Rescuetime API Token | |
RT_KEY="YOUR API TOKEN GOES HERE" |
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
When the going get weird, the weird turn pro. — Hunter S. Thompson | |
Moving Heaven and Earth without effort is simply a matter of concentration. — The Way of the Samurai | |
The problem with intelligent communication is the illusion that it has taken place. — George Bernard Shaw | |
Why is it that every time I try to build a thing of beauty I find a mob with pitchforks and torches outside my castle??? — Victor Sussman | |
The Three Virtues of Programming are laziness, impatience and hubris. — Larry Wall |
- How many programmers does it take to change a lightbulb?
- Only one. But then the whole house falls down.
- How many programmers does it take to change a lightbulb?
- None. That is a hardware problem.
- How many programmers does it take to change a lightbulb?
- This is a known issue. When we installed the lightbulb we knew it had a finite TTL. How many programmers does it take to change a lightbulb?
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
#!/usr/bin/env bash | |
set -x | |
# jq Recipes | |
# _ _____ _ | |
# (_) | __ \ (_) | |
# _ __ _ | |__) | ___ ___ _ _ __ ___ ___ | |
# | | / _` | | _ / / _ \ / __|| || '_ \ / _ \/ __| | |
# | || (_| | | | \ \| __/| (__ | || |_) || __/\__ \ |
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
I remember very clear I cry when I finish volume 3 of Knuth. | |
% | |
I am work on CSS SQL. | |
% | |
First sign of depression in devops is denial: you start of ignore Nagios alert. | |
% | |
In devops language is not success unless is another language++. | |
% | |
In devops you are addict to graph if first thought after orgasm is send duration and intensity to Graphite. | |
% |