Skip to content

Instantly share code, notes, and snippets.

@yoshi44
yoshi44 / top10files_largest_number_of_file.sh
Created September 6, 2020 14:08
Top 10 files with the largest number of file lines under the current directory
```sh
wc -l `find . -name '*.*'` | sort --reverse | head -n 11
```
# 192.168.33.12 in Vagrantfile
config.vm.network "private_network", ip: "192.168.33.12"
# 23001 in Vagrantfile
config.vm.network "forwarded_port", guest: 3000, host: 23001
bundle exec rdebug-ide --host 192.168.33.12 --port 1234 --dispatcher-port 26162 -- bin/rails s -b 192.168.33.12 -p 23001
# RubyMine Debug Configurations
@yoshi44
yoshi44 / gist:34d160b6ae493e0a411041a63f116145
Created July 17, 2017 01:09
RubyMine Remote Debug Setting
# RubyMine
vim Gemfile
# =>
gem 'ruby-debug-ide'
gem 'debase'
# Remote host:
localhost
# Remote port:
1234
http://endok.hatenablog.com/entry/2015/03/15/001327
git config --global credential.helper osxkeychain
http://dackdive.hateblo.jp/entry/2015/10/12/210547
http://qiita.com/hnakamur/items/cb04882cc69f2d1a7367
<form name="myForm" ng-controller="MyCtrl">
<p>Favorite Beatle</p>
<ul>
<li ng-repeat="person in people">
<label>{{person.name}}
<input type="radio" ng-model="$parent.name" name="name" value="{{person.name}}" required />
</label>
</li>
</ul>
<p><tt>myForm.$invalid: {{myForm.$invalid}}</tt></p>
git config --global http.sslVerify false
http://qiita.com/suzutan/items/44bcf20df711675c525c
http://www.monotalk.xyz/blog/el-capitan-%E3%81%A7-brew-install-%E3%81%97%E3%81%9F%E3%82%89error-undefined-method-for-nilnilclass-%E3%81%8C%E7%99%BA%E7%94%9F/