Skip to content

Instantly share code, notes, and snippets.

PortSystem 1.0
name uim
version 1.5.6
categories inputmethod uim
maintainers ssig33
description Multi Language Input Method
long_description \
MLIM. \
platforms darwin
@ssig33
ssig33 / oden.txt
Created December 13, 2009 23:21 — forked from fuba/oden.txt
2009/12/14
## レシピ
+ 水に昆布を入れて沸騰する直前で出す
+ 削り節を入れて沸騰させたら濾して鍋を変える(時間をかけたくない場合は、本だしかつをなどでもよし)
+ 酒、醤油、みりん、鷹の爪(これはお好み)少々で味を整える
+ 切った大根を鍋に入れ、1時間煮る
+ その間に卵をゆでる
+ こんにゃくをさっと下茹で
+ ゆで卵、こんにゃくを鍋に
+ 必要に応じて、つくね、牛すじ肉、がんもどきなどを入れる
require 'net/http'
@screen_name = ""
@password = ""
module Misuzilla::IronRuby
module TypableMap
include Misuzilla::Applications::TwitterIrcGateway::AddIns::TypableMap
@@commands = []
#!/usr/bin/env ruby
require "net/http"
system "rm chrome-mac.zip"
Net::HTTP.version_1_2
Net::HTTP.start('build.chromium.org', 80) do |http|
@response = http.get('/buildbot/snapshots/chromium-rel-mac/LATEST').body
end
#!/usr/bin/env ruby
require "uri"
require "net/http"
require "rubygems"
require "json"
USERNAME = ''
PASSWORD = ''
uri = URI.parse('http://stream.twitter.com/1/statuses/filter.json')
// ==UserScript==
// @name follow theDanielJRadcl
// @namespace @ssi33
// @description fuck
// @include http://twitter.com/*
// ==/UserScript==
document.getElementById('recommended_users').innerHTML= '<h2 class="sidebar-title"><a href="/invitations/twitter_suggests">view all</a><span>Who to follow</span></h2><div class="sidebar-menu"><ul><li class="user u-theDanielJRadcl" data="{&quot;feedback&quot;:&quot;1&quot;,&quot;id&quot;:7939382}"><div class="avatar"><span class="thumb vcard author"><a href="https://twitter.com/theDanielJRadcl" class="tweet-url profile-pic url"><img alt="hoge" class="photo fn" src="http://a1.twimg.com/profile_images/425217425/e5020b9b081a4e96_mini.jpg" width="24" height="24"></a></span></div><div class="bio"><a class="next-suggestion" title="Hide">×</a><p class="screen-name"><a href="https://twitter.com/theDanielJRadcl" hreflang="en" title="Daniel Radcliffe">theDanielJRadcl</a></p><p>Daniel Radcliffe</p><p class="follow-link"><a href="/following/create/42521742
class Nyaa
Nyaa_URL = "http://www.nyaatorrents.org/?page=torrents&catid=1&subcat=11"
def self.runner
agent = Mechanize.new
page = agent.get URI.parse Nyaa_URL
page.root.xpath("//tr[@class='tlistrow']").to_ary.each do |a|
url = a.children[3].children.first.attributes.to_hash["href"].to_s
title = a.children[1].children.first.attributes.to_hash["title"].to_s
begin
Entity.find "torrent/#{CGI.escape url}"
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document
url-prefix("http://twitter.com/harsch"),
url-prefix("http://twitter.com/gyuque"),
url-prefix("http://twitter.com/yawarakai")
{
body * {color: black !important;}
a {color: #00F !important;}
}
@ssig33
ssig33 / gist:589317
Created September 21, 2010 07:04 — forked from gyuque/gist:589313
・・・・・・・・
・・・・・・・・
・・・・・・・・
・・・◯●・・・
・・・●◯・・・
・・・・・・・・
・・・・・・・・
・・・・・・・・
@ssig33
ssig33 / gist:589318
Created September 21, 2010 07:04 — forked from gyuque/gist:589313
・・・・・・・・
・・・・・・・・
・・・・・・・・
・・・◯◯◯・・
・・・●◯・・・
・・・・・・・・
・・・・・・・・
・・・・・・・・