Skip to content

Instantly share code, notes, and snippets.

View nathankleyn's full-sized avatar
👨‍💻
Creating!

Nathan Kleyn nathankleyn

👨‍💻
Creating!
View GitHub Profile
@nathankleyn
nathankleyn / GIF-Screencast-OSX.md
Created December 9, 2020 18:57 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@nathankleyn
nathankleyn / Slack_solarized_themes
Last active March 29, 2019 13:40 — forked from mgreensmith/Slack_solarized_themes
Solarized themes for Slack
Solarized
#FDF6E3,#EEE8D5,#93A1A1,#FDF6E3,#EEE8D5,#657B83,#2AA198,#DC322F
Solarized Dark
#073642,#002B36,#B58900,#FDF6E3,#CB4B16,#FDF6E3,#2AA198,#DC322F
@nathankleyn
nathankleyn / Unportify-v1.4.3.js
Created September 28, 2017 22:59 — forked from avillp/Unportify-v1.4.3.js
Unportify helps you export your Google Play Music playlists.
/*
Unportify is a script that exports your Google Play music to text.
Copyright (C) 2016 Arnau Villoslada
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@nathankleyn
nathankleyn / jsonview-solarized-light.css
Last active September 25, 2017 18:08 — forked from iansym/jsonview-solarized.css
A Solarized light version of the JSON View stylesheet by @iansym.
body {
background-color: #fdf6e3;
color: #657b83;
font-size: 16px;
white-space: pre;
font-family: "Source Code Pro", monospace;
}
.property {
font-weight: bold;
@nathankleyn
nathankleyn / ruby-events testing
Created April 30, 2013 09:38 — forked from mqu/ruby-events testing
Updating event fire method to fire event on the @piece. This Gist is for https://github.com/nathankleyn/ruby_events/issues/3.
#!/usr/bin/ruby
# coding: utf-8
# author : Marc Quinton, march 2013, licence : http://fr.wikipedia.org/wiki/WTFPL
libdir = 'lib'
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require 'pp'
/*
* Copyright (c) 2010 Tobias Schneider
* This script is freely distributable under the terms of the MIT license.
*/
(function(){
var UPC_SET = {
"3211": '0',
"2221": '1',
"2122": '2',
var subcats = cats[foo_barcat_id].subcats;
var subcatHash = $.extend({}, subcats);
$('tr[id^=all_fields_]').each(function() {
if($(this).id == 'all_fields_' + foo_barcat_id) {
$(this).hide();
} else {
$(this).show();
}
});