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
while : | |
do | |
echo "auto commit" | |
git add . | |
git commit -m "auto commit" $1 | |
git pull origin master | |
git push origin master | |
sleep 600 | |
done |
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
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/vim-easy-align' | |
Plug 'preservim/nerdtree' | |
Plug 'Shougo/vimproc.vim', {'do' : 'make'} | |
Plug 'ctrlpvim/ctrlp.vim' | |
Plug 'sickill/vim-monokai' | |
Plug 'fisadev/vim-ctrlp-cmdpalette' | |
Plug 'neoclide/jsonc.vim' | |
Plug 'Yggdroot/indentLine' | |
Plug 'Chiel92/vim-autoformat' |
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
🗣 Commented on #180 in alibaba/lightproxy | |
🗣 Commented on #215 in alibaba/lightproxy | |
🗣 Commented on #216 in alibaba/lightproxy | |
🗣 Commented on #212 in alibaba/lightproxy | |
🗣 Commented on #212 in alibaba/lightproxy |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
!c::send ^c | |
!x::send ^x | |
!v::send ^v | |
!l::send ^l | |
!s::send ^s |
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
import view from './view'; | |
import model from './model'; | |
import proptypes from './proptypes'; | |
import { merge } from './utils'; | |
import { render } from 'react-dom'; | |
const Comp = merge(view, model, proptypes); |
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
Switch(window, exe) { | |
IfWinActive, %window% | |
WinMinimize, %window% | |
else | |
IfWinNotExist, %window% | |
Run, %exe% | |
else | |
WinActivate, %window% | |
} |
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
function exchange(str, a, b) { | |
return str.split(a).map(function(item){return item.replace(new RegExp(b, 'g'), a)}).join(b); | |
} | |
function safeSingleQuote(str) { | |
str = exchange(str, "'", '"'); | |
return exchange(JSON.stringify(str), "'", '"'); | |
} |
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
*.gslbsvc.net.cn; | |
*.chinacache.com.cn; | |
*.ccgslb.net; | |
*.gslbsvc.com.cn; | |
*.cdnsvc.cn; | |
*.ccgslb.cn; | |
*.cdn2cdn.net; | |
*.blueit.org.cn; | |
*.cc-1.com; | |
*.cdnsvc.net; |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import urllib | |
import re | |
import os | |
from os.path import expanduser | |
url = "http://freevpnss.cc/" | |
page = urllib.urlopen(url).read() | |
r = re.compile('码:\d+') |
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
OK |
NewerOlder