Skip to content

Instantly share code, notes, and snippets.

View YumaInaura's full-sized avatar

いなうらゆうま ( 稲浦悠馬 ) YumaInaura

View GitHub Profile
@YumaInaura
YumaInaura / file0.rb
Last active December 21, 2018 08:42
ActiveSupport::Duration と遊ぶ ref: https://qiita.com/YumaInaura/items/8a18a12722077a710f47
15.minutes
=> 15 minutes
@YumaInaura
YumaInaura / file0.txt
Last active December 21, 2018 09:30
git – コミット名だけを一覧表示する (コミットのサブジェクト、コミットタイトル) ref: https://qiita.com/YumaInaura/items/a2a093a5a02404c2c75d
git log --format=%s
@YumaInaura
YumaInaura / file0.txt
Last active December 21, 2018 02:57
git – コミット名だけを一覧表示する (コミットのサブジェクト、コミットタイトル) ref: https://qiita.com/YumaInaura/items/32543d0c1488073ba275
git log --format=%subject
@YumaInaura
YumaInaura / file0.txt
Created December 19, 2018 05:56
シェル の ssh 接続「先」でコマンドを直接実行するワンライナー ref: https://qiita.com/YumaInaura/items/246564efe6441982d57b
ssh 127.0.0.1 echo OK! OK!
@YumaInaura
YumaInaura / file0.rb
Created December 18, 2018 08:28
Rails ActiveSupport の HashWithIndifferentAccess って何? ref: https://qiita.com/YumaInaura/items/e652fb8ecdda38ab5569
HashWithIndifferentAccess.new(a: 1)['a']
=> 1
@YumaInaura
YumaInaura / file0.txt
Last active December 22, 2018 05:13
「月数100万アクセスをDB使わず超簡単にさばく」で思い出した、月間最高100万円近く稼いだGGI掲示板サイト。 ref: https://qiita.com/YumaInaura/items/df67422eef862de2cc20
記事名<>記事番号
投稿者名<>メッセージ<br>メッセージ<br>メッセージ<>投稿時刻
投稿者名<>メッセージ<br>メッセージ<br>メッセージ<>投稿時刻
投稿者名<>メッセージ<br>メッセージ<br>メッセージ<>投稿時刻
@YumaInaura
YumaInaura / file0.txt
Created December 11, 2018 03:09
チーム開発のホワイトボード・カンバンの文房具は?プリンタ印刷活用例 ref: https://qiita.com/YumaInaura/items/3a9bb667cc3d5d91fed1
{ "a": 1, "b": 2, "c": 3, "d": 4, "e": 5 }
@YumaInaura
YumaInaura / file0.txt
Created December 11, 2018 02:17
Slackリマインド記法覚えられない?面倒?使いづらい?わりと簡単に書けるよ! ref: https://qiita.com/YumaInaura/items/48146c1cf1fa0f13f5f9
/remind #channel-name 2018-12-08 11:00 メッセージ
@YumaInaura
YumaInaura / file0.txt
Created December 7, 2018 05:07
Bigquery で load が終わらない時などに jobの進行率を見るコマンド例 ref: https://qiita.com/YumaInaura/items/483f5c9d9eddda024657
"statistics": {
"completionRatio": 0.5,
"creationTime": "15441554234456",
"startTime": "15441554557681"
},
@YumaInaura
YumaInaura / file0.txt
Created November 29, 2018 01:28
Ruby – 半角スペースも全角スペースも一緒に削除する例 ref: https://qiita.com/YumaInaura/items/2422332656a3411e6168
gsub(/[[:space:]]/, '')