Skip to content

Instantly share code, notes, and snippets.

View textarcana's full-sized avatar

Noah Sussman textarcana

View GitHub Profile
git log -n1
@textarcana
textarcana / keybase.md
Created September 10, 2019 22:04
I fucked up and had to reset keybase :crying_cat_emoji:

Keybase proof

I hereby claim:

  • I am textarcana on github.
  • I am noahsussman (https://keybase.io/noahsussman) on keybase.
  • I have a public key whose fingerprint is 213A 97DC 9AAD 2558 211B 4AA9 69A2 64E6 E6FC 9159

To claim this, I am signing this object:

@textarcana
textarcana / LICENSE
Last active May 5, 2020 19:22
Bash Dependency Mapper
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 July 16, 2018 21:54
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.
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 18:00
Using TCPDump to snoop network traffic.
# 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
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 August 22, 2017 21:18
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)
# 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 August 2, 2017 14:27
boris beizer quotes fortune file
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 August 1, 2017 13:54
Script that tells you how long you spent online (according to RescueTime) since this morning.
#!/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 June 20, 2017 13:32
Suboptimization And Agile Testing. Somewhere between a tweetstorm and a white paper.

Suboptimization And Agile Testing