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:
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
# | |
# These settings are REALLY sensitive! do you feel lucky?? | |
# Consult the documentation for etsy/statsd, but it doesn't have all the info. | |
# | |
# Notes: | |
# | |
# (a) When determining xFilesFactor, make sure the actual reporting rate would fill enough buckets, | |
# so that the downsampling won't result in null values. | |
# | |
# (b) Up to StatsD v0.5.0, counters are written in two places: |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# Copyright (C) 2004 Sam Hocevar <[email protected]> | |
# Everyone is permitted to copy and distribute verbatim or modified | |
# copies of this license document, and changing it is allowed as long | |
# as the name is changed. | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
#!/bin/sh | |
MYSQLDUMP=`which mysqldump` | |
HOST=$1 | |
DATABASE=$2 | |
USER=$3 | |
PASS=$4 | |
DATE=`date -u +"%Y%m%d_%H%M%Z"` |
# Place this command in your .bashrc (or whatever is appropriate for your shell of choice). | |
alias aws='client=$1 source ~/bin/aws.sh $client' |
# /etc/rabbitmq/rabbitmq.config | |
# | |
# Follow the instructions on RabbitMQ website to create certificate authority and certificates - | |
# | |
# http://www.rabbitmq.com/ssl.html | |
# | |
[ | |
{rabbit, [ | |
{tcp_listeners,[{"127.0.0.1",5672}]}, |
var NAVIBRIDGE = require('ti.navibridge'); | |
// ApplicationId must be set before adding POIs NaviBridge | |
// See the documentation for how to get an AppicationId | |
// NAVIBRIDGE.setApplicationId('<< YOUR APPLICATION ID HERE >>'); | |
var win = Ti.UI.createWindow({ title:"navibridge" }); | |
var openButton = Ti.UI.createButton({ top:5, title:'Open NaviBridge', height:40, width:200 }); | |
var installButton = Ti.UI.createButton({ top:50, title:'Install NaviBridge', height:40, width:200 }); |
function openView1(e) | |
{ | |
// $.view1 = Alloy.createController('view1'); // create controller | |
// $.rootwindow.add($.view1.getView()); // add View1 to Window | |
// VARS.GVUpdate("globalCurrentView", $.view1.getView()); // Update ref to view2 | |
var view1 = Alloy.createController('view1'); // create controller | |
$.rootwindow.add(view1.getView()); // add View1 to Window | |
VARS.GVUpdate("globalCurrentView", view1.getView()); // Update ref to view2 | |
} |
<?php | |
$currency_symbols = array( | |
'AED' => 'د.إ', // ? | |
'AFN' => 'Af', | |
'ALL' => 'Lek', | |
'AMD' => '', | |
'ANG' => 'ƒ', | |
'AOA' => 'Kz', // ? | |
'ARS' => '$', | |
'AUD' => '$', |