Keybase proof
I hereby claim:
- I am alykat on github.
- I am alykat (https://keybase.io/alykat) on keybase.
- I have a public key whose fingerprint is 1F37 2C61 4F2B 48EB C59C 3CF4 6328 DBDE 3BB8 9EE5
To claim this, I am signing this object:
tell application "iTerm" | |
tell current window | |
tell current session | |
-- dailygraphics-next tool pane | |
set name to "dailygraphics-next" | |
set webserver to (split vertically with default profile) | |
-- CHANGE path to your needs | |
write text "cd ~/src/dailygraphics-templates/" | |
write text "git pull" | |
-- CHANGE path to your needs |
tell application "iTerm" | |
activate | |
tell the current terminal | |
activate current session | |
-- launch dailygraphics tab | |
launch session "Default Session" | |
tell the last session | |
set name to "dailygraphics" |
/* | |
* Wrap a block of text to a given width | |
* via http://bl.ocks.org/mbostock/7555321 | |
*/ | |
var wrapText = function(texts, width, lineHeight) { | |
texts.each(function() { | |
var text = d3.select(this); | |
var words = text.text().split(/\s+/).reverse(); | |
var word = null; |
@-webkit-keyframes filmstrip { | |
0% {background-position:0 -0%;-webkit-animation-timing-function:steps(1);} | |
4% {background-position:0 -100%;-webkit-animation-timing-function:steps(1);} | |
8% {background-position:0 -200%;-webkit-animation-timing-function:steps(1);} | |
... |
function setup_css_animations() { | |
var prefixes = [ '-webkit-', '-moz-', '-o-', '' ]; | |
var keyframes = ''; | |
var filmstrip_steps = 25; | |
... | |
for (var i = 0; i < prefixes.length; i++) { | |
... | |
var filmstrip = ''; | |
for (var f = 0; f < filmstrip_steps; f++) { | |
var current_pct = f * (100/filmstrip_steps); |
... | |
var $filmstrip_cotton = $('#boxes').find('.filmstrip-wrapper'); | |
var $filmstrip_cotton_wrapper = $('#boxes').find('.filmstrip-outer-wrapper'); | |
... | |
var filmstrip_cotton_aspect_width = 720; | |
var filmstrip_cotton_aspect_height = 528; | |
... | |
function size_filmstrip() { | |
var filmstrip_cotton_width = $filmstrip_cotton_wrapper.width(); | |
var filmstrip_cotton_height = Math.ceil((filmstrip_cotton_width * filmstrip_cotton_aspect_height) / filmstrip_cotton_aspect_width); |
.filmstrip-outer-wrapper { | |
width: 100%; | |
margin-bottom: 1em; | |
.filmstrip-wrapper { | |
width: 720px; | |
height: 528px; | |
} | |
.filmstrip { |
<div class="filmstrip-outer-wrapper"> | |
<div class="filmstrip-wrapper"> | |
<div class="filmstrip animated"></div> | |
</div> | |
</div> |
tell application "iTerm" | |
activate | |
set projectSlug to the text returned of (display dialog "Which project?" default answer "") | |
tell the current terminal | |
activate current session | |
launch session "Default Session" |
I hereby claim:
To claim this, I am signing this object: