I hereby claim:
- I am tennousuathena on github.
- I am qctech (https://keybase.io/qctech) on keybase.
- I have a public key ASBBAd5ZFNBbxvbAoswQxPC-wzHSda-EZeK1eNiqYiRhnQo
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name 51Talk优化:解锁课程|屏蔽广告|优化体验 | |
| // @namespace https://gist.github.com/qcminecraft/5498879f8b7fb9008d7d6ea540d56c12 | |
| // @version 0.3.3 | |
| // @description 解锁课程|屏蔽广告|优化体验 | |
| // @author qingcaomc@gmail.com | |
| // @license GPLv3 | |
| // @match http://www.51talk.com/* | |
| // @match https://www.51talk.com/* | |
| // @icon https://avatars3.githubusercontent.com/u/25388328 |
| const fs = require('fs') | |
| const path = require('path') | |
| const base64 = v => Buffer.from(v).toString('base64') | |
| const work = map => { | |
| let base64Map = map.map(base64) | |
| let here = path.join(...map) | |
| let there = path.join(...base64Map) |
| q={};location.search.replace(/([^?&=]+)=([^&]+)/g,(_,k,v)=>q[k]=v);q; | |
| //Done! |
| <?php | |
| // main function, called by SCF | |
| // 主函数,调用的入口 | |
| function main_handler($event, $context) { | |
| // print parameters | |
| // 进门打印传入参数是好习惯 | |
| echo 'event:'.json_encode($event, JSON_PRETTY_PRINT).' | |
| context:'.json_encode($context, JSON_PRETTY_PRINT); | |
| // echo $event->{'headers'}->{'host'} ; // parameter is object. 传入的参数是object |
| <?php | |
| /** | |
| * @package Hello_Hitokoto | |
| * @version 1.0.1 | |
| */ | |
| /* | |
| Plugin Name: Hello Hitokoto | |
| Plugin URI: https://gist.github.com/TennousuAthena/96bb33fedbd979ed64fb167d5c60d0c3 | |
| Description: 在管理界面添加一言 | |
| Author: TennousuAthena |
| const html404 = `<!DOCTYPE html> | |
| <body> | |
| <h1>404 Not Found.</h1> | |
| <p>The url you visit is not found.</p> | |
| </body>`; | |
| const KEY = "ccccccvbddhvfhcldgvvjlcefnbihdngnfjhdbjekuic" | |
| async function randomString(len) { | |
| len = len || 32; |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/python3 | |
| import requests, os, time | |
| while True: | |
| url = "https://v1.hitokoto.cn/?c=i" | |
| response = requests.get(url).json() | |
| file = open('p.txt','w',encoding='utf-8') | |
| file.write(response['hitokoto']+"\n"+response['from_who']+" 《"+response['from']+"》") | |
| file.close() | |
| print(response) | |
| time.sleep(30) |
| // ==UserScript== | |
| // @name 辽宁省干部在线学习网_刷课 | |
| // @namespace lngbzx.gov.cn | |
| // @version 0.4.1 | |
| // @description 闲的没事 | |
| // @author qingcaomc@gmail.com | |
| // @license GPLv3 | |
| // @match http://*.lngbzx.gov.cn/student/enterCourse.do* | |
| // @grant none | |
| // @icon https://avatars3.githubusercontent.com/u/25388328 |