I hereby claim:
- I am zhangnew on github.
- I am zhangnew (https://keybase.io/zhangnew) on keybase.
- I have a public key ASDLjqAPIgsdW2zRK3Py4S5aKIw7u6wAQ3dl155AFT-ROwo
To claim this, I am signing this object:
// ==UserScript== | |
// @name 北师大云盘下载器 | |
// @namespace https://zhangnew.com/ | |
// @version 0.2 | |
// @description 解除下载限制,通过调用预览接口,清晰度稍有下降。(点击下载之后稍等一会儿,会在下载完成之后弹出保存) | |
// @author zhangnew | |
// @homepage https://zhangnew.com/ | |
// @downloadURL https://gist.github.com/zhangnew/c89d0a06bd3ddb5ed6fef487b2cc3b2e/raw/pan_bnu_download.user.js | |
// @updateURL https://gist.github.com/zhangnew/c89d0a06bd3ddb5ed6fef487b2cc3b2e/raw/pan_bnu_download.user.js | |
// @match https://pan.bnu.edu.cn/link/view/* |
// ==UserScript== | |
// @name PT Copy Seed Info | |
// @version 0.2 | |
// @description 复制PT详情页的信息便于转载,简介部分自动转为 BBCode 格式,可以点击标题、副标题、详情部分进行复制,目前支持 HDHome、PTHome、南洋、柠檬、杜比、烧包、BTSchool | |
// @author zhangnew | |
// @namespace https://zhangnew.com/ | |
// @homepage https://zhangnew.com/ | |
// @downloadURL https://gist.github.com/zhangnew/59556c22343a03cf71c6463950e3bdf6/raw/pt_copy_seed_info.user.js | |
// @updateURL https://gist.github.com/zhangnew/59556c22343a03cf71c6463950e3bdf6/raw/pt_copy_seed_info.user.js | |
// @match https://www.pthome.net/details.php?id=* |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
cd /tmp | |
hg clone https://hg.libsdl.org/SDL SDL; | |
cd SDL; | |
mkdir build; | |
cd build; |
set ts=4 | |
set expandtab | |
autocmd BufWritePost $MYVIMRC source $MYVIMRC | |
set nocompatible "去掉讨厌的有关vi一致性模式,避免以前版本的一些bug和局限 | |
"""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" set theme | |
syntax enable | |
set background=dark | |
"colorscheme solarized |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
首先查看文件节点号:
ls -i
比如得到的文件号是 32983542 ,要改成 readme.html 这个文件名,用以下命令即可:
find . -inum 32983542 -exec mv {} readme.html ;