Skip to content

Instantly share code, notes, and snippets.

View jlord's full-sized avatar
😃
Hello, hi!

Jessica Lord jlord

😃
Hello, hi!
View GitHub Profile
@jlord
jlord / index.js
Last active August 29, 2015 13:56
Turn Google Spreadsheet Data into GitHub Flavored Markdown Table
// It logs out the table data in GHfM format, you can just
// pipe it to `pbcopy` and then paste it in your markdown file
#!/usr/bin/env node
var request = require('request')
var URL = 'https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0Ao5u1U6KYND7dGN5QngweVJUWE16bTRob0d2a3dCbnc&single=true&gid=0&output=csv'
request( URL, function (error, response, body) {
if (error) console.log(error)
@jlord
jlord / readme.md
Created March 13, 2014 00:47
Getting `subl` for Sublime Text 2

Here's what I think I did, pulled out from all the non effective things I did.

$ ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
# had to change permissions on something 
$ chmod 700 /usr/local/bin/sublime
# or maybe it was
$ chmod 700 /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
# then changed the name of the shortcut to 'subl'
$ cd /
@jlord
jlord / quote.md
Created March 31, 2014 19:44
Attribution on blockquotes

The reason is that the adoption of any one innovation made adoption of certain others possible, which then, if useful, were more likely to spread. Bands and communities of bands with better combinations of cultural innovations became more productive and better equipped for competition and war. Wilson, Edward O. (2012-04-02). The Social Conquest of Earth (Kindle Locations 1496-1498). Norton. Kindle Edition

@jlord
jlord / readme.md
Created October 12, 2014 06:17
less commands

less commands

type capital G: go to end of file type small g: go to beginning of file type ?: enter reverse search type /: enter forward search

e.g.

g

@jlord
jlord / index.js
Created October 29, 2014 22:37
requirebin sketch
// example using the raf module from npm. try changing some values!
var requestAnimationFrame = require("raf")
var canvas = document.createElement("canvas")
canvas.width = 500
canvas.height = 500
document.body.appendChild(canvas)
var context = canvas.getContext("2d")
@jlord
jlord / index.js
Last active August 29, 2015 14:08 — forked from max-mapper/index.js
requirebin sketch
var langs = {
"ATS": {
"type": "programming",
"color": "#1ac620",
"lexer": "OCaml",
"aliases": [
"ats2"
],
"extensions": [
".dats",
@jlord
jlord / hi.md
Created November 23, 2014 00:06
sample

Hi, what a cool Gist!

December '14 / January '15

Su Mo Tu We Th Fr Sa
30 🌳 1 🌳 2 🌳 3 🌳 4 🌳 5 🌳 6 🌳
7 💛 8 💛 9 💛 10 💛 11:yellow_heart: 12 💛 13 💛
14 🌳 15 ✈️ 🍑 16 🍑 17 🍑 18 🍑 19 🍑 20 🍑
21 🍑 22 🍑 23 🍑 24 🎅 25 🎅 26 🍑 27 ✈️
28 ☔ 29 ☔ 30 ☔ 31 🎉 1 🎉 2 ☔ 3 ☔
4 ☔ 5 :umbrella
var doThis = require('file')
// I could also define callback here
// but I don't *have* to
exec('whatever', function(err, stdout, stdrr) {
doThis('file', callback)
})
// I can define callback here
@jlord
jlord / list.md
Last active August 29, 2015 14:16
RSS!

The three I'd take to a desert island with only enough bandwidth to load three sites a day:

  • Design, art & more: Miss Moss
  • Interiors, minimal & classic: Remodelista Great book also.
  • Food, seasonal, vegetarian: 101 Cookbooks She lives in SF, and I have two of her cookbooks and love them.

Graphic Design