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
(in-package #:cl-user) | |
(defpackage #:beer | |
(:use #:common-lisp) | |
(:export #:verse #:sing)) | |
(in-package #:beer) | |
;; [*endpoint-min*, *endpoint-max*] in notations for intervals. | |
(defparameter *endpoint-max* 99) | |
(defparameter *endpoint-min* 0) |
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 | |
# | |
# AtCoder の環境では '--disable-gems' で Ruby が起動 | |
def at_coder? | |
not defined? Gem | |
end | |
# ローカルでは MiniTest でテストが走るようにする |
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 | |
# | |
# AtCoder の環境では '--disable-gems' | |
def at_coder? | |
not defined? Gem | |
end | |
# AtCoder では MiniTest が消されている |
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
remote: | |
remote: ======================================================================== | |
remote: | |
remote: We are currently deploying GitLab EE 10.3.0-rc5. | |
remote: For status updates, please follow https://twitter.com/GitLabStatus | |
remote: | |
remote: ======================================================================== | |
remote: |
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
if [ -f "$HOME/.zshrc.oh-my-zsh" ]; then | |
DISABLE_AUTO_UPDATE="true" | |
. "$HOME/.zshrc.oh-my-zsh" | |
fi |
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
takano32/public_html/tips/Ruby/mod.dir | |
takano32/public_html/tips/Ruby/hoge.rb | |
takano32/public_html/tips/Ruby/mod.pag | |
takano32/public_html/tips/Ruby/aftp.rb | |
takano32/public_html/tips/Ruby/count_thread.rb | |
takano32/public_html/tips/Ruby/here.rb | |
takano32/public_html/tips/Ruby/mod.db | |
takano32/public_html/tips/Ruby/times.rb | |
takano32/public_html/tips/Ruby/mtime.rb | |
takano32/public_html/tips/Ruby/ipconfig.rb |
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
config/nim.cfg(42, 3) Hint: added path: '/Users/takano32/.nimble/pkgs/nimlz4-0.1.0' [Path] | |
config/nim.cfg(42, 3) Hint: added path: '/Users/takano32/.nimble/pkgs/nimsnappy-0.1.0' [Path] | |
config/nim.cfg(42, 3) Hint: added path: '/Users/takano32/.nimble/pkgs/' [Path] | |
config/nim.cfg(44, 5) Hint: added path: '/opt/nimble/pkgs/' [Path] | |
Hint: used config file '/usr/local/Cellar/nim/0.15.2/nim/config/nim.cfg' [Conf] | |
Hint: used config file '/Users/takano32/GitHub/spry/src/nim.cfg' [Conf] | |
Hint: used config file 'ide.nim.cfg' [Conf] | |
Hint: system [Processing] | |
Hint: ide [Processing] | |
Hint: spryvm [Processing] |
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
require 'mechanize' | |
require 'hpricot' | |
require 'uri' | |
class HeyKoike | |
Mechanize.html_parser = Hpricot | |
URI = URI.parse(%q!http://kamome.2ch.net/test/read.cgi/art/1308547784/!) | |
def initialize | |
@agent = Mechanize.new | |
@agent.user_agent_alias = 'Mac Safari' |
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
Homebrew build logs for emacs on Mac OS X 10.11.6 | |
Build date: 2016-07-19 16:23:06 |
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 | |
# http://riverplus.net/39/ | |
# https://twitter.com/riverplus/status/754322322220158977 | |
# | |
class Factorial | |
@@f = 1 | |
@@now = 0 |