Skip to content

Instantly share code, notes, and snippets.

View don-smith's full-sized avatar
🧘

Don Smith don-smith

🧘
  • HYPR
  • Auckland, NZ
View GitHub Profile
@gardner
gardner / vagrant_2_usb.sh
Last active April 5, 2016 02:07
Turn VirtualBox disk into a bootable usb
cd ~/.vagrant.d/boxes/eda-VAGRANTSLASH-phase-zero/1.0.0/virtualbox
VBoxManage clonehd box-disk1.vmdk eda.img --format RAW
diskutil list
# USB_BLOCK_DEVICE=/dev/rdisk2
diskutil unmountDisk $USB_BLOCK_DEVICE
sudo dd if=eda.img of=$USB_BLOCK_DEVICE bs=16m
@joshuavial
joshuavial / gist:adcf177b9e99c60d30e3
Last active November 25, 2015 01:15
Remote Job Boards
http://www.workingnomads.co/
http://www.reddit.com/r/remotejs/
https://www.reddit.com/r/Jobs4Bitcoins/
https://jobs.github.com/positions?description=&location=remote
https://authenticjobs.com/#types=7,1,3,5&category=2&onlyremote=1
https://authenticjobs.com/#types=7,1,3,5&category=4&onlyremote=1
https://remotecoder.io/
https://weworkremotely.com/
https://remoteok.io/
http://careers.stackoverflow.com/jobs?allowsremote=true
@learncodeacademy
learncodeacademy / generators.md
Last active January 7, 2024 11:58
What are Javascript Generators?

##what are generators##

  • They're pausable functions, pausable iterable functions, to be more precise
  • They're defined with the *
  • every time you yield a value, the function pauses until .next(modifiedYieldValue) is called
var myGen = function*() {
  var one = yield 1;
  var two = yield 2;
  var three = yield 3;
 console.log(one, two, three);
@staltz
staltz / introrx.md
Last active July 22, 2024 09:31
The introduction to Reactive Programming you've been missing
@wm
wm / Powerline.md
Last active September 6, 2022 00:55
Installing powerline on Mac OSX. The following was done in version Version 10.8.2

Install dependencies

brew install cmake
brew install python
sudo easy_install pip

Add powerline bin to your path. In your zshrc file (or the paths files sourced in zshrc) add the following line

PATH="/usr/local/share/python/:$PATH"

Reinstall MacVim with brew

@daveray
daveray / seesaw-repl-tutorial.clj
Created December 7, 2011 04:55
Seesaw REPL Tutorial
; A REPL-based, annotated Seesaw tutorial
; Please visit https://github.com/daveray/seesaw for more info
;
; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers
; Seesaw's basic features and philosophy, but only scratches the surface
; of what's available. It only assumes knowledge of Clojure. No Swing or
; Java experience is needed.
;
; This material was first presented in a talk at @CraftsmanGuild in
; Ann Arbor, MI.
@rndmcnlly
rndmcnlly / Dac.java
Created April 23, 2010 00:40
DSP Engine from Ethereal Dialpad
package as.adamsmith.etherealdialpad.dsp;
import android.media.AudioFormat;
import android.media.AudioManager;
import android.media.AudioTrack;
public class Dac extends UGen {
private final float[] localBuffer;
private boolean isClean;