Skip to content

Instantly share code, notes, and snippets.

@jsejcksn
jsejcksn / wav-to-caf.txt
Last active October 9, 2015 10:34
Convert to CAF from WAV
afconvert -f caff -d LEI16@44100 -c 1 in.wav out.caf
The -c 1 outputs one channel only. Omit that bit to retain original channels.

Sunday (Disc 1)

  1. Hey Mami • Sylvan Esso (from Sylvan Esso)
  2. Future People • Alabama Shakes (from Sound & Color)
  3. Don't Wait • Mapei (from Don't Wait - Single)
  4. All I Want • Dawn Golden (from Still Life)
  5. Dollar Sines • KRNE
  6. Beyond The Sea • Bobby Darin (from The Ultimate Bobby Darin)
  7. Chemical Reaction • Sucré (from A Minor Bird)
  8. Stampede • Sucré (from A Minor Bird)

Adult Jazz

Gist Is

  1. Hum
  2. Am Gone
  3. Springful
  4. Donne Tongue
  5. Pigeon Skulls
  6. Spook
  7. Idiot Mantra
@jsejcksn
jsejcksn / duplicate-volume.scpt
Last active September 20, 2015 05:15
AppleScript Snippets
(*
Tested on OS X 10.10
*)
tell application "Terminal"
activate
do script "rsync -aEh --delete --exclude=PATTERN --progress '/path/to/source' '/path/to/destination'"
end tell
@jsejcksn
jsejcksn / markdown-basics.md
Last active August 29, 2015 14:07
Markdown basics

#Markdown basics

The content in the grey blocks show the meaningful formatting that you'd use while writing your text content, and then below each block you can see what it would look like after being converted into HTML.

Table of Contents

Headers
Emphasis
Lists
Blockquotes

@jsejcksn
jsejcksn / gist.md
Last active August 29, 2015 14:06
Test Gist

Question
What happens if you turn off the ACE Editor while editing a Markdown file?

Answer
You lose line numbering and Indent mode.

  1. I really wish that the editor remembered my selected number of spaces for indents.
    Maybe it's because I didn't use any yet?
  2. That was it!
  3. No, that wasn't it. It's a localStorage variable.