Skip to content

Instantly share code, notes, and snippets.

@neilrenicker
neilrenicker / gist:1e2cbe42a9089e87d1df568d4f16136d
Created March 19, 2018 13:41 — forked from jojoom/gist:2907289
Ryan Singer's Reading List
People often ask me for a reading list. Here are my most common recommendations.
STARTERS:
The Visual Display of Quantitative Information - Edward Tufte
http://www.amazon.com/Visual-Display-Quantitative-Information/dp/0961392142/ref=sr_1_1?ie=UTF8&qid=1327537840&sr=8-1
Hot Text: Web Writing that Works - Lisa and Jonathan Price
(Excellent before/after examples)
{
"female" : [
"Saanvi",
"Anya",
"Aadhya",
"Aaradhya",
"Ananya",
"Pari",
"Anika",
"Navya",
@neilrenicker
neilrenicker / magnets-how-do-they-work-transcript.md
Last active July 19, 2016 16:09
Transcript for MAGNETS: How Do They Work? by MinutePhysics on YouTube

video by MinutePhysics on YouTube
transcribed by Neil Renicker


If you take a piece of wood and put it next to another piece of wood, nothing happens. And if you take a pice of granite and put it next to another rock, still nothing. But if you take this piece of iron, and put it next to this other piece of iron, magic! I mean, magnet.

Magnetic objects are able to magically attract at long distances because they generate magnetic fields that extend invisibly out beyond the object. But the mystery is this: where do magnetic fields come from?

@neilrenicker
neilrenicker / fix-mac-external-display-camera.md
Last active July 12, 2016 15:01
Fix Mac missing external display camera

If the camera on an external display is not showing up in the list of avaiable camera inputs for the Mac, run this command in the terminal:

sudo killall VDCAssistant
@neilrenicker
neilrenicker / ffmpeg.md
Created July 12, 2016 13:56
How to convert an m4a file to an mp3 using ffmpeg

Convert an m4a file to an mp3 using ffmpeg

  • Install ffmpeg using homebrew:
brew install ffmpeg
  • convert the file:
@neilrenicker
neilrenicker / bablejs-repl-styles.css
Created April 22, 2016 22:44
babeljs.io/repl userstyles
.babel-repl-reporter {
background-color: #323330;
border-color: rgba(255, 255, 255, 0.2);
color: white;
font-weight: bold;
height: 20vh;
}

Merging Pull Requests

If possible, interactively rebase your feature branch against master before merging, and condense your work-in-progress commits to clean, single-purpose commits.

Prereq: install git-up

git up
git checkout 
@neilrenicker
neilrenicker / heroku-logs.sh
Created October 12, 2015 04:09
article: https://medium.com/p/c902269fd11e/ -- Automate Stuff With A Dead Simple Node Worker
$ heroku logs
@neilrenicker
neilrenicker / heroku-scale.sh
Created October 12, 2015 04:08
article: https://medium.com/p/c902269fd11e/ -- Automate Stuff With A Dead Simple Node Worker
$ heroku ps:scale web=0 worker=1
@neilrenicker
neilrenicker / deploy.sh
Created October 12, 2015 04:07
article: https://medium.com/p/c902269fd11e/ -- Automate Stuff With A Dead Simple Node Worker
$ cd ~/my-project
$ heroku create
$ git add .
$ git commit -m ‘initial commmit’
$ git push heroku master