Skip to content

Instantly share code, notes, and snippets.

View wuhan005's full-sized avatar
🐦
Noob

E99p1ant wuhan005

🐦
Noob
View GitHub Profile
@hatsuyuki280
hatsuyuki280 / cf_uni_cert_switcher.py
Last active October 16, 2024 15:28
Cloudflare Universal SSL switch to Google CA
#!/bin/env python3
# Written by @hatsuyuki280
# with The Unlicense
# for more? refer to <https://unlicense.org>
# Use it and have fun!
from requests import get,patch
## Please make sure this token is valid to operate zone/ssl&cert (edit)
@pwn0rz
pwn0rz / fprpc.c
Created May 30, 2021 09:12
The MIG from FairplayIOKit to fairplayd
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <mach/mach.h>
#include <CommonCrypto/CommonCrypto.h>
#include <ctype.h>
void hexdump(void *ptr, int buflen) {
unsigned char *buf = (unsigned char*)ptr;
int i, j;
@luisca-dev
luisca-dev / puppeteer-ubuntu-1804.md
Created May 22, 2019 01:15
Solution for common dependences issues using puppeteer in ubuntu 18.04 (Bionic)

puppeteer dependeces in ubuntu 18.04 (Bionic)

error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

sudo apt-get install libnss3

error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libxss1
@journey-ad
journey-ad / 2233.zenra.js
Last active November 24, 2025 23:54
哔站直播间的2233娘挂件替换为全裸版本
// ==UserScript==
// @name 哔站直播全裸2233娘
// @description 哔站直播间的2233娘挂件替换为全裸版本
// @description:zh-TW 嗶站直播間的2233娘掛件替換為全裸版本
// @namespace https://github.com/journey-ad
// @author journey-ad
// @include *://live.bilibili.com/*
// @require https://cdn.jsdelivr.net/jquery/1.12.4/jquery.min.js
@seanh
seanh / html_tags_you_can_use_on_github.md
Last active January 24, 2026 03:23
HTML Tags You Can Use on GitHub

HTML Tags You Can Use on GitHub

Wherever HTML is rendered on GitHub (gists, README files in repos, comments on issues and pull requests, ...) you can use any of the HTML elements that GitHub Flavored Markdown (GFM) provides syntactic sugar for. You can either use the syntactic sugar that GFM (or other GitHub-supported markup language you're using) provides or, since Markdown can contain raw HTML, you can enter the HTML tags manually.

But GitHub also allows you to use a few HTML elements beyond what Markdown provides by entering the tags manually, and some of them are styled with CSS. Most raw HTML tags get stripped before rendering the HTML. Those tags that can be generated by GFM syntactic sugar, plus a few more, are whitelisted. These aren't documented anywhere that I can find. Here's what I've discovered so far:

<details> and <summary>

A `<detai

import re
import time
import random
import requests
from bs4 import BeautifulSoup
url = "http://jxgl.hdu.edu.cn/jxrwcx.aspx"
session = requests.Session()
r = requests.get(url)
@rickyzhang82
rickyzhang82 / keycode.linux
Created September 15, 2017 22:11
Key code for Linux
# /usr/share/BasiliskII/keycodes
#
# Basilisk II (C) 1997-2005 Christian Bauer
#
# This file is used to translate the (server-specific) scancodes to
# Mac keycodes depending on the window server being used.
#
# The format of this file is as follows:
#
# sdl <driver string>
@deviantony
deviantony / README.md
Last active December 4, 2025 20:26
Portainer HTTP API by example

DEPRECATION NOTICE

This gist is now deprecated in favor of our official documentation: https://documentation.portainer.io/api/api-examples/ which contains up to date examples!

THE FOLLOWING DOCUMENTATION IS DEPRECATED

Please refer to the link above to get access to our updated API documentation and examples.

@phith0n
phith0n / fpm.py
Last active March 1, 2026 07:37
Fastcgi PHP-FPM Client && Code Execution
import socket
import random
import argparse
import sys
from io import BytesIO
# Referrer: https://github.com/wuyunfeng/Python-FastCGI-Client
PY2 = True if sys.version_info.major == 2 else False