Skip to content

Instantly share code, notes, and snippets.

View an9er's full-sized avatar

gcj an9er

View GitHub Profile
~ » 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
from setuptools import setup
setup(
name='reqcheck',
version='0.1.0',
packages=['reqcheck'],
install_requires=[
'redis',
'lxml',
],
# -*- coding: utf-8 -*-
import multiprocessing as mp
import os
import random
from signal import signal, SIGINT, SIG_IGN, siginterrupt
import time
def data_source():
"""数据源。
https://raw.githubusercontent.com/mmoya/pkg-thc-ipv6/master/dnsdict6.h
@an9er
an9er / curl
Last active December 8, 2016 07:50
curl
====
Created 星期五 08 四月 2016
#### 用curl下载文件到本地并命名
curl -o $new_file_name $url