Skip to content

Instantly share code, notes, and snippets.

View zimmertr's full-sized avatar

TJ Zimmerman zimmertr

  • Issaquah, Washington
View GitHub Profile
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule
@adilbaig
adilbaig / setup-rabbitmq-cluster.sh
Created January 3, 2015 16:15
A complete bash script to setup a RabbitMQ cluster from scratch. Takes user-defined servers at run time.
#!/bin/bash
set -e
# This script is part of my blog post :
# http://thoughtsimproved.wordpress.com/2015/01/03/tech-recipe-setup-a-rabbitmq-cluster-on-ubuntu/
# It sets up a RabbitMQ cluster by connecting to user-provided master and slave servers
# and ringing them up to a cluster on the fly.
# RabbitMQ Clustering is described in detail here :
@mike-hearn
mike-hearn / Vagrantfile
Created July 2, 2016 16:02
Multi-machine Vagrant config with private networking
# -*- mode: ruby -*-
# vi: set ft=ruby :
boxes = [
{
:name => "server1",
:eth1 => "192.168.205.10",
:mem => "1024",
:cpu => "1"
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active March 22, 2024 23:37
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@svmotha
svmotha / Sublime Text 3 Build 3103 License Key - CRACK
Created February 12, 2017 09:07
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@DanTheMan827
DanTheMan827 / guide.md
Created October 9, 2017 17:22
[NOT NOOB FRIENDLY] How to dual-boot the NES Classic and SNES Classic systems on your new SNESC

This guide was originally posted by /r/TeamZebra but has since been deleted.

The original post was located at https://www.reddit.com/r/miniSNESmods/comments/74trqo/not_noob_friendly_how_to_dualboot_the_nes_classic/


So I've been tinkering for the last day or two and I've finally gotten my SNES Classic to be a "dual-boot" sort of system, housing both the SNES Classic and NES Classic menus/ROMsets. This guide will walk you through being able to do the same, and at the end, you will have the official NES Classic emulator, ROMs, menu, screen filters, etc. loaded onto your SNES Classic. There will be a menu item in your SNES Classic called "Switch to NES Classic", and there will be a similar one to switch back to SNESC in the NESC menu. Both systems have full menu support, save state support, etc.

NOTE: This guide is NOT for the faint of heart / non-technical, and you will need to be able to use a hex editor, be comfortable with FTP, and know how to revert your console back to stock if you mess e

@thisisrachelramos
thisisrachelramos / 00_README
Last active April 6, 2021 08:33 — forked from dogeared/00_README
Extracting / Exporting custom emoji from Slack
This builds off the excellent work of @lmarkus.
The scripts below can be used in conjunction with the Neutral Face Emoji Tools Google Chrome extension to (bulk!)
export emojis from one Slack team and import into another team:
https://chrome.google.com/webstore/detail/neutral-face-emoji-tools/anchoacphlfbdomdlomnbbfhcmcdmjej
Original work here: https://gist.github.com/lmarkus/8722f56baf8c47045621
Steps:
1) Run js in dev tools
@aelk00
aelk00 / remove-likes.md
Last active March 1, 2024 00:58
Remove all your facebook likes