Skip to content

Instantly share code, notes, and snippets.

View jlord's full-sized avatar
๐Ÿ˜ท
Long Covid recovery

Jessica Lord jlord

๐Ÿ˜ท
Long Covid recovery
View GitHub Profile
@philhawksworth
philhawksworth / conference-mc-tips.md
Last active August 23, 2025 10:46
Conference MC-ing tips

๐Ÿ‘€๐Ÿ“Ž It looks like you're preparing to MC a conference...

๐Ÿšจ GIANT DISCLAIMER: This stuff is far from authoritative. But it's what I think works for me, and what I enjoy in an MC when I'm attending a conference.


Biggest tip - enjoy yourself.

@mafintosh
mafintosh / c_ish.cc
Created November 28, 2017 18:47
Write native modules like you write C
#include <nan.h>
using namespace v8;
typedef struct {
int result;
int prev;
} fibo_t;
# to test run eval "$(curl https://gist.githubusercontent.com/mafintosh/8b420dd5273a137cd6fe/raw/7cd9c707f71b171ef4b9f986c67132978e59da5e/emoji-ps1.sh -sL)"
PS1_EMOJIS=("๐Ÿ˜€" "๐Ÿ˜ฌ" "๐Ÿ˜" "๐Ÿ˜‚" "๐Ÿ˜ƒ" "๐Ÿ˜„" "๐Ÿ˜…" "๐Ÿ˜†" "๐Ÿ˜‡" "๐Ÿ˜‰" "๐Ÿ˜Š" "๐Ÿ™‚" "๐Ÿ™ƒ" "โ˜บ๏ธ" "๐Ÿ˜‹" "๐Ÿ˜Œ" "๐Ÿ˜" "๐Ÿ˜˜" "๐Ÿ˜—" "๐Ÿ˜™" "๐Ÿ˜š" "๐Ÿ˜œ" "๐Ÿ˜" "๐Ÿ˜›" "๐Ÿค‘" "๐Ÿค“" "๐Ÿ˜Ž" "๐Ÿค—" "๐Ÿ˜" "๐Ÿ˜ถ" "๐Ÿ˜‘" "๐Ÿ™„" "๐Ÿค”" "๐Ÿ˜ณ" "๐Ÿ˜ž" "๐Ÿ˜Ÿ" "๐Ÿ˜ " "๐Ÿ˜”" "๐Ÿ˜•" "๐Ÿ™" "๐Ÿ˜ฃ" "๐Ÿ˜–" "๐Ÿ˜ฉ" "๐Ÿ˜ค" "๐Ÿ˜ฎ" "๐Ÿ˜ฑ" "๐Ÿ˜จ" "๐Ÿ˜ฐ" "๐Ÿ˜ฏ" "๐Ÿ˜ฆ" "๐Ÿ˜ง" "๐Ÿ˜ข" "๐Ÿ˜ฅ" "๐Ÿ˜ช" "๐Ÿ˜“" "๐Ÿ˜ญ" "๐Ÿ˜ฒ" "๐Ÿค" "๐Ÿ˜ท" "๐Ÿ˜ด" "๐Ÿ’ฉ" "๐Ÿ˜บ" "๐Ÿ˜ธ" "๐Ÿ˜น" "๐Ÿ˜ป" "๐Ÿ˜ผ" "๐Ÿ˜ฝ" "๐Ÿ™€" "๐Ÿ˜ฟ" "๐Ÿ˜พ" "๐Ÿ‘" "๐Ÿ‘‹" "๐Ÿ‘‚" "๐Ÿ‘" "๐Ÿ’‹" "๐Ÿ•ถ" "๐Ÿถ" "๐Ÿฑ" "๐Ÿญ" "๐Ÿน" "๐Ÿฐ" "๐Ÿป" "๐Ÿผ" "๐Ÿจ" "๐Ÿฏ" "๐Ÿฆ" "๐Ÿฎ" "๐Ÿท" "๐Ÿฝ" "๐Ÿธ" "๐Ÿ™" "๐Ÿต" "๐Ÿ™ˆ" "๐Ÿ™‰" "๐Ÿ™Š" "๐Ÿ’" "๐Ÿ”" "๐Ÿง" "๐Ÿฆ" "๐Ÿค" "๐Ÿฃ" "๐Ÿฅ" "๐Ÿบ" "๐Ÿ—" "๐Ÿด" "๐Ÿฆ„" "๐Ÿ" "๐Ÿ›" "๐ŸŒ" "๐Ÿž" "๐Ÿœ" "๐Ÿ•ท" "๐Ÿฆ‚" "๐Ÿฆ€" "๐Ÿ" "๐Ÿข" "๐Ÿ " "๐ŸŸ" "๐Ÿก" "๐Ÿฌ" "๐Ÿณ" "๐Ÿ‹" "๐ŸŠ" "๐Ÿ†" "๐Ÿ…" "๐Ÿƒ" "๐Ÿ‚" "๐Ÿ„" "๐Ÿช" "๐Ÿซ" "๐Ÿ˜" "๐Ÿ" "๐Ÿ" "๐Ÿ‘" "๐ŸŽ" "๐Ÿ–" "๐Ÿ€" "๐Ÿ" "๐Ÿ“" "๐Ÿฆƒ" "๐Ÿ•Š" "๐Ÿ•" "๐Ÿฉ" "๐Ÿˆ" "๐Ÿ‡" "๐Ÿฟ" "๐Ÿพ" "๐Ÿ‰" "๐Ÿฒ" "๐Ÿ•ธ" "๐Ÿค" "๐Ÿ‡")
_p1_emoji () {
printf "${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} "
}
export PS1="$PS1\$(_p1_emoji)"
@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
@airportyh
airportyh / jsconf_slides_codes_and_notes.md
Last active June 19, 2017 20:51
JSConf 2014 Slides, Codes and Notes.

JSConf Slides, Codes and Notes

These are all the JSConf 2014 slides, codes, and notes I was able to cull together from twitter. Thanks to the speakers who posted them and thanks to @chantastic for posting his wonderful notes.

Modular frontend with NPM - Jake Verbaten (@Raynos)

@max-mapper
max-mapper / readme.md
Created June 1, 2014 22:10
offline-issues bulk shell script

bulk offline issue cloner:

first, in a new folder create a folder for each user you want, and a sub folder inside each users folder for each of their repos that you want to clone the issues from

e.g.

mkdir issues
cd issues
mkdir -p maxogden/dat
@shama
shama / favorite_module_pattern.js
Last active August 29, 2015 13:57
My favorite node.js module pattern
function Animal(name) {
if (!(this instanceof Animal)) return new Animal(name);
this.name = name || 'unknown';
}
module.exports = Animal;
Animal.prototype.feed = function(food) {
food = food || 'food';
return 'Fed ' + this.name + ' some ' + food;
};
@mbostock
mbostock / .block
Last active March 23, 2018 08:45
Dynamic Hexbin
license: gpl-3.0
@davatron5000
davatron5000 / Sublime Text Setup.md
Last active April 15, 2023 15:39
A new user's guide to SublimeText 2. Estimated reading time: 2 mins. Estimated workthrough time: 12 minutes.

Make it useful

  • Install Package Control. For SublimeText 2, paste the following in Terminal:
import urllib2,os; pf='Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( ))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 'http://sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please restart Sublime Text to finish installation')

From here on out, use Package Control to install everything. โŒ˜+Shift+P, then type Install to get a list of installable packages you can 'livesearch through. After installing plugins, they should be running.

@max-mapper
max-mapper / readme.md
Last active May 28, 2021 17:35
list of things that are like tacos