Skip to content

Instantly share code, notes, and snippets.

Avatar

Noah Sussman textarcana

View GitHub Profile
@textarcana
textarcana / LICENSE
Last active May 5, 2020
Bash Dependency Mapper
View LICENSE
Copyright 2010-2019 Noah Sussman New Media, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@textarcana
textarcana / region1-00250-01-01-world_history.txt
Created Jul 16, 2018
Dwarf Fortress produced this text file out of the first game I played. I have no idea why. I'm not sure if this is something I told it to create or it just created it.
View region1-00250-01-01-world_history.txt
Slozgo XÉgu
The Universe of Vision
Cave swallow men
Antmen
Reptile men
Bat men
Olm men
Rodent men
Antmen
@textarcana
textarcana / tcpdump.sh
Created May 12, 2018
Using TCPDump to snoop network traffic.
View tcpdump.sh
# 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
View filter.gvpr
echo '
E {
color="red";
fontsize=11;
fontname="Arial narrow"
}
E[edgetype == "edge2"] {
color="green";
fontsize=11;
fontname="Arial narrow";
@textarcana
textarcana / quick-commit-command-for-git.sh
Last active Aug 22, 2017
A quick way to commit all modifed files that are tracked in git. I made this because I like to do many incremental commits across several files (because usually I am updating global interfaces and writing documentation as I go)
View quick-commit-command-for-git.sh
# put this in your ~/.profile
make_default_commit () {
git commit -am "$*"
}
alias h="make_default_commit "
# then you can use it like this
#
@textarcana
textarcana / software_testing_techniques
Last active Aug 2, 2017
boris beizer quotes fortune file
View software_testing_techniques
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]
%
@textarcana
textarcana / rescuetime_time_today
Last active Aug 1, 2017
Script that tells you how long you spent online (according to RescueTime) since this morning.
View rescuetime_time_today
#!/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"
@textarcana
textarcana / README.md
Last active Jun 20, 2017
Suboptimization And Agile Testing. Somewhere between a tweetstorm and a white paper.
View README.md

Suboptimization And Agile Testing

@textarcana
textarcana / slack_loading_quotes.txt
Last active May 2, 2018
Slack loading quotes. There is a way to insert them programmatically but there are only 150 of them so why bother to script it.
View slack_loading_quotes.txt
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
@textarcana
textarcana / lol.md
Last active Jan 13, 2020
The most comprehensive list of programmer jokes on the internet. Period. (Comprehensiveness of this list is in no way guaranteed. Statements of comprehensiveness are not meant to imply comprehensiveness. Use jokes at your own risk.) LICENSE: Creative Commons Sharealike
View lol.md

Comprehensive list of programmer jokes

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?