This file contains hidden or 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
box: wercker/rvm | |
build: | |
steps: | |
- script: | |
name: install ruby | |
code: | | |
rvm get latest | |
rvm reload | |
rvm install ruby-2.2.2 |
This file contains hidden or 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 Shinsei Power Direct AutoFill | |
// @namespace http://milk1000.cc | |
// @include https://*.shinseibank.*/FLEXCUBEAt/LiveConnect.dll* | |
// @version 0.1.1 | |
// @license MIT License | |
// @work Greasemonkey | |
// @work GreaseKit | |
// @work Google Chrome | |
// @inspired https://github.com/yoko/userscripts/blob/master/shinsei_power_direct_autofill.user.js |
This file contains hidden or 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
do shell script "echo '1 ポモドーロの仕事をしました。' | /usr/local/bin/dayone new" |
This file contains hidden or 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
unless File.exist?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle' | |
end |
This file contains hidden or 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
unless File.exist?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle' | |
end |
This file contains hidden or 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
NoMethodError: undefined method `compact' for nil:NilClass | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:153:in `block in build_query' | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:152:in `each' | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:152:in `build_query' | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:121:in `query' | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:117:in `find_templates' | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:46:in `block in find_all' | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:75:in `cached' | |
[GEM_ROOT]/gems/actionpack-3.2.0/lib/action_view/template/resolver.rb:45:in `find_all' |
This file contains hidden or 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
# usage: | |
# ruby replace_img_to_image_tag_helper.rb [REPLACED_FILE] | |
require 'nokogiri' | |
xhtml = true | |
content = open(ARGV[0]) { |f| f.read }.gsub(/\r\n?/, "\n").gsub("\t", ' ') | |
doc = Nokogiri::HTML(content) |
This file contains hidden or 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
ja: | |
errors: | |
messages: | |
not_found: "は見つかりませんでした" | |
# not_found: "not found" | |
already_confirmed: "は既に登録済みです" | |
# already_confirmed: "was already confirmed" | |
not_locked: "は凍結されていません" | |
# not_locked: "was not locked" |
This file contains hidden or 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
Index: iTermApplication.m | |
=================================================================== | |
--- iTermApplication.m (revision 404) | |
+++ iTermApplication.m (working copy) | |
@@ -62,6 +62,11 @@ | |
PTYTabView* tabView = [currentTerminal tabView]; | |
PTYSession* currentSession = [currentTerminal currentSession]; | |
NSResponder *responder; | |
+ unsigned short keyCode = [event keyCode]; | |
+ unsigned int modifierFlags = [event modifierFlags]; |
This file contains hidden or 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 AutoMujiSort | |
// @namespace http://www.milk1000.cc/ | |
// @include http://www.muji.net/store/cmdty/section/* | |
// ==/UserScript== | |
(function() { | |
var OLD_PATTERN = { sort: 4, count: 12 }; | |
var NEW_PATTERN = { sort: 0, count: 150 }; |