Skip to content

Instantly share code, notes, and snippets.

{
"title": "What is Pressure?",
"publicationStatus": "public",
"subtitle": "Explore how gas exerts pressure on the sides of a container.",
"about": "[\"Gases have no definite shape or volume. When they are constrained to a container, we can measure the pressure they exert on the container walls.\", \"The model shows the inside (yellow atoms) and outside (pink atoms) of a balloon. The green barrier represents the wall of the balloon.\", \"Add atoms to the balloon (the number of atoms in the balloon is shown on the slider). What happens to the balloon wall when atoms are added?\"]",
"components": [
{
"type": "checkbox",
"id": "show-velocity",
"text": "Show Velocity",
@knowuh
knowuh / gist:1119780
Created August 2, 2011 08:00 — forked from technicalpickles/gist:1119603
rsync an iTunes Library to a new computer like a boss

Motivation

Shiny new MacBook Air, and I wanted to do this install from scratch (no TimeMachine recovery), but still get the good stuff from my old laptop. Also, rsync is awesome.

Prepare old computer

On old computer, from iTunes: File -> Library -> Organize Library and check Consolidate files.

#!/usr/bin/env ruby
#
# timesheet.rb <month to display>
#
# Displays a list of the subject lines for all commits by an author
# in one month. Defaults to the current month. You can specify a
# different month in many different ways.
#
# timesheet.rb last month
# timesheet.rb 1 => last January