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:
| yum install postgis geos proj --enablerepo=epel | |
| yum install postgresql postgresql-server --disablerepo=updates --disablerepo=base | |
| ============================================== |
| Steps: | |
| Set up EBS | |
| 21Created 1 TB EBS | |
| Created 64 Bit Amazon Linux AMI 2012.09 M1 Medium 3.7 gb ram, 2 ECUs | |
| Connect to ec2 instance via ssh | |
| chmod 400 IFS-KeyPair.pem | |
| ssh -v -i IFS-KeyPair.pem ec2-user@ec2-54-234-14-65.compute-1.amazonaws.com | |
| Note: Do not replace ec2-user with your user id. This is a AWS Amazon AMI requirement. |
| #import <Foundation/Foundation.h> | |
| @interface MyCalendar : NSObject | |
| + (void)requestAccess:(void (^)(BOOL granted, NSError *error))success; | |
| + (BOOL)addEventAt:(NSDate*)eventDate withTitle:(NSString*)title inLocation:(NSString*)location; | |
| @end |
Generate the list yourself:
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./* | \
sed 's/NS_AVAILABLE_IOS(.*)//g' | \
sed 's/NS_DEPRECATED_IOS(.*)//g' | \
sed 's/API_AVAILABLE(.*)//g' | \
sed 's/API_UNAVAILABLE(.*)//g' | \
sed 's/UI_APPEARANCE_SELECTOR//g' | \
| # encoding: utf-8 | |
| Country.delete_all | |
| ActiveRecord::Base.connection.reset_pk_sequence!('countries') | |
| Country.create(:id=>1,:iso=>"AD",:name=>"Andorra") | |
| Country.create(:id=>2,:iso=>"AE",:name=>"United Arab Emirates") | |
| Country.create(:id=>3,:iso=>"AF",:name=>"Afghanistan") | |
| Country.create(:id=>4,:iso=>"AG",:name=>"Antigua and Barbuda") | |
| Country.create(:id=>5,:iso=>"AI",:name=>"Anguilla") | |
| Country.create(:id=>6,:iso=>"AL",:name=>"Albania") | |
| Country.create(:id=>7,:iso=>"AM",:name=>"Armenia") |
| -- phpMyAdmin SQL Dump | |
| -- version 3.5.2 | |
| -- http://www.phpmyadmin.net | |
| -- | |
| -- Servidor: localhost | |
| -- Tiempo de generación: 22-03-2013 a las 22:35:42 | |
| -- Versión del servidor: 5.1.49-3 | |
| -- Versión de PHP: 5.3.3-7+squeeze8 | |
| SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
Recently, a somewhat large selection of my timeline was shocked by the discovery that it's simple to make a fake-looking tweet on the web. Some feared it would be only a matter of time before some news organization is suckered by a fake tweet that seems to come from a real source.
Luckily, the solution already exists, and it's something you already use constantly: GNU PrivacyGuard signatures Here is an approach for verifying a tweet is authentic and hasn't been tampered with that is so simple even @KimKardashian could figure it out. To get started, we just need to do a little setup first:
| # !/bin/bash | |
| # Copyright (c) 2011 Float Mobile Learning | |
| # http://www.floatlearning.com/ | |
| # Extension Copyright (c) 2013 Weptun Gmbh | |
| # http://www.weptun.de | |
| # | |
| # Extended by Ronan O Ciosoig January 2012 | |
| # | |
| # Extended by Patrick Blitz, April 2013 |
| # If you meet install errors, see abid-hussain's comment | |
| sudo apt-get --force-yes install build-essential openssl libreadline6 libreadline6-dev curl git-core \ | |
| zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \ | |
| libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison | |
| && | |
| \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled |