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/ruby | |
# | |
# Eye-fi receiver | |
# -- An imcomplete implementation of Gallery Remote Protocol Server | |
# by SHIDARA Yoji <[email protected]> | |
# | |
# see http://codex.gallery2.org/Gallery_Remote:Protocol | |
# | |
require 'fileutils' | |
require 'sinatra' |
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 | |
# Dynamic DNS updater by Andruby for Zerigo | |
# www.andrewsblog.org | |
ApiKey = 'myzerigoapikey' # your Zerigo API key | |
Host = 'test.example.com' # the host you want to dynamically update | |
User = '[email protected]' # your Zerigo username | |
NameServer = 'a.ns.zerigo.net' # Zerigo nameserver to query | |
LastIpTmpFile = '/tmp/dyn_update_last_ip' # a temporary file where we store the last ip adress |
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
# NOTE: | |
# This version is out-of-date. | |
# Please access http://github.com/maraigue/devnull for the versions under development. | |
# Ruby implementation of null file (like /dev/null on Un*x, NUL on Windows) | |
# (C) 2010- H.Hiro(Maraigue) [email protected] | |
# | |
# DevNull works like an IO object. For example: | |
# dn = DevNull.new | |
# dn.puts "foo" # => nil (do nothing) |
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
#include <msgpack.hpp> | |
#include <tr1/memory> | |
#include <iostream> | |
class dynamic { | |
public: | |
typedef std::tr1::shared_ptr<msgpack::zone> shared_zone; | |
dynamic() { } |
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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
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
#include <msgpack.hpp> | |
#include <vector> | |
#include <map> | |
#include <iostream> | |
#include <cstdio> | |
typedef enum { | |
CIRCLE = 0, | |
SQUARE = 1, | |
TRIANGLE = 2 |
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
README.html |
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 'git-status) | |
;;psvn.el http://www.xsteve.at/prg/emacs/psvn.el からの移植 | |
(eval-when-compile (require 'cl)) | |
(require 'vc-git) | |
(add-to-list 'vc-handled-backends 'Git) | |
(defvar git-status-state-mark-modeline t | |
"modeline mark display or not") |
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
#compdef up | |
segments=$(perl -le '$p=$ENV{PWD};$p =~ tr/\// /; print $p') | |
_arguments "1:first:($segments)" |
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
[OptimizeGoogle] | |
http://itpro.nikkeibp.co.jp/word/* | |
http://*.ceron.jp/* | |
http://ceron.jp/* | |
http://tweetbuzz.jp/* | |
/http:\/\/(\w+\.)*buzzurl\.jp//i | |
http://wadaino.jp/* | |
http://eimg.jp/* | |
http://*.eimg.jp/* | |
http://d.hatena.ne.jp/keyword/* |
OlderNewer