- ぶっコ抜
- 全然可愛くない
- 可愛くない
- 可愛かった
- キモ可愛い
- よく見ると可愛い
- まぁ可愛い
- ちょっと可愛い
- 普通に可愛い
- 可愛い
This file contains hidden or 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/bash | |
# --- デフォルト値 --- | |
MAIN_BRANCH="" | |
DEV_BRANCH="" | |
AUTHOR="" | |
# --- ヘルプメッセージ表示関数 --- | |
usage() { | |
echo "使用方法: $0 --main-branch <ブランチ名> --dev-branch <ブランチ名> --author <GitHubユーザー名>" |
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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} 秒"; |
$ docker rm -f $(docker ps -aq) && docker rmi $(docker images -q)
NewerOlder