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 / index.html
Created February 6, 2021 03:34
Plyr Playlist V5 - Previous - Next
<div class="container">
<div id="player">
<div class="js-player" data-type="youtube" data-video-id="" data-ytpls="PL533213361AEB44D3"></div>
<!-- <div class="plyr-playlist-wrapper"><ul class="plyr-playlist"></ul></div> RDxdYFuCp3m9k-->
</div>
<!-- <ul id="playlist"></ul> -->
</div>
@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
@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 / rustup_mirror.md
Created August 15, 2017 02:06
rustup mirror
@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

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 / 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

acl
archlinux-keyring
attr
autoconf
automake
bash
binutils
bison
bzip2
ca-certificates
@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
@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 = {