This reports serves as the final evaluation report for GSoC 2021.
My proposal for GSoC 2021 is Refactor Casbin.js and other optimizations on pycasbin and node-casbin.
For all detailed contribution, please refer to Contribution Analysis
macro package json_cj | |
import std.ast.* | |
public import json_cj.helper.castJsonValue | |
enum JsonState { | |
| Initial | |
| ObjectStart | |
| ObjectKey | |
| ObjectColon |
From c36f0134350358f0723fdd12d50f37bfef67f6ff Mon Sep 17 00:00:00 2001 | |
From: Zxilly <[email protected]> | |
Date: Fri, 12 Jul 2024 22:45:00 +0800 | |
Subject: [PATCH] internal/bytealg: extend memchr result correctly | |
--- | |
src/internal/bytealg/indexbyte_wasm.s | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/src/internal/bytealg/indexbyte_wasm.s b/src/internal/bytealg/indexbyte_wasm.s |
import socket | |
import argparse | |
import threading | |
import logging | |
def main(server_ip, server_port, log_file): | |
logging.basicConfig(filename=log_file, level=logging.INFO, | |
format='%(asctime)s - %(levelname)s - %(message)s') | |
with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as server_socket: |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQENBFhxW04BCAC61HuxBVf1XJiQjXu/DSAtVcnuK38geDoDjcqFtHskFy32NgJG | |
X118EFNym6noF+oibaSftI9yjHthWvMnYZ/+DPwd7YZhbAjBvxMIQCsP6cFVxrgc | |
VV8g+uh4TCfbpalDBFoncRhQCgkmDN9Vd4kIWRh6BHJuzpKB/h2KxUHZVEKgWlK2 | |
dR1xUtbrc+kp8gLwPbxTgC3tZ4x2uMMMlnbyCMSRa5oJ/AvoW4W1XphKL9ivsFHM | |
PSQkUBDvgv2RPw+0XBxPy8SYE0r0onx0ZIpjJRTODt3bSV6/0owwlpNogV9bT8HY | |
kl3+w3mTwax6S1akHZuJtLkZS0uUBz1BHt5bABEBAAG0IVhhbk1vZCBLZXJuZWwg | |
PGtlcm5lbEB4YW5tb2Qub3JnPokBNwQTAQgAIQUCWHFbTgIbAwULCQgHAgYVCAkK |
import subprocess | |
import uuid | |
import uvicorn | |
from fastapi import FastAPI, UploadFile, File | |
from fastapi.middleware.cors import CORSMiddleware | |
app = FastAPI() | |
app.add_middleware( |
This reports serves as the final evaluation report for GSoC 2021.
My proposal for GSoC 2021 is Refactor Casbin.js and other optimizations on pycasbin and node-casbin.
For all detailed contribution, please refer to Contribution Analysis
in
operator in matcher.save
buttonOther 8 hrs 43 mins ███████▎░░░░░░░░░░░░░ 35.0% | |
C++ 5 hrs 43 mins ████▊░░░░░░░░░░░░░░░░ 22.9% | |
Go 3 hrs 37 mins ███░░░░░░░░░░░░░░░░░░ 14.5% | |
Rust 3 hrs 4 mins ██▌░░░░░░░░░░░░░░░░░░ 12.3% | |
JSON 44 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.0% |
#!/bin/sh | |
studentid='' # 用户名 | |
password='' # 密码 | |
IP=$(ubus call network.interface.wan status | grep \"address\" | grep -oE '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}') | |
# IP="10.73.26.189" | |
UA="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" | |
function login() { |
#!/bin/sh | |
curl 'https://www.baidu.com/s?ie=UTF-8&wd=curl%20useragent' \ | |
-H 'Connection: keep-alive' \ | |
-H 'Pragma: no-cache' \ | |
-H 'Cache-Control: no-cache' \ | |
-H 'Upgrade-Insecure-Requests: 1' \ | |
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51' \ | |
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \ | |
-H 'Sec-Fetch-Site: same-origin' \ | |
-H 'Sec-Fetch-Mode: navigate' \ |