Skip to content

Instantly share code, notes, and snippets.

View yrgoldteeth's full-sized avatar

Nicholas Fine yrgoldteeth

View GitHub Profile
#!/usr/bin/env bash
# Check for duplicate files using an associative array indexed with the SHA sum of the files
unset flist; declare -A flist;
while read -r sum fname; do
if [[ ${flist[$sum]} ]]; then
printf 'rm -- "%s" # Same as >%s<\n' "$fname" "${flist[$sum]}"
else
flist[$sum]="$fname"
fi
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end

Keybase proof

I hereby claim:

  • I am yrgoldteeth on github.
  • I am ndfine (https://keybase.io/ndfine) on keybase.
  • I have a public key whose fingerprint is 7DDB CBCA 9DDC CF19 DB4E 5785 2D52 3C42 FD49 59CE

To claim this, I am signing this object:

@yrgoldteeth
yrgoldteeth / oblique.txt
Created November 18, 2014 18:21
Oblique Strategies - Brian Eno
Remove specifics and convert to ambiguities
Think of the radio
Don't be frightened of cliches
Allow an easement (an easement is the abandonment of a stricture)
What is the reality of the situation?
Simple subtraction
Are there sections? Consider transitions
Remove specifics and convert to ambiguities
Turn it upside down
Go slowly all the way round the outside
@yrgoldteeth
yrgoldteeth / gist:a519f770954700dc0eed
Created September 21, 2014 07:27
christ, what an asshole.

If it is your opinion that the "core demographic" for video games is still idiot men that are scared that their video games are getting ruined by a "social agenda" being pushed by bloggers then you clearly don't actually know anything about the actual demographics of who buys and plays video games.

It's especially glaring that you're taking your cues from the always reliable and completely "objective journalism" practiced by the undead Breitbart and his posse of otherwise unemployable writers, who definitely have never pushed a social agenda of their own.

Seriously, your first pull quote from this scandalous conspiracy between gaming journalists reads "[p]eople are using your platform to harass a developer. Are you comfortable with that?" How does asking that question--especially considering Zoe Quinn has without question been harassed to a disgusting level--actually become telling "an Escapist editor how he should run his forums" without a pretty monumental leap in logic? If this is the pull quote you're

We Will Get Fooled Again

  • "The rest is just vanity"
  • Whirlpool - They Might Be Giants (original by Meat Puppets)
  • These Pretty Pleasures - Swingin' Utters
  • I Believe - R.E.M.
  • Aim Low - Mary Lou Lord
  • Lucifer - Jay Z
  • Body Of The King - Baader Brains
  • Where Are They Now? - Cock Sparrer

Statement of Vindication

  • Selection from "Diving Into The Wreck" - Adrienne Rich, read by Anne Waldman
  • Statement of Vindation - Bikini Kill
  • Help Me Mary - Liz Phair
  • Where Next Columbus? - Crass
  • Hit - Discount
  • Coatrack - Kill The Man Who Questions
  • Reject All American - Bikini Kill
  • Geld / Big Brother - Scrotum Grinder
#!/usr/bin/env bash
# This is my setup for Vim. This will install the janus set of plugins
# as well as create my specific vim customizations
# Ensure required packages are installed.
REQUIRED_PACKAGES="bash vim git curl"
for package in $REQUIRED_PACKAGES
do
command -v $package >/dev/null && continue || { echo "Package: $package is required, please install it"; exit 1; }
#!/usr/bin/env bash
function aliasestext()
{
cat<<EOF
alias gplom="git pull origin master"
alias gpsom="git push origin master"
alias gcow='git checkout work'
alias gcom='git checkout master'
alias gmw='git merge work'