I hereby claim:
- I am elim on github.
- I am elim (https://keybase.io/elim) on keybase.
- I have a public key ASCoj2lsGhjV4lg6Z0x6OA_ad6AfCZH31BrloQSLIARrVgo
To claim this, I am signing this object:
require 'bundler' | |
require 'yaml' | |
class SiderRuboCopConfigUpdater | |
IGNORE_GEM_NAME_RE = /rubocop-(?:ast|portal)/.freeze | |
def initialize(lock_fname: 'Gemfile.lock', | |
sider_fname: 'sider.yml') | |
@lock_fname = lock_fname |
I hereby claim:
To claim this, I am signing this object:
dummy |
名前
#!/opt/local/bin/ruby1.9 | |
# -*- coding: utf-8 -*- | |
# based upon | |
# http://d.hatena.ne.jp/omochist/20060906/1157532315 | |
require 'action_mailer' | |
require 'logger' | |
logger = Logger.new(STDERR) |
#!/usr/bin/env ruby | |
# -*- mode: ruby; coding: utf-8-unix; indent-tabs-mode: nil -*- | |
# | |
# Author:: Takeru Naito (mailto:takeru.naito@gmail.com) | |
# Copyright:: Copyright (c) 2009 Takeru Naito | |
# License:: Distributes under the same terms as Ruby | |
# | |
# | |
require 'logger' |
--- anything-config.el.orig 2009-10-09 07:14:33.000000000 +0900 | |
+++ anything-config.el 2009-10-09 07:17:32.000000000 +0900 | |
@@ -1611,10 +1611,11 @@ | |
;; W3m bookmark | |
-(eval-when-compile (require 'w3m-bookmark nil t)) | |
-(unless (and (require 'w3m nil t) | |
- (require 'w3m-bookmark nil t)) | |
- (defvar w3m-bookmark-file "~/.w3m/bookmark.html")) |
%w[abc abc foo def foo ghi].inject(Hash.new(0)){|s, v|s[v] += 1;s}.tap{|h| p h.select{|k,v| v == h.values.max}} | |
p((1..100).map{|i|(("%s%s"%[(i%3==0?"Fizz":""),(i%5==0?"Buzz":"")]).match(/.+/)||[i])[0]}) |
#!/usr/bin/env ruby | |
for n in 1..30 | |
if 0 == n % 15 | |
p "fizzbuzz" | |
elsif 0 == n % 5 | |
p "buzz" | |
elsif 0 == n % 3 | |
p "fizz" | |
else |