Skip to content

Instantly share code, notes, and snippets.

View jy00566722's full-sized avatar
😚
now ,whos is girl

jy00566722

😚
now ,whos is girl
View GitHub Profile
@jizusun
jizusun / ssrLinkParser.js
Last active April 4, 2020 13:45
SSR 链接解析
// https://github.com/shadowsocksr-backup/shadowsocks-rss/wiki/SSR-QRcode-scheme
// https://stackoverflow.com/a/30106551/3074866
function b64DecodeUnicode(str) {
return decodeURIComponent(Array.prototype.map.call(atob(str), function(c) {
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)
}).join(''))
}
@scturtle
scturtle / txt2epub.py
Created September 10, 2011 07:17
txt to epub
# coding: utf-8
import os
#书籍信息
title='test book'
creator='scturtle'
description='blablablabla'
#章节文件
txtlist=['1.txt','2.txt']