- Open Issue [Discussion] Use [] grammar for
in
operator in matcher. - Open Issue Duplicate
save
button - Open Issue Add mutation for control policies with GraphQL.
- Open Issue [Bug] Release CI failed
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
#!/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' \ |
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
#!/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() { |
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
TypeScript 1 hr 51 mins βββββββββββββββββββββ 52.6% | |
Go 49 mins βββββββββββββββββββββ 23.4% | |
JavaScript 21 mins βββββββββββββββββββββ 10.0% | |
Kotlin 12 mins βββββββββββββββββββββ 6.0% | |
Other 11 mins βββββββββββββββββββββ 5.6% |
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
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
import subprocess | |
import uuid | |
import uvicorn | |
from fastapi import FastAPI, UploadFile, File | |
from fastapi.middleware.cors import CORSMiddleware | |
app = FastAPI() | |
app.add_middleware( |
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
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: |
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
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 |
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
macro package json_cj | |
import std.ast.* | |
public import json_cj.helper.castJsonValue | |
enum JsonState { | |
| Initial | |
| ObjectStart | |
| ObjectKey | |
| ObjectColon |