ActionController::Live::ResponseTest
PASS (0:00:05.412) test_cache_control_is_set
PASS (0:00:05.415) test_content_length_is_removed
PASS (0:00:05.417) test_header_merge
PASS (0:00:05.418) test_headers_cannot_be_written_after_close
PASS (0:00:05.418) test_headers_cannot_be_written_after_write
PASS (0:00:05.420) test_initialize_with_default_headers
PASS (0:00:05.423) test_parallel
PASS (0:00:05.425) test_setting_body_populates_buffer
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 'pit' | |
require 'octokit' | |
slug = ARGV[0] | |
unless slug | |
abort "Usage #{$0} slug" | |
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
basic_201310, 993485 | |
basic_201310, 328750 | |
basic_201310, 546413 | |
basic_201310, 704981 | |
basic_201310, 167810 | |
basic_201310, 303238 | |
basic_201310, 797833 | |
basic_201310, 121456 | |
basic_201310, 092737 | |
basic_201310, 490033 |
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 'pit' | |
require 'octokit' | |
org_name = ARGV[0] | |
unless org_name | |
abort "Usage #{$0} org_name" | |
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
// ==UserScript== | |
// @name Qiita::Team Expand | |
// @namespace http://github.com/banyan | |
// @description Qiita::Team のトップページの content を expand する | |
// @include https://*.qiita.com/* | |
// ==/UserScript== | |
//http://stackoverflow.com/questions/2246901/how-can-i-use-jquery-in-greasemonkey-scripts-in-google-chrome | |
var load,execute,loadAndExecute;load=function(a,b,c){var d;d=document.createElement("script"),d.setAttribute("src",a),b!=null&&d.addEventListener("load",b),c!=null&&d.addEventListener("error",c),document.body.appendChild(d);return d},execute=function(a){var b,c;typeof a=="function"?b="("+a+")();":b=a,c=document.createElement("script"),c.textContent=b,document.body.appendChild(c);return c},loadAndExecute=function(a,b){return load(a,function(){return execute(b)})}; |
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
Vagrant.configure("2") do |config| | |
config.vm.box = 'lxc-quantal64' | |
config.vm.hostname = 'rails-dev-box' | |
# config.vm.forward_port 3000, 3000 | |
config.vm.provision :puppet, | |
:manifests_path => 'puppet/manifests', | |
:module_path => 'puppet/modules' |
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
t est |
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 'fileutils' | |
path = "#{ENV['HOME']}/current/uploads" | |
if File.directory?(path) | |
FileUtils.mv(path, "#{path}.old") | |
elsif File.symlink?(path) | |
FileUtils.rm(path) | |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqIK7qU9ErLJHGpXFopgo4Seukmd8aFpbhIACS1GVKaeLok34mbxRnrD47QFvA2u0zLMCzvD28+HgN6p6R8CB0OZJFdOVpl0TpIl0+uyP+xqTio+56RX7X2KZ6NRmBT5YIcByyDbN1b7/Fn5bcBM7cve82bsmJAGtbAO+IXY2Ey+CtpzKEGlqvkfJ4hMuksFHEYHc4vUcYPhw5yEPON8c3Dsu3Ue44TB8yAYhh0pubFxhbylKzk+JlcRE2Oq83SaKBzX4jasr/TWqL00VPeYcdDz2NoYMxFWSSyCoS4OyB6qCjE3sx6K3DCZc/BUdEWwC+IsmfYTKu3lDJ4cD08rp8w== banyan@mac |
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
$ tree -L 1 | |
. | |
├── Gemfile | |
├── Gemfile.lock | |
├── README.rdoc | |
├── Rakefile | |
├── app | |
├── config | |
├── config.ru | |
├── db |