This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Google Search Filter | |
// @description Selected web-sites aren't displayed from Google search result. | |
// @version 2.2.6 | |
// @author Shinya | |
// @namespace http://www.code-404.net/ | |
// @homepage http://userscripts.org/scripts/show/12643 | |
// @include http://www.google.*/search* | |
// @require http://gist.github.com/3242.txt | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Atomos Entry Management | |
// @namespace http://5ivestar.org/ | |
// @include http://localhost:9292/* | |
// @include http://localhost:9393/* | |
// ==/UserScript== | |
var username = 'admin'; | |
var password = 'password'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Atomos Entry Management | |
// @namespace http://5ivestar.org/ | |
// @include http://localhost:9292/* | |
// ==/UserScript== | |
var username = 'admin'; | |
var password = 'password'; | |
var style = document.createElement('style'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'mechanize' | |
require 'net/smtp' | |
require 'date' | |
require 'yaml' | |
require 'nkf' | |
FROM = '[email protected]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'twitter' | |
require 'yaml' | |
if ARGV.length != 1 | |
puts 'usage: ./tweet.rb Hello!' | |
exit | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ffi-ncurses' | |
class Tetris | |
Curses = FFI::NCurses | |
PIECES = [ | |
[ # O | |
[[-1, 0], [0, 0], [-1, 1], [0, 1]] | |
], | |
[ # I |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<!DOCTYPE signatures SYSTEM "file://localhost/System/Library/DTDs/BridgeSupport.dtd"> | |
<signatures version='1.0'> | |
<depends_on path='/System/Library/Frameworks/CoreFoundation.framework'/> | |
<depends_on path='/System/Library/Frameworks/SystemConfiguration.framework'/> | |
<depends_on path='/System/Library/Frameworks/Security.framework'/> | |
<cftype name='DCSDictionaryRef' type='^{__DCSDictionary=}'/> | |
<function name='DCSCopyTextDefinition'> | |
<arg type='^{__DCSDictionary=}'/> | |
<arg type='^{__CFString=}'/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
SOI = "\xff\xd8" | |
APP0 = "\xff\xe0" | |
DQT = "\xff\xdb" | |
DHT = "\xff\xc4" | |
SOF0 = "\xff\xc0" | |
SOS = "\xff\xda" | |
EOI = "\xff\xd9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open-uri' | |
require 'RMagick' | |
if ARGV.length != 2 | |
puts 'Usage: ./ame.rb latitude longtitude' | |
exit | |
end | |
url = 'http://tokyo-ame.jwa.or.jp/mesh/100/%s.gif' % | |
Time.at((Time.now - 30).to_i / 300 * 300).strftime('%Y%m%d%H%M') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'optparse' | |
require 'pathname' | |
require 'tmpdir' | |
libraries = %w|/Applications/Processing.app/Contents/Resources/Java/core.jar| | |
compiler = 'scalac' | |
OptionParser.new {|opt| | |
opt.on('-w', '--watch') { compiler = 'fsc' } |
OlderNewer