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:
require 'sinatra' | |
require 'net/https' | |
client_id = '2044a7773387915a7a2a' | |
client_secret = 'secret' | |
get '/' do | |
html = <<-EOS | |
<html> | |
<head> |
# -*- coding: utf-8 -*- | |
require 'shellwords' | |
require 'nokogiri' | |
require 'open-uri' | |
def main | |
unicode, font_path, file = ARGV | |
info = info(unicode) | |
abort unless info.name |
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
# A list of available STUN server. | |
stun.l.google.com:19302 | |
stun1.l.google.com:19302 | |
stun2.l.google.com:19302 | |
stun3.l.google.com:19302 | |
stun4.l.google.com:19302 | |
stun01.sipphone.com | |
stun.ekiga.net |
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger ([email protected]) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
# -*- ruby -*- | |
require 'spotlight' | |
require 'optparse' | |
predicates = ['(true)'] | |
usedate = false | |
usesize = false |
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'mechanize' | |
require 'twitter' | |
Twitter.configure do |config| | |
config.consumer_key = ENV['TWITTER_CONSUMER_KEY'] | |
config.consumer_secret = ENV['TWITTER_CONSUMER_SECRET'] | |
config.oauth_token = ENV['TWITTER_OAUTH_TOKEN'] |
Work in progress, I'll write this up properly when I'm done.
Almost all credit goes to @maxogden for putting me on to this and pointing me in the right direction for each of these items.
Prerequisites:
メモ | |
全体的なこと | |
- 想定してるRubyとかRailsのバージョンが古いので何とかしたい。 | |
- 個人的に改造してる人がそれなりにいるので、その辺まとめたい。 | |
- github/livedoor もあるんだけど、そこにadmin権限持ってるユーザー好き勝手追加は怖いので別で + コミュニティ主導でやりたい | |
- html/js/css も割と古くなってしまっているので、そのへんも何とかしたい。 | |
---- | |
オープンソースに拘るのは保険的な意味合いもあるのだけど、 | |
サービス型のRSSリーダーで出来無いことがそれなりにあるというのが大きい。 |