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
autocmd FileType unite call s:unite_my_settings() | |
function! s:unite_my_settings()"{{{ | |
nmap <buffer> <Tab> <Plug>(unite_choose_action)<Plug>(unite_insert_enter) | |
imap <buffer> <Tab> <Plug>(unite_choose_action)<Plug>(unite_insert_enter) | |
endfunction"}}} | |
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
nnoremap <expr> [unite]S ':<C-u>Unite file file/new -input=' . 'spec/'. expand('%:h'). '/'. substitute(expand('%:t'), ".rb", "_spec.rb", "") . '<CR>' |
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
// for slides.com slide presentation | |
jQuery(window).mousedown(function(e){ | |
if ( jQuery(e.target).hasClass("navigate-left") || jQuery(e.target).hasClass("navigate-right") ) { | |
return; | |
} | |
e.preventDefault(); | |
if(e.button == 2){ | |
Reveal.left(); | |
}else { | |
Reveal.right(); |
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
## copy from https://registry.hub.docker.com/u/colinrymer/docker-datomic-free/ and change a little. | |
# Datomic Free v0.9.5130 | |
# | |
# It's public image to run datomic database on docker container. | |
FROM dockerfile/java | |
MAINTAINER Timo Sulg, timo@tauho.com | |
#-- INSTALL PREREQURIEMENTS |
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
var casper = require('casper').create({ | |
clientScripts:['jquery.min.js'], | |
}); | |
phantom.injectJs('jquery.min.js'); | |
casper.start('http://mixi.jp/', function() { | |
this.fill('form[name="login_form"]', { | |
email: '', | |
password: '' | |
}, true); |
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
var casper = require('casper').create({ | |
clientScripts:['jquery.min.js'], | |
}); | |
phantom.injectJs('jquery.min.js'); | |
casper.start('http://mixi.jp/', function() { | |
this.fill('form[name="login_form"]', { | |
email: '', | |
password: '' | |
}, true); |
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
class Pry | |
class Command::MySQLQueryCommand < Pry::ClassCommand | |
match(/m\s+(.*)/) | |
description "execute mysql command line" | |
banner <<-'BANNER' | |
Usage: m SQLCOMMAND | |
ex) m select * from users; | |
BANNER | |
@@config = YAML.load_file("config/database.yml") |
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 unity_reference_switch | |
// @namespace unity_reference_switch | |
// @include http://docs.unity3d.com/Documentation/ScriptReference/*.html | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
var selectLanguage = "C#"; |
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
--color | |
--format documentation | |
--require spec_helper |
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
--color | |
--format documentation | |
--require spec_helper |
OlderNewer