This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function JumpToVote(){ | |
let username = "???" | |
let password = "???" | |
let xhr = new XMLHttpRequest() | |
xhr.onreadystatechange = function(){ | |
if(xhr.readyState == 4 && xhr.status == 200){ | |
let data = JSON.parse(xhr.responseText) | |
let token = data.response.token | |
let uid = data.response.uid | |
window.location.href = `http://dev.tjut.cc:92/?uid=${uid}&token=${token}&source=ml` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; line-height: 1.5; color: #24292e; background-color: #fff; } | |
.container { width: 980px; margin: 20px auto; } | |
.readme .markdown-body, .readme .plain { padding: 45px; word-wrap: break-word; background-color: #fff; border: 1px solid #ddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } | |
.markdown-body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; line-height: 1.5; word-wrap: break-word; } | |
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const menu = [ | |
{ | |
name: 'YOSHINOYA 22', | |
weight: 4 | |
}, | |
{ | |
name: 'YOSHINOYA 24', | |
weight: 4 | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
/* | |
module.exports = { | |
key: fs.readFileSync('domain.key'), | |
cert: fs.readFileSync('fullchain.cer'), | |
} | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from Crypto.Cipher import AES | |
f = open('before.bmp','rb') | |
bid_header = f.read(54) | |
raw_data = f.read() | |
f.close() | |
pad = lambda s: s + (16 - len(s) % 16) * chr(16 - len(s) % 16) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PUBLIC KEY----- | |
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDgtQn2JZ34ZC28NWYpAUd98iZ3 | |
7BUrX/aKzmFbt7clFSs6sXqHauqKWqdtLkF2KexO40H1YTX8z2lSgBBOAxLsvakl | |
V8k4cBFK9snQXE9/DDaFt6Rr7iVZMldczhC0JNgTz+SHXT6CBHuX3e9SdB1Ua44o | |
ncaTWz7OBGLbCiK45wIDAQAB | |
-----END PUBLIC KEY----- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetStoreCapslockMode, Off | |
global capslock, action, click | |
Capslock:: | |
SetTimer, Timeout, -300 | |
click:=1 | |
capslock:=1 | |
action:=0 | |
KeyWait, Capslock | |
if(!action && click){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keycode 66 = Mode_switch Caps_Lock | |
keycode 25 = w W Up | |
keycode 38 = a A Left | |
keycode 39 = s S Down | |
keycode 40 = d D Right |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ apt-get install dnsmasq | |
# /etc/dnsmasq.conf | |
no-resolv | |
no-hosts | |
server=119.29.29.29 | |
addn-hosts=/etc/dnsmasq.hosts | |
#listen-address=127.0.0.1 | |
# /etc/dnsmasq.hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[client] | |
default-character-set = utf8mb4 | |
[mysql] | |
default-character-set = utf8mb4 | |
[mysqld] | |
character-set-client-handshake = FALSE | |
character-set-server = utf8mb4 | |
collation-server = utf8mb4_unicode_ci | |
init_connect = 'SET NAMES utf8mb4' |
OlderNewer