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
{
'variables': {
# Enalbe using proprietary codecs.
'proprietary_codecs': 1,
'ffmpeg_branding': 'Chrome',
# And the gold's flags are not available in system's ld neither.
'linux_use_gold_flags': 0,
# Make Linux build contain debug symbols, this flag will add '-g' to cflags.
'linux_dump_symbols': 1,
# The Linux build of libchromiumcontent.so depends on, but doesn't
@jlord
jlord / index.js
Last active August 29, 2015 14:21
var path = 'atom-electron-b4403fa/docs/api/accelerator.md'
// wanted: 'docs/latest/api/accelerator'
// - add 'latest/' after 'docs/'
// - remove 'atom-electron-b443fa'
// - remove file extension at the end
function constructRedirectUrl (path) {
var a = path.split('/')
a.splice(2, 0, 'latest').splice(0, 1)
var c = a.join('/')
@jlord
jlord / index.js
Last active August 29, 2015 14:17
Atom Shell menubar app with @maxogden's menubar module
var menubar = require('menubar')
var exec = require('child_process').exec
var fs = require('fs')
var mb = menubar()
mb.on('ready', function ready () {
console.log('Ready!')
fetchTimes()
})
@jlord
jlord / index.js
Created March 18, 2015 20:13 — forked from max-mapper/index.js
requirebin sketch
var d3 = require('d3')
var textures = require('textures').textures
var types = ["squares", "nylon", "waves", "woven", "caps", "crosses", "hexagons"]
var colors = ["peachpuff", "deepskyblue", "tomato", "aquamarine", "hotpink"]
setInterval(render, 500)
function render() {
var type = types.pop()
@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
@jlord
jlord / index.sh
Last active February 9, 2016 06:20 — forked from max-mapper/index.sh
imagemagick script: image background is a larger, blurred copy of itself.
for f in *.jpg; do
convert ./"$f" -gravity center -resize 1137 -extent 1137x640 -blur 0x4 ./finalcat/"new-$f"
convert ./finalcat/"new-$f" -page +248 ./"$f" -flatten ./finalcat/"new-$f"
done
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

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
@jlord
jlord / hi.md
Created November 23, 2014 00:06
sample

Hi, what a cool Gist!

@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",