Skip to content

Instantly share code, notes, and snippets.

View jonsatrom's full-sized avatar

Jon Satrom jonsatrom

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jonsatrom on github.
  • I am jonsatrom (https://keybase.io/jonsatrom) on keybase.
  • I have a public key whose fingerprint is 1071 8F0D 27E6 7F39 6D55 984A 5923 F7C1 8CDD 7501

To claim this, I am signing this object:

0:00:01.319,0:00:03.919
As an artist
0:00:03.919,0:00:07.060
I think that
0:00:07.060,0:00:11.250
access to your own imagination,
0:00:11.250,0:00:15.759
<ul class='col' id='support-awardees'>
{% for awardee in artists %}
{% ifchanged awardee.get_year %}
<li class='divider'><h2 class='support-awardee-year'>{{ awardee.get_year }}</h2></li>
{% endifchanged %}
<li class='awardee-pic'>
<div class='awardee-title'>
{{ awardee.name }}{% if awardee.title %}, <span style='font-style:italic'>{{ awardee.title }}</span>{% endif %}
{% if awardee.subhead %}<BR> {{ awardee.subhead }}{% endif %}
@jonsatrom
jonsatrom / designer.html
Last active August 29, 2015 14:10
designer
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
@jonsatrom
jonsatrom / gist:e9c98ec3e7d2e282f145
Created November 9, 2014 19:16
Fun way to open Calculator
tell application "Finder"
activate
open application file "Calculator.app" of folder "Applications" of startup disk
end tell
tell application "System Events"
repeat
set rand1 to (random number from 10 to 1500) as string
set rand2 to (random number from 10 to 1500) as string
# set rand3 to (random number from 0.5 to 1.0E-3)
set position of window of application process "Calculator" to {rand1, rand2}
@jonsatrom
jonsatrom / gist:e1bd86fc832f5d9e18cc
Created November 9, 2014 19:06
Make Calculator move across the screen
tell application "System Events"
repeat with theIncrementValue from 1 to 1500
set position of window of application process "Calculator" to {theIncrementValue, 100}
end repeat
end tell
@jonsatrom
jonsatrom / DWIMG
Created July 24, 2014 15:18
Dreamweaver's way of preloading images
<script>
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
- - - - - - - - - - - - - - - - - - - - - - -
<body onload="MM_preloadImages('amazing_cat_photo.jpg')">