- []
- +=
- array_push()
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
[ | |
"NEW GAME!", | |
"監獄学園", | |
"この素晴らしい世界に祝福を", | |
"ポプテピピック", | |
"東京喰種", | |
"メイドインアビス", | |
"デビルズライン", | |
"ダンジョン飯", | |
"妹さえいればいい。", |
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
# .pryrc | |
begin | |
require 'hirb' | |
require 'awesome_print' | |
rescue LoadError | |
# Missing goodies, bummer | |
end | |
AwesomePrint.pry! | |
if defined? Hirb |
- ぶっコ抜
- 全然可愛くない
- 可愛くない
- 可愛かった
- キモ可愛い
- よく見ると可愛い
- まぁ可愛い
- ちょっと可愛い
- 普通に可愛い
- 可愛い
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
# Global | |
global | |
daemon | |
# Defaults | |
defaults | |
mode tcp | |
timeout connect 5s | |
timeout client 10s | |
timeout server 10s |
絵文字 | コード | 意味 |
---|---|---|
🎨 | :art: |
コードの書式や構造を改善したとき |
🐎 | :racehorse: |
パフォーマンスを改善したとき |
🚱 | :non-potable_water: |
メモリリークを修正したとき |
📝 | :memo: |
ドキュメントを書いたとき |
🐧 | :penguin: |
Linux 関連の修正をしたとき |
🍎 | :apple: |
Mac OS 関連の修正をしたとき |
🏁 | :checkered_flag: |
Windows 関連の修正をしたとき |
🐛 | :bug: |
バグを修正したとき |
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
gem "pry-rails" | |
gem "pry-doc" | |
gem "pry-byebug" | |
gem "pry-stack_explorer" | |
gem "hirb" | |
gem "hirb-unicode" | |
gem "rails-flog", require: "flog" |
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
#!/bin/sh | |
SLACK_URL='https://hooks.slack.com/services/hoge/fuga' # ここにIncomming WebHooksを | |
SLACK_MES='' | |
let LOGIN_USER=$(echo `w` | sed -e 's/.*\([0-9]\+\) user.*/\1/g') | |
if [ ${LOGIN_USER} -ge 2 ] ; then | |
SLACK_MES="既に誰かがログインしている可能性があります。 現在"${LOGIN_USER}"名がログイン中" | |
echo ${SLACK_MES} | |
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
<?php | |
$integer = 1 ; | |
$string = '1'; | |
echo gettype($integer); // integer | |
echo gettype($string); // string |
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
<?php | |
$time_start = microtime(true); | |
// 計測したい処理 | |
$time = microtime(true) - $time_start; | |
echo "{$time} 秒"; |
NewerOlder