Skip to content

Instantly share code, notes, and snippets.

View PeterDing's full-sized avatar
🪐
Working

Peter Ding PeterDing

🪐
Working
View GitHub Profile
@PeterDing
PeterDing / pan.baidu.com.py
Last active March 31, 2018 13:31
百度云、百度网盘,递归下载自己的文件或分享的文件 -- keywords: pan.baidu.com, login, recursively, download -- # 移到仓库 https://github.com/PeterDing/iScript
#!/usr/bin/env python2
# vim: set fileencoding=utf8
import os
import sys
import requests
import urllib
import json
import re
import time
@PeterDing
PeterDing / download_tumblr_images.py
Last active August 29, 2015 13:58
download images from *.tumblr.com -- # 移到仓库 https://github.com/PeterDing/iScript
#!/usr/bin/env python2
# vim: set fileencoding=utf8
import os, sys, re, json, requests, argparse, random, multiprocessing, time, subprocess
api_key = ''
############################################################
# wget exit status
wget_es = {
@PeterDing
PeterDing / archlinux_install.md
Created May 25, 2014 14:40
ArchLinux Installation

ArchLinux Installation

  1. cfdisk, mkfs.ext4, mount

  2. network

for wired:

    dhcpcd
acl
archlinux-keyring
attr
autoconf
automake
bash
binutils
bison
bzip2
ca-certificates
@PeterDing
PeterDing / reading.md
Created April 11, 2015 03:20
learn CS totally

ALGORITHM:

C 学习笔记.pdf
http://www.math.pku.edu.cn/teachers/qiuzy/ds_python/courseware/index.htm
数据结构, C语言版 by 严蔚敏, 吴伟民.pdf
Data Structures & Algorithm Analysis in C++, Fourth Edition by Mark A. Weiss.pdf
Programming Pearls, Second Edition by Jon Bentley.pdf
More Programming Pearls -- Confessions of a Coder by Jon Bentley.pdf
The Algorithm Design Manual, Second Edition by Steven S Skiena.pdf

Cracking the Coding Interview -- 150 Programming Questions and Solutions.pdf

https://github.com/azzvx/gogotester/blob/2.3/GoGo%20Tester/Resources/InnerIpSet.txt
1.179.248-255.0-255
103.246.187.0-255
103.25.178.4-59
106.162.192.148-187
106.162.198.84-123
106.162.216.20-123
107.167.160-191.0-255
107.178.192-255.0-255
@PeterDing
PeterDing / rust_code_completion_for_neovim.md
Last active August 6, 2017 15:13
Rust code completion for neovim

Rust code completion for neovim

Using vim-racer and racer.

racer

  1. Install racer

    cargo install racer

@PeterDing
PeterDing / rustup_mirror.md
Created August 15, 2017 02:06
rustup mirror
@PeterDing
PeterDing / tmux.conf
Created March 15, 2018 09:18
setting tmux to be true color at iterm2
https://github.com/tmux/tmux/issues/696#issuecomment-360629057
@PeterDing
PeterDing / ml-env.md
Last active April 15, 2018 02:19
make machine learning python virtualenv
virtualenv -p python3 ml
pip3 install --upgrade tensorflow mxnet ipython jupyter matplotlib pandas