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:
| import os | |
| from urlparse import urlparse | |
| from flask import Flask | |
| from pymongo import MongoClient | |
| MONGO_URL = os.environ.get('MONGOHQ_URL') | |
| if MONGO_URL: | |
| # Get client | |
| client = MongoClient(MONGO_URL) |
| #!/bin/bash | |
| logo="$(tput setaf 2) | |
| .~~. .~~. | |
| '. \ ' ' / .'$(tput setaf 1) | |
| .~ .~~~..~. $(tput sgr0) _ _ $(tput setaf 1) | |
| : .~.'~'.~. : $(tput sgr0) ___ ___ ___ ___| |_ ___ ___ ___ _ _ ___|_|$(tput setaf 1) | |
| ~ ( ) ( ) ~ $(tput sgr0) | _| .'|_ -| . | . | -_| _| _| | | | . | |$(tput setaf 1) | |
| ( : '~'.~.'~' : ) $(tput sgr0) |_| |__,|___| _|___|___|_| |_| |_ | | _|_|$(tput setaf 1) | |
| ~ .~ ( ) ~. ~ $(tput sgr0) |_| |___| |_| $(tput setaf 1) |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| # Replace any brackets with real values | |
| # Try to ssh in to DREAMHOST (ensure it no longer asks for a PW); you may want to restart Terminal | |
| ssh [user]@[host] | |
| cd ~ | |
| mkdir [mydomain_com].git | |
| cd [mydomain_com].git | |
| git init --bare | |
| vi hooks/post-receive | |
| # Enter the code from the "post-receive" file (in this gist); save + quit |