Skip to content

Instantly share code, notes, and snippets.

View tearfulDalvik's full-sized avatar
🎃
Focusing

Gufeng Shen tearfulDalvik

🎃
Focusing
View GitHub Profile
#include <stdio.h>
#include <windows.h>
#include <vector>
typedef struct COLOR {
BYTE rgbaBlue;
BYTE rgbaGreen;
BYTE rgbaRed;
BYTE rgbaAlpha;
} *PCOLOR;
@tearfulDalvik
tearfulDalvik / cqupt.conf
Created July 17, 2020 15:39
CQUPT Reverse Proxy Configuration
# Unusual ports are not supported.
server {
listen 80;
server_name endpoint.domain;
set $cqupt www.cqupt.edu.cn;
resolver 202.202.32.33 202.202.32.34 valid=3600s;
error_page 500 502 503 504 /500.html;
@tearfulDalvik
tearfulDalvik / pydio-decrypt.py
Created June 26, 2021 08:53 — forked from drzraf/pydio-decrypt.py
Decrypt a file encrypted using Pydio-cells
#!/usr/bin/python3
# Copyright (C) 2020, Raphaël . Droz + floss @ gmail DOT com
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# Decrypt a file encrypted using Pydio-cells, assuming are provided
# - export the encrypted master key as exported by the UI
@tearfulDalvik
tearfulDalvik / v2ray.conf
Last active October 31, 2022 03:56
Test V2Ray config
{
"inbounds": [
{
"port": 10086,
"protocol": "shadowsocks",
"settings": {
"method": "aes-128-gcm",
"ota": true,
"password": "ipv4-c001-ctg001-telxius-isp.1.oca.nflxvideo.net"
}