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
# -- coding: utf-8 | |
require "rubygems" | |
require "pry" | |
@inventory = [] | |
class Gacha | |
def initialize | |
ascii = ("\x20".."\x7e").to_a |
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
# -- coding: utf-8 | |
require "rubygems" | |
require "grill" | |
Grill.implant <<-G | |
source :rubygems | |
gem "masque" | |
gem "nokogiri" |
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 | |
# based on | |
# http://askubuntu.com/questions/112432/chromium-19-for-ubuntu | |
# http://paste.ubuntu.com/1110824/ | |
set -u | |
set -e | |
notify() { |
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 _submit = HTMLFormElement.prototype.submit; | |
HTMLFormElement.prototype.submit = function() { | |
var uri = document.createElement('a'); | |
uri.href = this.action; | |
if(uri.host == location.host) { | |
_submit.call(this); | |
return ; | |
} | |
if(confirm('will submit to ' + uri.href + ', acceptable?')) { | |
_submit.call(this); |
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
tes |
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
# -- coding: utf-8 | |
require "rubygems" | |
require "grill" | |
Grill.implant <<-GEM | |
source :rubygems | |
gem 'capybara', :require => ["capybara", "capybara/dsl"] | |
gem "capybara-webkit" | |
gem "headless" |
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
# http://r7kamura.hatenablog.com/entry/2012/09/02/185129 | |
# https://gist.github.com/3595761 | |
# https://gist.github.com/3595759 | |
require "spec_helper" | |
describe Avalon::Validator do | |
let(:validator) do | |
proc do |arg| |
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 avoid awesome selection | |
// @namespace http://uu59.org/ | |
// @version 1.0.0 | |
// @include * | |
// ==/UserScript== | |
// tested on http://www.vimninjas.com//2012/08/28/vim-for-rubyists-part-1/ | |
function addStyle(css) { |
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
vendor/ | |
.bundle/ | |
node_modules/ | |
Gemfile.lock |
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
{ | |
"manifest_version": 2, | |
"name": "techcrunch", | |
"version": "1.1.1", | |
"description": "説明", | |
"icons": | |
{ | |
}, | |
"content_scripts": [ | |
{ |