A cascade mapping ordered by ctime. So some parts may be duplicate.
Thanks to those seniors who are willing to share.
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
# use it like "$./down.sh https://***/ https://***/ ..." to use youtube-dl eaiser | |
# log would be append to file "./log" | |
echo -e "\033[32mDownload list↓:\033[0m" | |
echo $* | |
nohup youtube-dl -cit $* > log & |
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
# file path: ~/.tmux.conf | |
# download: wget http://gist.githubusercontent.com/GrayXu/851fa9b7db6733a2fb8ebc9569c26d35/raw/.tmux.conf -O ~/.tmux.conf | |
# note: for tmux > 2.8 | |
# Enable title for Terminal | |
set-option -g set-titles on | |
set-option -g set-titles-string "#S / #W" | |
# Enable mouse mode (tmux 2.1 and above) |
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
# file path: ~/.SpaceVim.d/init.toml | |
# how to install: | |
# curl -sLf https://spacevim.org/install.sh | bash | |
# download config: | |
# wget https://gist.githubusercontent.com/GrayXu/19d74689d0a5370f6e3ba5e36d91b4f5/raw/init.toml -O ~/.SpaceVim.d/init.toml | |
#============================================================================= | |
# dark_powered.toml --- dark powered configuration example for SpaceVim | |
# Copyright (c) 2016-2020 Wang Shidong & Contributors |
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
# ZSH是好文明 => https://github.com/ohmyzsh/ohmyzsh | |
# sudo apt install zsh | |
# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
# git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
# 然后如下简单配置你的.zshrc! | |
export ZSH="$HOME/.oh-my-zsh" |
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
# default home path is /home/gray | |
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/GrayXu/8d4433e9b5f9b0202b9966a9280a47a1/raw/zsh_init.sh)" | |
echo "rush..." | |
sudo apt install zsh | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
wget https://gist.githubusercontent.com/GrayXu/407ec274b4783f8381a5b4daa2b31025/raw/.zshrc -O ~/.zshrc | |
echo "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
# RUN THIS SCRIPT | |
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/GrayXu/6bfe73de93e7f2431bbf545f3522c200/raw/init.sh)" | |
echo "config zsh..." | |
sudo apt install zsh -y | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
wget https://gist.githubusercontent.com/GrayXu/407ec274b4783f8381a5b4daa2b31025/raw/.zshrc -O ~/.zshrc | |
echo "---zsh is ok---" |
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
# pip install bs4 request | |
# python3 asplos21.py | |
import requests | |
from bs4 import BeautifulSoup | |
import os | |
from multiprocessing.dummy import Pool as ThreadPool | |
import sys | |
pool = ThreadPool(10) |
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
# warning: catch dirty corner case, but will not handle it | |
with open("2020Mar.md") as f: | |
data = f.readlines() | |
lengths = [] | |
ll = [] | |
for line in data: | |
items = line.split("|")[1:-1] | |
lengths.append(len(items)) | |
for j in range(len(items)): |
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
*://www.clqcqz.com/* | |
*://chaosou.cc/* | |
*://yo.zgserver.com/* | |
*://www.cxymm.net/* | |
*://m.lacestion.com/* | |
*://159.138.37.243/* | |
*://www.i4k.xyz/* | |
*://www.cxybb.com/* | |
*://githubhelp.com/* | |
*://yiyu.gaoyongboke.com/* |
OlderNewer