I suspect that some trig calculations could make this very general.
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html
This document lays out some baseline expectations between conference speakers and conference presenters. The general goal is to maximize the value the conference provides to its attendees and community and to let speakers know what they might reasonably expect from a conference.
We believe that all speakers should reasonably expect these things, not just speakers who are known to draw large crowds, because no one is a rockstar but more people should have the chance to be one. We believe that conferences are better -- and, dare we say, more diverse -- when the people speaking are not just the people who can afford to get themselves there, either because their company paid or they foot the bill themselves. Basically, this isn't a rock show rider, it's some ideas that should help get the voices of lesser known folks heard.
These expectations should serve as a starting point for discussion between speaker and organizer. They are not a list of demands; they are a list of rea
<script> | |
$(window).resize(function() { | |
var windowWidth = $(window).width(); | |
var bodyFontSize = $('body').css('font-size'); | |
var bodyFontSizeWithoutPx = parseInt(bodyFontSize); | |
var emValue = windowWidth/bodyFontSizeWithoutPx; | |
$('.screen-width').text(emValue + 'em'); | |
}); | |
</script> |
// demo of using greatest-common-denominator function to chain extensions of classes | |
// meant for grid width classes; would normally be done with placeholder selectors | |
@function gcd($n,$d) { | |
$num: if($n < $d,$d,$n); | |
$denom: if($n < $d,$n,$d); | |
$rem: $num; | |
$last_rem: $num; | |
@while $rem != 0 { | |
$last_rem: $rem; |