Skip to content

Instantly share code, notes, and snippets.

# color crashing effect
require 'aviglitch'
a = AviGlitch.open ARGV.shift
deltas = []
a.frames.each_with_index do |f, i|
deltas.push(i) if f.is_deltaframe?
end
q = a.frames[0, 5] # keep first frames.
// Adds the tombloo poster for delicious private posts.
models.register({
name : 'DeliciousPrivate',
ICON : ['data:image/png;base64,',
'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ',
'bWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZW',
'dpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG',
'1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwID',
'YxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cm',
'RmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZX',
[
{
name:"\u5DDD\u67F3",
updated_at:"2010-05-15T19:27:44+09:00",
resource_url:"http://wedata.net/items/32784",
created_by:"ucnv",
database_resource_url:"http://wedata.net/databases/Text%20Conversion%20Services",
data:{
action:"append",
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">9L30</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
<string key="IBDocument.AppKitVersion">949.54</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">9L30</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
<string key="IBDocument.AppKitVersion">949.54</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">9L30</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
<string key="IBDocument.AppKitVersion">949.54</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
require 'ubygems'
require 'pimento'
id = ARGV.shift
exit unless id =~ /^\d+$/
x = 50
c = Pimento::Canvas.new 0,0,x+id.size*x*2,x*4
c.step = 12
d = [
lambda {|i| c.line x+i*2*x,x,2*x+i*2*x,x },
// ==UserScript==
// @name Multiplex Tweet
// @namespace http://aspietribe.com/
// @include http://twitter.com/
// ==/UserScript==
var times = 5;
document.getElementById('tweeting_button').parentNode.addEventListener('click', function(e) {
post();
// ==UserScript==
// @name Kill Ustream Socialstream
// @namespace http://aspietribe.com/
// @include http://www.ustream.tv/channel/*
// ==/UserScript==
var $ = unsafeWindow.jQuery, f = ($('.socialstream iframe').length ? $('.socialstream iframe')[0] : $('#twitter iframe').length ? $('#twitter iframe')[0] : {});
f.src = '';
// ==UserScript==
// @name Twitter + Yahoo Placemaker
// @namespace http://aspietribe.com/
// @description Automatically adds a geo location to your tweet.
// @include http://twitter.com/
// ==/UserScript==
var appidE = 'your-appid-for-wherein.yahooapis.com';
document.getElementById('tweeting_button').parentNode.addEventListener('click', function(e) {