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 Twitter search(ja) result on Google | |
// @namespace http://efcl.info/ | |
// @include http://www.google.*/search?* | |
// ==/UserScript== | |
// | |
// original Twitter Search Results on Google for Greasemonkey [ http://userscripts.org/scripts/show/43451 ] | |
// | |
// Released under the MIT license | |
// modified by |
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
#!ruby -Ku | |
# Digitally Imported radio playlist getter | |
require 'rubygems' | |
#require 'faster_require' | |
require 'mechanize' | |
require 'json' | |
require 'open-uri' | |
require 'pp' |
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
#!ruby -Ku | |
# gameboynize test script | |
# | |
# Original author: http://twitter.com/toby_net | |
# | |
# License: WTFPL - Do What The Fuck You Want To Public License Version 2 | |
# official: http://sam.zoy.org/wtfpl/ | |
# eng: http://en.wikipedia.org/wiki/WTFPL | |
# jpn: http://ja.wikipedia.org/wiki/WTFPL |
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
# -*- encoding: utf-8 -*- | |
# $ cat spec/spec.opts | |
# --require ~/lib/supermario_progress_bar_formatter.rb | |
# --format Spec::Runner::Formatter::SuperMarioProgressBarFormatter | |
require 'spec/runner/formatter/base_text_formatter' | |
require 'spec/runner/formatter/no_op_method_missing' | |
module Spec::Runner::Formatter |
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
--- eval.c.orig 2009-12-21 17:11:42.000000000 +0900 | |
+++ eval.c 2009-12-24 19:18:21.671875000 +0900 | |
@@ -210,3 +210,3 @@ | |
# ifdef __CYGWIN__ | |
-int _setjmp(), _longjmp(); | |
+int _setjmp(); void _longjmp(); | |
# endif | |
--- gc.c.orig 2009-12-24 17:28:08.000000000 +0900 | |
+++ gc.c 2009-12-24 19:18:17.875000000 +0900 | |
@@ -42,3 +42,3 @@ |
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
#!/bin/bash | |
# | |
# Install virtualbox: | |
# - http://www.virtualbox.org/wiki/Downloads | |
# - Download iso: http://releases.ubuntu.com/10.10/ | |
# - Create a new virtualbox using the iso as the install media | |
# - Change network adapter to bridged | |
# - Use ifconfig to get ip address | |
# | |
# Once you have a clean install of ubuntu... |
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 'webrick' | |
require 'webrick/httpproxy' | |
require 'RMagick' | |
pixelize_rate = 8.0 | |
handler = Proc.new() { |req,res| | |
if (res['content-type'] =~ /png/) |
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 'webrick' | |
require 'webrick/httpproxy' | |
require 'RMagick' | |
# curl -o files/oquno-c.png http://si1.twimg.com/profile_images/96741059/oquno-c.png | |
handler = Proc.new() { |req,res| | |
if res['content-type'] =~ /png/ |
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 'webrick' | |
require 'webrick/httpproxy' | |
require 'RMagick' | |
# curl -o files/hanamasa.png http://w.ikenie.com/hanamasa/hanamasa.png | |
handler = Proc.new() { |req,res| | |
if res['content-type'] =~ /png/ |
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
#!/bin/zsh | |
echo 'screen から起動されているかチェック' | |
echo 'screenから起動したshellから起動してください' | |
echo '結論としては、$STYをチェックするのが良さそうです' | |
echo | |
function check_screen() { | |
echo '## TERMをチェック' | |
# .screenrcで | |
# term xterm-256color |