This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
Ort;Zusatz;Plz;Vorwahl;Bundesland | |
Aach;b Trier;54298;0651;Rheinland-Pfalz | |
Aach;, Hegau;78267;07774;Baden-Württemberg | |
Aachen;;52062;0241;Nordrhein-Westfalen | |
Aachen;;52064;0241;Nordrhein-Westfalen | |
Aachen;;52066;0241;Nordrhein-Westfalen | |
Aachen;;52068;0241;Nordrhein-Westfalen | |
Aachen;;52070;0241;Nordrhein-Westfalen | |
Aachen;;52072;0241;Nordrhein-Westfalen | |
Aachen;;52074;0241;Nordrhein-Westfalen |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
By default, Rails applications build URLs based on the primary key -- the id
column from the database. Imagine we have a Person
model and associated controller. We have a person record for Bob Martin
that has id
number 6
. The URL for his show page would be:
/people/6
But, for aesthetic or SEO purposes, we want Bob's name in the URL. The last segment, the 6
here, is called the "slug". Let's look at a few ways to implement better slugs.