Skip to content

Instantly share code, notes, and snippets.

View d1y's full-sized avatar
💤

Kitten d1y

💤
View GitHub Profile
@d1y
d1y / linux.md
Created March 7, 2019 08:11
操作系统不完全配置文件

linux✨

17-18年,几乎完全使用了linux来进行学习和开发(嘿嘿,·不幸的是,在18年11月我拥有了我第一台mac💥)

who release?

配置文件相对于发行版而言

  • debian系列
  • archlinux系列
  • redhat系列(服务器方向)
@d1y
d1y / 妹子
Created March 7, 2019 08:13
新浪图床-妹子mirror
0072Vf1pgy1foxkiak921j31kw0w0nnl
0072Vf1pgy1foxkfg4cj2j31hc0u01a9
0072Vf1pgy1foxkf5ytavj31kw0w0ts3
0072Vf1pgy1foxk79mt63j31hc0u0qlp
0072Vf1pgy1foxkj6err0j31kw0w0hb7
0072Vf1pgy1foxkieg2ntj31kw0w07su
006ZFECEgy1fr1x6ctvu3j31hc0xcas4
0072Vf1pgy1foxkixrz1uj31hc0u0dy2
0072Vf1pgy1foxk7pair6j31hc0u0000
0072Vf1pgy1fodqnpms36j31hc0u0b2a
@d1y
d1y / readme.md
Created April 9, 2019 03:46 — forked from jimmywarting/readme.md
Cors proxies
Server SSL Metods Server country code Comments
[cors-anywhere][1] - US Follows redirects 5x
Require Origin header
[crossorigin.me][2] GET US Require Origin header
2MB size limit
[cors-proxy.htmldriven][3] - CZ JSON response
don't work well with binary
[cors-proxy.taskcluster][4] POST US Only witelisted to taskcluster.net
Can send any header/method
[jsonp.herokuapp.com][5] - US Supports both jsonp and cors
[anyorigin][8] - US Only jsonp is supported, response is always json, always require a refferer header
[thingproxy][9] ANY US Limited to 100kb for both upload and download, max 10 req/sec
[whateverorigin][10] GET US Only supports
import discord
from discord.ext import commands
from __main__ import send_cmd_help
import aiohttp
from bs4 import BeautifulSoup
import random
from .utils import checks
from cogs.utils.dataIO import dataIO
import os
@d1y
d1y / source.json
Created August 8, 2019 08:53 — forked from ZyqGitHub1/source.json
hls-source
[
{
"id": 1,
"name": "色色资源站",
"uri": "https://www.emiao026.com",
"httpApi": "http://sscj8.com/inc/api.php",
"httpsApi": "http://sscj8.com/inc/sapi.php",
"type": "综合性资源"
},
{
@d1y
d1y / index.html
Created August 13, 2019 07:46
NSFW
<div id="app">
<h2>车牌号: <strong>{{ plate }}</strong></h2>
<video :src="url" controls></video>
</div>
#!/usr/bin/env python3
# coding=utf-8
import os
import sys
import json
import requests
from pyquery import PyQuery as pq
from colr import color
from urllib.parse import parse_qs
@d1y
d1y / book2.json
Last active August 20, 2019 10:20
[{"id":5920,"yuansite":"三叶屋","yuanurl":"https://www.sanyewu.com","nickname":"薅白魔人","updatetime":1566278082,"yuan":"{\"bookSourceGroup\":\"\\u272f\\u0f07\\u8585\\u767d\\u9b54\\u4eba\\u266a\",\"bookSourceName\":\"\\u4e09\\u53f6\\u5c4b\",\"bookSourceUrl\":\"https:\\/\\/www.sanyewu.com\",\"enable\":false,\"ruleBookAuthor\":\"[property=\\\"og:novel:author\\\"]@content\",\"ruleBookContent\":\"id.nr@html\",\"ruleBookKind\":\"[property=\\\"og:novel:category\\\"]@content\",\"ruleBookLastChapter\":\"[property=\\\"og:novel:latest_chapter_name\\\"]@content\",\"ruleBookName\":\"[property=\\\"og:novel:book_name\\\"]@content\",\"ruleChapterList\":\"id.chapterList@dd@a\",\"ruleChapterName\":\"text\",\"ruleContentUrl\":\"href\",\"ruleCoverUrl\":\"[property=\\\"og:image\\\"]@content\",\"ruleIntroduce\":\"[property=\\\"og:description\\\"]@content\",\"ruleSearchAuthor\":\"$3\",\"ruleSearchCoverUrl\":\"$2\",\"ruleSearchIntroduce\":\"$5\",\"ruleSearchList\":\":id=\\\"auall\\\">[^\\\"]*\\\"(.*?)\\\"[^\\\"]*\\\"(.*?)\\\"(?:[^\\\"]*\
@d1y
d1y / link.js
Last active August 26, 2019 06:05
[Nextjs] A nextjs middle proxy
@d1y
d1y / decode_font.js
Created August 27, 2019 06:15
快手web字体图标解密
#!/usr/bin/env node
/*
** 快手`web`端的字体加密信息破解
** create by @d1y 2019-08-27
** 1. 首先下载`.ttf`文件
** 2. 结构字体文件,算出每个字体对于的数字
** 3. 返回一个对象
*/