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:
| This playbook has been removed as it is now very outdated. |
| /** | |
| * HTTP Status Codes | |
| * Copyright (c) 2012, marlun78 | |
| * MIT License, https://gist.github.com/marlun78/bd0800cf5e8053ba9f83 | |
| * | |
| * Taken from: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes | |
| * Visual Studio find regex: ^(\d{3}) ([^\r\n]+)\r\n | |
| * Visual Studio replace regex: '$1': '$2', // | |
| * Notes wrapped in parens moved manually | |
| */ |
| # This is a short collection of tools that are useful for managing your | |
| # known_hosts file. In this case, I'm using the '-f' flag to specify the | |
| # global known_hosts file because I'll be adding many deploy users on this | |
| # system. Simply omit the -f flag to operate on ~/.ssh/known_hosts | |
| # Add entry for host | |
| ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts | |
| # Scan known hosts | |
| ssh-keygen -f /etc/ssh/ssh_known_hosts -F github.com |
| require 'rubygems' | |
| require 'nokogiri' | |
| require 'open-uri' | |
| @xml = Nokogiri open 'http://vault.centos.org/5.6/os/x86_64/repodata/comps.xml' | |
| def printGroups(default = true) | |
| puts "=== #{'Non' unless default}Default Groups ===" | |
| @xml.xpath("//default[text()='#{default}']/..").each_with_index do |group, ix| | |
| puts "#{ix + 1}.) #{group.at_xpath('name').text}" |