Skip to content

Instantly share code, notes, and snippets.

@joshvc
joshvc / gist:1679069
Created January 25, 2012 22:01
Gemfile.lock re: refinerycms issue 1254
GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionmailer (3.0.11)
actionpack (= 3.0.11)
mail (~> 2.2.19)
actionpack (3.0.11)
activemodel (= 3.0.11)
activesupport (= 3.0.11)
@joshvc
joshvc / gist:3425078
Created August 22, 2012 12:29 — forked from renz45/gist:3424757
Complete exercises for a user
u = User.find(123)
# complete all exercises in level 1
Exercise.all.each {|e| u.user_exercises.find_or_create_by_exercise_id(e.id).complete! if e.lab_id < 2 }
@joshvc
joshvc / CSS for live.fiawec.com Timing Tweaks.md
Last active June 15, 2024 18:59
More cars, less wasted space on WEC Timing

FIA WEC Timing Screen Tweaks

This is my data maximization CSS for the Stylish Chrome extension. I'm using it to Airplay two browsers side-by-side to a 39" TV (see comment below), so your application may need some tweaks.

To use, install the extension then visit live.fiawec.com. Click the Stylish icon, and choose "Write style for live.fiawec.com/this_URL". Then paste in the your preferred version of the css in the edit window (see photos of the two versions in the comments below), press save, and the page will automaticaly refresh.

The biggest change can be made just with the font size. You'll want to adjust that based on your screen and viewing distance.

If things are too crowded, adjust the padding inside the #classement td. 5px looks better, but space is precious.