- 豚: 400g
- 玉ねぎ: 一個
- みりん: お玉一杯
- 日本酒: お玉一杯
- 醤油: お玉一杯
- 杏じゃむ(アプリコット): お玉一杯
- にんにくみじん切り: 一欠片
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 zsh | |
eval "$(rbenv init - zsh)" | |
istart() { | |
echo "Starting Google IME Server for SKK..." | |
nohup rbenv exec google-ime-skk -p 5511 -h '0.0.0.0' &> /tmp/GOOGLE_IME_LOG & | |
ps aux | fgrep google-ime-skk | fgrep -v grep | awk '{print $2}' > /tmp/GOOGLE_IME_PID | |
} |
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
[14] pry(main)> 1.0.step(2, 0.1).to_a | |
=> [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7000000000000002, 1.8, 1.9, 2.0] |
I hereby claim:
- I am sachin21 on github.
- I am sachin21 (https://keybase.io/sachin21) on keybase.
- I have a public key ASBITpm71lF-8pxvZC_845E5bUu4fM93cs4LyX88UATJKAo
To claim this, I am signing this object:
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 'singleton' | |
class FizzBuzzSolver | |
include Singleton | |
FIZZ = 3 | |
BUZZ = 5 | |
def run(numbers) | |
answer = solve(numbers) |
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 'benchmark/ips' | |
require 'faker' | |
require 'ffaker' | |
Benchmark.ips do |x| | |
x.report('faker') { Faker::Name.name } | |
x.report('ffaker') { FFaker::Name.name } | |
x.compare! |
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
/home/sachin21dev/.rbenv/versions/2.3.1/lib/ruby/2.3.0/psych.rb:471:in `initialize': No such file or directory @ rb_sysopen - /home/sachin21dev/Projects/github.com/mikutter/mikutter/vendor/bundle/ruby/2.3.0/gems/twitter-text-1.14.3/lib/assets/tld_lib.yml (Errno::ENOENT) | |
from /home/sachin21dev/.rbenv/versions/2.3.1/lib/ruby/2.3.0/psych.rb:471:in `open' | |
from /home/sachin21dev/.rbenv/versions/2.3.1/lib/ruby/2.3.0/psych.rb:471:in `load_file' | |
from /home/sachin21dev/Projects/github.com/mikutter/mikutter/vendor/bundle/ruby/2.3.0/gems/twitter-text-1.14.3/lib/twitter-text/regex.rb:29:in `<class:Regex>' | |
from /home/sachin21dev/Projects/github.com/mikutter/mikutter/vendor/bundle/ruby/2.3.0/gems/twitter-text-1.14.3/lib/twitter-text/regex.rb:8:in `<module:Twitter>' | |
from /home/sachin21dev/Projects/github.com/mikutter/mikutter/vendor/bundle/ruby/2.3.0/gems/twitter-text-1.14.3/lib/twitter-text/regex.rb:3:in `<top (required)>' | |
from /home/sachin21dev/Projects/github.com/mikutter/m |
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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 15, | |
// font family with optional fallbacks | |
fontFamily: 'ricty', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.75)', |
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
Plugin.create :laco do | |
command(:laco, | |
name: 'らこらこらこ〜w', | |
condition: lambda{ |opt| true }, | |
visible: true, | |
role: :timeline) do |opt| | |
Service.primary.update(message: "らこらこらこ〜w") | |
end | |
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
#!/usr/bin/env zsh | |
eval "$(rbenv init - zsh)" | |
export MIKUTTER=$HOME/Projects/github.com/mikutter/mikutter | |
mstart() { | |
echo "Starting mikutter..." | |
ruby $MIKUTTER/mikutter.rb &> /tmp/MIKU_LOG & | |
ps aux | fgrep mikutter.rb | fgrep -v grep | awk '{print $2}' > /tmp/MIKU_PID |
NewerOlder