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 | |
#By LordSimon | |
#Modify xi4oh4o | |
#ping -c 1 ssh.sshcenter.info | |
for i in $(seq 21) #will 21 modify you server number count | |
do |
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("gui_running") | |
set go=aAce | |
set transparency=10 | |
set guifont=Monaco:h13 | |
set showtabline=2 | |
set columns=140 | |
set lines=40 | |
syn on | |
set bs=2 | |
set showmatch |
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
" MAIN CUSTOMIZATION FILE | |
" | |
" Enable loading filetype and indentation plugins | |
filetype plugin on | |
filetype indent on | |
" Turn syntax highlighting on | |
syntax on |
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 nocompatible " Be iMproved | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
---- | |
call neobundle#rc(expand('~/.vim/bundle/')) | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
NeoBundle 'Shougo/vimproc' | |
NeoBundle 'othree/html5.vim' | |
NeoBundle 'altercation/vim-colors-solarized' |
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 | |
env DSOCKS_PROXY="127.0.0.1:9129" /usr/local/bin/dsocks.sh /Applications/Telegram.app/Contents/MacOS/Telegram >/dev/null 2>&1 & | |
# need brew install dsocks |
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 | |
MY_URL="http://moefou.org" #change you website | |
RESULT_502=`curl -I $MY_URL|grep "HTTP/1.1 502"` | |
RESULT_504=`curl -I $MY_URL|grep "HTTP/1.1 504"` | |
if [ -n "$RESULT_502" ]; then | |
killall php-fpm;php-fpm | |
date>>/data/logs/web_error.log;echo "502 Bad Gateway">>/data/logs/web_error.log | |
elif [ -n "$RESULT_504" ]; then | |
killall php-fpm;php-fpm | |
date>>/data/logs/web_error.log;echo "504 Gateway Time-out">>/data/logs/web_error.log |
OlderNewer