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
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
call neobundle#rc(expand('~/.vim/bundle/')) | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
filetype plugin indent on | |
NeoBundleCheck | |
" カーソル行をハイライト |
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
PATH="$PATH":/Users/tea_hugutaku/shell | |
PATH="$PATH":/usr/local/sbin | |
export HOMEBREW_EDITOR=/usr/bin/vim | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
alias vi='/usr/bin/vim' |
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
PATH=/usr/local/mysql/bin:$PATH | |
if [ -f ~/.bashrc ] ; then | |
. ~/.bashrc | |
fi | |
export CLICOLOR=1 | |
export LSCOLORS=DxGxcxdxCxegedabagacad | |
export PATH=/usr/local/bin:$PATH | |
export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
export PATH=$PATH:~/bin/depot_tools |
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/bash | |
month=`date +"%m"` | |
function 30days { | |
echo -n "ダウンタイムを入力してください: " | |
read worktime | |
echo "scale=4; ( 43200 - $worktime ) / 43200 * 100" | bc | cut -c 1-5 | |
} | |
function 31days { | |
echo -n "ダウンタイムを入力してください: " | |
read worktime |
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/bash | |
#This is AN Correspondence Authy SSH Command. | |
if [ "$1" = vps ] ; then | |
#Enable Authy Token. | |
echo -n "Authy Token (not support SMS Token): " | |
read authytoken | |
AUTHY_TOKEN="$authytoken" sftp vps | |
else | |
#Disable Authy Token. | |
sftp $1 |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 | |
sudo ufw insert 1 allow from 60.236.0.0/14 | |
sudo ufw insert 1 allow from 119.238.0.0/15 | |
sudo ufw insert 1 allow from 119.244.0.0/16 | |
sudo ufw insert 1 allow from 122.132.0.0/14 | |
sudo ufw insert 1 allow from 220.102.0.0/16 | |
sudo ufw insert 1 allow from 221.170.0.0/15 | |
sudo ufw insert 1 allow from 110.233.0.0/16 | |
sudo ufw insert 1 allow from 118.108.0.0/14 | |
sudo ufw insert 1 allow from 119.240.0.0/14 |
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 | |
#NEED ROOT | |
echo ' #BIGLOBE DYNAMIC IP PATCHER ADDED | |
access-control: 60.236.0.0/14 allow | |
access-control: 119.238.0.0/15 allow | |
access-control: 119.244.0.0/16 allow | |
access-control: 122.132.0.0/14 allow | |
access-control: 220.102.0.0/16 allow | |
access-control: 221.170.0.0/15 allow | |
access-control: 110.233.0.0/16 allow |
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
#ここは基本やな | |
127.0.0.1 localhost | |
#ステマ確定 | |
127.0.0.1 blog.livelog.biz | |
127.0.0.1 airseed.org | |
127.0.0.1 hyadain.com | |
127.0.0.1 adultnia.org | |
127.0.0.1 livelog.biz | |
127.0.0.1 mh.hyadain.com |
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 | |
date +"%Y年%m月%d日 %I時%M分現在の天気予報をお伝えします。" | open_jtalk -x /var/lib/mecab/dic/open-jtalk/naist-jdic -m /usr/share/hts-voice/mei/mei_normal.htsvoice -ow /tmp/announce.wav | |
wget 'http://weather.livedoor.com/forecast/webservice/json/v1?city=130010' -O- -q | jq -M -c '.description .text' | sed 's/\"//g' - | sed 's/\\n//g' - | sed 's/ //g' - | sed 's/寒気/かんき/g' - | sed 's/所々/ところどころ/g' - | sed 's/日中/にっちゅう/g' - | cut -c 1-804 | open_jtalk -x /var/lib/mecab/dic/open-jtalk/naist-jdic -m /usr/share/hts-voice/mei/mei_normal.htsvoice -ow /tmp/weather1.wav>/dev/null 2>&1 | |
WORD=`wget 'http://weather.livedoor.com/forecast/webservice/json/v1?city=130010' -O- -q | jq -M -c '.description .text' | sed 's/\"//g' - | sed 's/\\n//g' - | sed 's/ //g' - | sed 's/寒気/かんき/g' - | sed 's/所々/ところどころ/g' - | sed 's/日中/にっちゅう/g' -| wc -c` | |
if `test $WORD -le 804` ; then | |
echo 'Noting for Todo'>/dev/null 2>&1 | |
else | |
wget 'http://weather.livedoor.com/forecast/webservice/json/v1?city=130010' -O- -q | jq -M -c '.description .text' | sed 's |
OlderNewer