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
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 / 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 / maps-offline.md
Last active March 6, 2016 12:10
Best option for creating lists/maps of places for travel?

Must-haves

  • load offline
  • map marker
  • marker name
  • current location

Would-be-nice-if

  • customize marker by type (ie: food, coffee, retail)
  • could share easily
  • could callaborate easily
@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 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 / 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
Last active January 4, 2016 17:49
Using (gem) t to get DMs when your server goes down.

On your server, if you need to, isntall ruby1.9.1-dev:

apt-get install ruby1.9.1-dev

Then install t:

gem install t

Follow along @sferik's great readme on t to get keys from Twitter and authorize t.

@jlord
jlord / sheetsee.md
Last active April 17, 2016 14:04
Sheetsee 3 To-do List

I'm getting closer (or so it seems) to the next Sheetsee update. I'm excited about it! It will change a lot and take care of a lot of stuff I've been wanting to do for a while.

It will: allow you to paginate your tables, use polygons, lines and multipolygons in your maps (and color them!), be modularlized so, if and only if you want, you can just build the parts of Sheetsee that you want to (ie: a version with just tables and maps).

I've got the modules in their own cozy repositories on GitHub and am working on the modules branch of jlord/sheetsee.js, which will remain the main repository with all documentation and the full version of sheetsee for users who don't wish to build a custom one.

Here is my to-do list, mostly for me because I wrote it on paper and then lost it, but also for you, if you're interested:

  • Finish new documentation
  • About
@jlord
jlord / index.html
Last active December 22, 2015 02:08
Parsing tweet mentions and links from Spreadsheet data (which is via Sheetsee.js and IFTTT.com) * Sorry about the crazy indents, I couldn't get Gists to do them correctly. Who makes this thing even!?
<!-- a placeholder in the body of your page -->
<div id="twitterTweet"></div>
<!-- a template before /body closes -->
<script id="twitterTweet" type="text/html">
<table>
{{#rows}}
<tr><td>{{date}}</td></tr>
@jlord
jlord / areadme.md
Last active December 15, 2015 03:09
CSS Typing Animation

CSS Typing Animation

A CSS typing animation, inpsired by Lea's, but the "cursor" is relative to the type so that you aren't limited to just monospace typeface, and this does not require background/span color matching so are free to use any background you want.

Here is the codepen.

woo!

@jllord