Skip to content

Instantly share code, notes, and snippets.

View leoleoasd's full-sized avatar
๐Ÿฅฐ
slackin'

Yuxuan Lu leoleoasd

๐Ÿฅฐ
slackin'
View GitHub Profile
@leoleoasd
leoleoasd / ๆ•™ๅŠกๅขžๅผบ.js
Created December 22, 2020 07:04
ๆญฃๆ–นๆ•™ๅŠก็ณป็ปŸ๐Ÿ‘Ž
// ==UserScript==
// @name ๅทฅๅคงๆ•™ๅŠก็ฎก็†ๅฏ†็ ่‡ชๅŠจ่พ“ๅ…ฅ
// @namespace http://leoleoasd.me/
// @version 1.0
// @description Fuck ZFJW!
// @author You
// @match https://jwglxt.bjut.edu.cn/xtgl/login_slogin.html
// @grant none
// @run-at document-start
// ==/UserScript==
@leoleoasd
leoleoasd / ketangpai.js
Last active November 28, 2024 01:08
่ฏพๅ ‚ๆดพๅขžๅผบ
// ==UserScript==
// @name ่ฏพๅ ‚ๆดพๅฟซๆท้”ฎ
// @namespace http://leoleoasd.me/
// @version 0.1
// @description ็ป™่ฏพๅ ‚ๆดพ็š„ๅˆคไฝœไธš็•Œ้ขๅขžๅŠ ๅฟซๆท้”ฎ.
// @author Leo
// @match https://www.ketangpai.com/Review/file/homeworkid/*
// @grant none
// ==/UserScript==
/*
@leoleoasd
leoleoasd / ่ฏพ่กจ.js
Created November 15, 2020 03:49
ๆญฃๆ–น่ฏพ่กจๅˆฐ ics
const DEFAULT_VERSION = "2.0";
const DEFAULT_PRODID = "-//TypeScript/Node.js//SCAU Course Exporter v1.0//CN";
const CRLF = "\r\n";
const SPACE = " ";
const iframe = document.querySelector("#iframeautoheight");
const PAGE = {
"main": /xs_main.aspx/,
"course_table": /xskbcx.aspx/
};
class Value {
@leoleoasd
leoleoasd / keybase.md
Last active February 27, 2021 15:40
keybase.md

Keybase proof

I hereby claim:

  • I am leoleoasd on github.
  • I am leoleoasd (https://keybase.io/leoleoasd) on keybase.
  • I have a public key whose fingerprint is E138 B5E9 6541 EFF7 DCD4 5FC2 69F7 C86A 3D67 3AEA

To claim this, I am signing this object:

@leoleoasd
leoleoasd / I'm a night ๐Ÿฆ‰
Last active October 28, 2020 00:42
My productive times
๐ŸŒž ๆ—ฉไธŠ 64 commits โ–ˆโ–ˆโ–Œโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 11.9%
๐ŸŒ† ็™ฝๅคฉ 151 commits โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‰โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 28.2%
๐ŸŒƒ ๆ™šไธŠ 243 commits โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–Œโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 45.3%
๐ŸŒ™ ๆทฑๅคœ 78 commits โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 14.6%
@leoleoasd
leoleoasd / My recent activities
Last active December 22, 2020 00:41
My recent activities
๐Ÿ—ฃ Commented on #1 in OI-wiki/OI-Wiki-export
โ—๏ธ Opened issue #1 in OI-wiki/OI-Wiki-export
๐Ÿ’ช Opened PR #2838 in OI-wiki/OI-wiki
๐Ÿ’ช Opened PR #2837 in OI-wiki/OI-wiki
๐Ÿ’ช Opened PR #2836 in OI-wiki/OI-wiki
@leoleoasd
leoleoasd / hooks.go
Last active April 8, 2022 19:16
Simple hooks system in golang.
package main
import (
"fmt"
"reflect"
)
var hooks = map[string][]interface{}{}
func addHook(hook_name string, hook interface{}) {
@leoleoasd
leoleoasd / main.go
Last active May 5, 2020 08:03
TurnipQueueBot
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"os"
"os/signal"
"strconv"
@leoleoasd
leoleoasd / shuake.py
Created January 15, 2020 06:05
ๆ–ฐ็”Ÿๅฎ‰ๅ…จๆ•™่‚ฒๅˆท่ฏพ่„šๆœฌ
#--coding:utf-8--
import requests
import time
userProjectId = ''
tenantCode = ''
userId = ''
token = ''
resp = requests.post("https://weiban.mycourse.cn/pharos/usercourse/listCourse.do?timestamp={}".format(int(time.time())),
data={
@leoleoasd
leoleoasd / bjut_login.sh
Created January 11, 2020 06:53
ๆ กๅ›ญ็ฝ‘็™ปๅฝ•, ๆ”ฏๆŒIPV6.
#!/usr/bin/env bash
# Read username & password from stdin
# Suited for public computers where credentials are not saved
read -p 'username: ' user
read -p 'password: ' -s pwd
echo
DATE=`date '+%Y-%m-%d %H:%M:%S'`