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:
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
# | |
# Current known FCC address ranges: | |
# https://news.ycombinator.com/item?id=7716915 | |
# | |
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
# | |
# In your nginx.conf: | |
location / { |
describe "mocked query of web service" do | |
it "should perform correct action on system data based on mocked response" do | |
RestClient = double | |
file = File.open('RELATIVE_FILE_PATH_HERE', 'r') #Relative to root of Rails app | |
data = file.read | |
file.close | |
response = double | |
response.stub(:code) { 200 } | |
response.stub(:body) { data } |
# located at #{Rails.root}/config/initializers/rails_admin.rb | |
# RailsAdmin config file. Generated on March 01, 2012 17:53 | |
# See github.com/sferik/rails_admin for more informations | |
RailsAdmin.config do |config| | |
config.current_user_method { current_user } # auto-generated | |
config.main_app_name = ['Timetracker', 'Admin'] | |
config.authorize_with do |
This gist assumes:
/* ATmega8 with internal 4Mhz clock (6cycle + 64ms) */ | |
#include <avr/io.h> | |
#include <avr/sleep.h> | |
#include <avr/interrupt.h> | |
#include <util/delay.h> | |
int main(void) | |
{ | |
DDRC |= (1 << PC2) | (1 << PC1); // leds for testing |