Skip to content

Instantly share code, notes, and snippets.

View MarceloAlves's full-sized avatar
🔥
Breaking things

Marcelo Alves MarceloAlves

🔥
Breaking things
View GitHub Profile
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 1, 2025 01:48
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@amscotti
amscotti / wowapi_auction.rb
Created April 1, 2012 20:01
Using Redis to sort World of Warcraft's Auction House data. bit.ly/Hyxkq9
require 'rubygems'
require 'open-uri'
require 'yajl'
require 'redis'
realm = "Lothar"
filePath = Yajl::Parser.parse(open("http://us.battle.net/api/wow/auction/data/#{realm}"))["files"].first['url']
puts filePath
redis = Redis.new
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@gvarela
gvarela / Gemfile
Created May 5, 2011 16:30
web sockets with eventmachine and redis pub/sub
# A sample Gemfile
source "http://rubygems.org"
gem "redis"
gem 'eventmachine', :git => 'git://github.com/eventmachine/eventmachine.git'
gem "em-hiredis"
# gem "em-synchrony"
gem "em-websocket"