Skip to content

Instantly share code, notes, and snippets.

ChenYuan zjuchenyuan

Block or report user

Report or block zjuchenyuan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View press.one
https://press.one/p/v?s=d97cff5484599281adebb04d3de2e182d3cd92cb6717a4b6eba43bff449747ec2918762c30687ee26d82efd3b4aca2921e36fe9e8517b4e7981c3ee62d6e8aeb0&h=81af2e6a2ac44849febb97f3c4c3ef187c092f23d1ff51c10ae1440d89663b79&a=ec9efd54d460849f729c3784195190d6a51d891b&f=P1&v=3
View syncgithub.py
"""
say you have a private repo, which is not suitable for push to github
but you want github to show your activity for this repo
so, this script will help you sync commit message to `githubrepo`, using empty commits
used commands:
git log --all '--pretty=format:%ad|%s'
git commit -m "message" --date "Sun Jun 17 12:48:07 2018 +0800" --allow-empty
"""
@zjuchenyuan
zjuchenyuan / modify_torrent.py
Last active Oct 16, 2017
Modify Torrent file using Python2
View modify_torrent.py
# This is a Python2 file to modify torrent file
# take a look at main() which at the bottom
# bencode.py copy from: https://github.com/JosephSalisbury/python-bittorrent/blob/master/bencode.py
# it only supports Python2, hope someone help to translate to PY3
# bencode.py -- deals with bencoding
# Written by Joe Salisbury <salisbury.joseph@gmail.com>
#
# You are free to use this code in anyway you see fit, on the basis
View bilibili_matsuri_download.py
from you_get.extractors.bilibili import bilibili_download_by_cid
bilibili_download_by_cid("13562609","2017拜年祭_1鸡")
bilibili_download_by_cid("13789044","2017拜年祭_2吉")
bilibili_download_by_cid("13562612","2017拜年祭_3己")
bilibili_download_by_cid("13789047","2017拜年祭_4祭")
bilibili_download_by_cid("6041635","2016拜年祭_1马")
bilibili_download_by_cid("6041636","2016拜年祭_2上")
bilibili_download_by_cid("6041637","2016拜年祭_3封")
bilibili_download_by_cid("6041638","2016拜年祭_4侯")
View gist:bc99c3c5d929d14365efddee519216b5
4529527 1 吐槽就要从标题开始呀!说好的联合版聚呢!为什么到了版聚当天情感的版主们都不见了啊!
[del]所以真相是小屋想版聚但没有人气只好借情感人气完成一次版聚吗不要安慰我我早就从版聚确认贴里看出端倪了![/del]
[upload=jpg]http://file.cc98.org/uploadfile/2015/6/14/2162127404.jpg[/upload]
---------------------
[upload=jpg]http://file.cc98.org/uploadfile/2015/6/14/2165391294.jpg[/upload]大雁君第一次哭晕在小屋里(请脑补大娃扑街音效
-----------------------------------------------------------------
You can’t perform that action at this time.