Skip to content

Instantly share code, notes, and snippets.

🍢

Matt, Murahashi Kenichi sanemat

🍢
Block or report user

Report or block sanemat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 0-yet-another-rubygems-org.md

Easy to search rubygems, Easy to check readme, Easy to compare code

rubygems.org ruby-toolbox metacpan handcooler-search

RubyHandcooler

@sanemat
sanemat / update.md
Last active Aug 29, 2015
Update npms(like bundle update, carton update)
View update.md

Update npms

Follow these by google search

david update

npm update --save

@sanemat
sanemat / how-my-project-appears-on-the-ruby5.md
Last active Aug 29, 2015
How to picked up in the Ruby5
View how-my-project-appears-on-the-ruby5.md

How my project appears on the Ruby5 Podcast?

ruby5

Murahashi Sanemat Kenichi

at Oh My Glasses Inc.

@sanemat
sanemat / bundle-env.txt
Last active Aug 29, 2015
bundler error
View bundle-env.txt
# bundle env
Bundler 1.6.0
Ruby 2.1.1 (2014-02-24 patchlevel 76) [x86_64-linux]
Rubygems 2.2.2
GEM_HOME
Bundler settings
path
Set for your local app (/code/github.com/sanemat/snake.tachikoma.io/.bundle/config): "vendor/bundle"
disable_shared_gems
View normal_rails_app.txt
$ spring rake middleware
use Rack::Sendfile
use ActionDispatch::Static
use Rack::Lock
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007f98f114f1e0>
use Rack::Runtime
use Rack::MethodOverride
use ActionDispatch::RequestId
use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
View count-cpu.sh
# Count cpu for Ubuntu
# https://github.com/grosser/parallel/blob/806762374c950e3e908dfc3f3f0b37564705bcaa/lib/parallel.rb
cat /proc/cpuinfo | grep -E '^processor' | wc -l
@sanemat
sanemat / initial_value.rb
Created May 20, 2014
なぜかよくやる
View initial_value.rb
class Foo
def bar(baz: baz, qux: qux)
end
end
# ってよく書いてしまうのなんでなんだろう?
# だいたいより正しい意図としては2.1系ならこう書きたいときに上のように書いてしまう傾向がある
class Foo
def bar(baz:, qux:)
View gulp-mocha-with-power-assert.txt
$ gulp watch --require intelli-espower-loader
[gulp] Requiring external module intelli-espower-loader
[gulp] Using gulpfile ~/work/js-study/node-53cal-jp-scraper/gulpfile.js
[gulp] Starting 'watch'...
gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead.
[gulp] Starting 'lint'...
[gulp] Starting 'istanbul'...
[gulp] Finished 'watch' after 548 ms
[gulp] Finished 'lint' after 730 ms
View Gemfile
# A sample Gemfile
source 'https://rubygems.org'
gem 'rspec'
gem 'byebug'
You can’t perform that action at this time.