GifVJ
これがクールだったのでどうにかこれを JavaScript で作れないか頑張ってみた(頑張ってる途中)
Burrn!
ランダムで GIF アニメを全画面表示
Enter で再生/停止
source 'http://rubygems.org' | |
gem 'guard' | |
gem 'guard-less' | |
gem 'guard-coffeescript' |
# -*- coding: utf-8 -*- | |
class GIF | |
class ImplementationError < StandardError | |
end | |
def self.parse(arg) | |
if arg.is_a? File | |
new(arg).parse | |
elsif File.exists?(arg) |
module CoffeeInitializer | |
def self.registered(app) | |
app.use Rack::Coffee, | |
:root => Padrino.root('/app'), | |
:urls => '/javascripts', | |
:nowrap => true | |
# :root: the directory above urls. Defaults to Dir.pwd. | |
# :urls: the directories in which to look for coffeescripts. May specify a string or an array of strings. Defaults to /javascripts. | |
# :static: Whether to serve any static assets found in your urls (via Rack::File). Defaults to true; Specify false to pass through to your app. | |
# :cache: Sets a Cache-Control header if truthy, public if set to :public |
iPod に入ってる音楽飽きてきた感あってネットラジオから適当に流してること多い
そろそろ音源買い漁りたい
,, -―-、 | |
/ ヽ | |
/ ̄ ̄/ /i⌒ヽ、| クケェーッ!!!! | |
/ (゜)/ / / | |
/ ト、.,../ ,ー-、 | |
=彳 \\‘゚。、` ヽ。、o | |
/ \\゚。、。、o | |
/ /⌒ ヽ ヽU o | |
/ │ `ヽU ∴l | |
│ │ U :l |
// javascript:$(%27.tweet%27).each(function()%20{var%20tweet%20=%20$(this),%20html%20=%20tweet.html();html%20=%20html.replace(/((?:RT|QT):?%20<a[^>]+>@[\w]+<\/a>.*)$/,%20%27<span%20class=%22c13%22>$1</span>%27);tweet.html(html);}); | |
$('.tweet').each(function() { | |
var tweet = $(this), html = tweet.html(); | |
html = html.replace(/((?:RT|QT):? <a[^>]+>@[\w]+<\/a>.*)$/, '<span class="c13">$1</span>'); | |
tweet.html(html); | |
}); |
いかにしておっぱい画像をダウンロードするか〜2012 - ゆーすけべー日記
これを Ruby でそのまま実装してみた
git clone git://gist.github.com/1937292.git oppai # この Gist をコピー
cd oppai
bundle install # Bundler で依存ライブラリをインストール