- 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 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 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:VCALENDAR | |
VERSION:2.0 | |
PRODID:-//Zxilly//JGSUCalender//CN | |
X-WR-CALNAME:2020-2021-2 考试 | |
X-WR-TIMEZONE:Asia/Shanghai | |
BEGIN:VTIMEZONE | |
TZID:Asia/Shanghai | |
BEGIN:STANDARD | |
TZNAME:CST | |
TZOFFSETFROM:+0800 |
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 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 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 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 PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQENBFhxW04BCAC61HuxBVf1XJiQjXu/DSAtVcnuK38geDoDjcqFtHskFy32NgJG | |
X118EFNym6noF+oibaSftI9yjHthWvMnYZ/+DPwd7YZhbAjBvxMIQCsP6cFVxrgc | |
VV8g+uh4TCfbpalDBFoncRhQCgkmDN9Vd4kIWRh6BHJuzpKB/h2KxUHZVEKgWlK2 | |
dR1xUtbrc+kp8gLwPbxTgC3tZ4x2uMMMlnbyCMSRa5oJ/AvoW4W1XphKL9ivsFHM | |
PSQkUBDvgv2RPw+0XBxPy8SYE0r0onx0ZIpjJRTODt3bSV6/0owwlpNogV9bT8HY | |
kl3+w3mTwax6S1akHZuJtLkZS0uUBz1BHt5bABEBAAG0IVhhbk1vZCBLZXJuZWwg | |
PGtlcm5lbEB4YW5tb2Qub3JnPokBNwQTAQgAIQUCWHFbTgIbAwULCQgHAgYVCAkK |
This file contains 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 | |
def main(server_ip, server_port): | |
with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as server_socket: | |
server_socket.bind((server_ip, server_port)) | |
print(f"Server is listening on {server_ip}:{server_port}") | |
while True: | |
data, client_address = server_socket.recvfrom(10000) |
This file contains 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
Go 26 hrs 54 mins ██████████████████▏░░ 86.4% | |
YAML 1 hr 6 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.6% | |
Python 50 mins ▌░░░░░░░░░░░░░░░░░░░░ 2.7% | |
TypeScript 27 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.5% | |
Markdown 24 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.3% |