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
~ » cat .vimrc.local gcj@happy | |
imap jj <Esc> | |
" Smart pane switching with awareness of Vim splits. | |
" See: https://github.com/christoomey/vim-tmux-navigator | |
let g:tmux_navigator_save_on_switch = 2 | |
" Disable tmux navigator when zooming the Vim pane | |
let g:tmux_navigator_disable_when_zoomed = 1 | |
------------------------------------------------------------ | |
~ » cat .vimrc.bundles.local gcj@happy |
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
from setuptools import setup | |
setup( | |
name='reqcheck', | |
version='0.1.0', | |
packages=['reqcheck'], | |
install_requires=[ | |
'redis', | |
'lxml', | |
], |
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
# -*- coding: utf-8 -*- | |
import multiprocessing as mp | |
import os | |
import random | |
from signal import signal, SIGINT, SIG_IGN, siginterrupt | |
import time | |
def data_source(): | |
"""数据源。 |
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
d |
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
d |
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
d |
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
d |
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
d |
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
https://raw.githubusercontent.com/mmoya/pkg-thc-ipv6/master/dnsdict6.h |
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
curl | |
==== | |
Created 星期五 08 四月 2016 | |
#### 用curl下载文件到本地并命名 | |
curl -o $new_file_name $url | |
NewerOlder