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
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 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 sys | |
class ExceptionHook: | |
instance = None | |
def __call__(self, *args, **kwargs): | |
if self.instance is None: | |
from IPython.core import ultratb | |
self.instance = ultratb.FormattedTB(mode='Plain', | |
color_scheme='Linux', call_pdb=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
🗣 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 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 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 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 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
;; org-archive-subtree-hierarchical.el | |
;; modified from https://lists.gnu.org/archive/html/emacs-orgmode/2014-08/msg00109.html | |
;; In orgmode | |
;; * A | |
;; ** AA | |
;; *** AAA | |
;; ** AB | |
;; *** ABA | |
;; Archiving AA will remove the subtree from the original file and create |
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
// Insall WenQuanYi Micro Hei | |
* | |
:not [class*="code"] > * | |
{ | |
font-family: "FontAwesome", "octicons", "icon","Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "WenQuanYi Micro Hei" !important; | |
} | |
[class*="code"] > * | |
{ | |
font-family: "WenQuanYi Micro Hei Mono" !important; |
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
/* Our own header, to be included before all standard system headers */ | |
#ifndef _APUE_H | |
#define _APUE_H | |
#if defined(SOLARIS) | |
#define _XOPEN_SOURCE 500 /* Single UNIX Specification, Version 2 for Solaris 9 */ | |
#define CMSG_LEN(x) _CMSG_DATA_ALIGN(sizeof(struct cmsghdr)+(x)) | |
#elif !defined(BSD) | |
#define _XOPEN_SOURCE 600 /* Single UNIX Specification, Version 3 */ |
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
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); |
NewerOlder