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:
first name | last name | age | |
---|---|---|---|
Stephen | Sugden | 31 | |
Tom | Reznik | 29 | |
Justin | Thomas | 30 |
/* http://twitter.github.com/bootstrap/scaffolding.html#responsive */ | |
/* Landscape phones and down */ | |
@media (max-width: 480px) { ... } | |
/* Landscape phone to portrait tablet */ | |
@media (max-width: 768px) { ... } | |
/* Portrait tablet to landscape and desktop */ | |
@media (min-width: 768px) and (max-width: 940px) { ... } |
#put into the padrino boot.rb file before Padrino.load! | |
module Padrino | |
module Admin | |
module AccessControl | |
class Base | |
## | |
# Return an array of project_modules | |
# | |
def project_modules(account) | |
roles = account.roles if account.roles.kind_of?(Array) rescue [] |
virtualenv --no-site-packages . | |
source bin/activate | |
bin/pip install Django psycopg2 django-sentry | |
bin/pip freeze > requirements.txt | |
bin/django-admin.py startproject mysite | |
cat >.gitignore <<EOF | |
bin/ | |
include/ | |
lib/ | |
EOF |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Tweets</title> | |
</head> | |
<body> | |
<h1>My Tweets</h1> | |
<pop:twitter:timeline screen_name="webpop" wrap="ul" break="li"> | |
<a href="http://twitter.com/#!/MadinSpain/status/<pop:id_str />"><pop:text /></a> | |
</pop:twitter:timeline> |
#!/usr/bin/env ruby | |
# Pow Port | |
# | |
# Quickly and easily change the port that Pow is running on. This allows | |
# you too run Apache and Pow side-by-side (on different ports of course). | |
# | |
# WARNING: This will OVERWRITE your ~/.powconfig file. If you have custom | |
# configurations in there, please back it up first. | |
# |