Skip to content

Instantly share code, notes, and snippets.

View slanterns's full-sized avatar
💭
忽忽若有所亡

Slanterns slanterns

💭
忽忽若有所亡
View GitHub Profile
package hello
import πg "grumpy"
var Code *πg.Code
func init() {
Code = πg.NewCode("<module>", "hello.py", nil, 0, func(πF *πg.Frame, _ []*πg.Object) (*πg.Object, *πg.BaseException) {
var πR *πg.Object; _ = πR
var πE *πg.BaseException; _ = πE
ß := πg.InternStr("")
ß4 := πg.InternStr("4")
ßA := πg.InternStr("A")
@slanterns
slanterns / hello.py
Last active December 23, 2019 18:41
import math
class Tboard(object):
def __init__(self, data):
self.data = data
self.complete = False
self.rotateCnt = 0
self.mirrored = False
self.impo = False
import math
class Tboard():
def __init__(self, data):
self.data = data
self.complete = False
self.rotateCnt = 0
self.mirrored = False
self.impo = False
@slanterns
slanterns / codeShit.py
Created October 23, 2019 07:55
Engg 1330 Ass 2.4
import math
size = int(input("Size--> "))
def matPrint(mat):
width = int(math.ceil((math.log10(size ** 2 - 1))))
for i in range(size):
rowStr = ''
for j in range(size):
k = size * i + j
@slanterns
slanterns / mlist.txt
Last active October 30, 2019 14:28
Slanterns' local music list
驱动器 D 中的卷没有标签。
卷的序列号是 E6CC-8E63
D:\music 的目录
2019/10/30 22:21 <DIR> .
2019/10/30 22:21 <DIR> ..
2019/10/30 21:56 <DIR> cmdown
2019/10/30 22:27 0 list.txt
2019/10/30 21:52 <DIR> 其他来源
route delete 1.0.1.0/24
route delete 1.0.2.0/23
route delete 1.0.8.0/21
route delete 1.0.32.0/19
route delete 1.1.0.0/24
route delete 1.1.2.0/23
route delete 1.1.4.0/22
route delete 1.1.8.0/21
route delete 1.1.16.0/20
route delete 1.1.32.0/19
chcp 65001
@echo off
echo by slanterns
echo inspired by https://github.com/FQrabbit/VPN-skip-China-route
echo 请在关闭 vpn 的情况下运行此脚本,以免网关识别错误
echo 推荐配合 https://github.com/openconnect/openconnect-gui/releases/download/v1.5.3/openconnect-gui-1.5.3-win32.exe 食用
title date updated tags categories permalink
Slanterns 的番剧列表
2018-11-23 14:46:31 -0800
日常
Bangumi-List
--------------------------------------------------------------------------------
reference
https://github.com/openssl/openssl
https://serverfault.com/questions/842037/how-do-you-enable-tls1-3-in-nginx
https://ma.ttias.be/enable-tls-1-3-nginx/
https://github.com/WeMobileDev/article/blob/master/基于TLS1.3的微信安全通信协议mmtls介绍.md
[https://github.com/WeMobileDev/article/blob/master/%E5%9F%BA%E4%BA%8ETLS1.3%E7%9A%84%E5%BE%AE%E4%BF%A1%E5%AE%89%E5%85%A8%E9%80%9A%E4%BF%A1%E5%8D%8F%E8%AE%AEmmtls%E4%BB%8B%E7%BB%8D.md]
https://www.starduster.me/2017/04/27/nginx-1-13-with-tls13/
https://tlswg.github.io/tls13-spec/
#! /bin/bash
# 创建编译目录
mkdir build_ngx && cd build_ngx
# brotli
git clone https://github.com/eustas/ngx_brotli.git #google/ngx_brotli 年久失修
cd ngx_brotli
git submodule update --init
cd ..