Skip to content

Instantly share code, notes, and snippets.

View Invoke
// The progress bar in article titles.
// Only do this on article pages.
if($('#page').hasClass('article')){
$('#title-progress-bar-container').tnrProgressBar({ maxWidthElement: $('#main') });
// The sticky header progress bar.
if($(window).width() == $('#fixed-header').width()){ // iPhone mode is full width.
$('#fixed-header-progress-bar-container').tnrProgressBar({
maxWidthOffset: -3,
maxWidthElement: $(window)
});
@datagrok
datagrok / gist:2199506
Last active Sep 8, 2021
Virtualenv's `bin/activate` is Doing It Wrong
View gist:2199506
@fj
fj / gist:1065069
Last active Sep 26, 2015
First Wednesdays Charlottesville info
View gist:1065069