Skip to content

Instantly share code, notes, and snippets.

View zu1k's full-sized avatar
🦉
make something interesting

zu1k zu1k

🦉
make something interesting
View GitHub Profile
@zu1k
zu1k / title.txt
Created December 8, 2022 12:49
uBlacklist
title/(博|竞)彩|投注|(亚|欧)博|百家乐|盘口|官.入口|捕鱼|娱乐城|真人网|赌场|(官网|推荐)(so|ee)|体育app|赌球|下注|(竞猜|指定)平台/
title/(办|做|购买|仿).*证|证.*微/
title/买.*女.*药/
@zu1k
zu1k / keybase.md
Created June 20, 2022 00:42
keybase proof

Keybase proof

I hereby claim:

  • I am zu1k on github.
  • I am zu1k (https://keybase.io/zu1k) on keybase.
  • I have a public key ASB8Su91Ht9Wkfe6ojTLMOA77E6bEXSCPN1qBa6QpLXRYwo

To claim this, I am signing this object:

@zu1k
zu1k / run-shell-with-sudo.sh
Last active October 15, 2020 11:15
run-shell-with-sudo.sh
#!/usr/bin/env bash
if [[ $EUID -ne 0 ]]; then
if sudo -v ; then
sudo $0
else
echo "请使用root权限运行脚本"
fi
else
# your shell
c3M6Ly9ZV1Z6TFRJMU5pMWpabUk2WlVsWE1FUnVhelk1TkRVMFpUWnVVM2QxYzNCMk9VUnRVekl3
TVhSUk1FUkFNVGt5TGpJME1DNHhNak11TWpZNk9EQTVOdz09I1NTUlRPT0xfTm9kZSUzQSVFNyVC
RSU4RSVFNSU5QiVCRC0lRTUlOEElQTAlRTUlODglQTklRTclQTYlOEYlRTUlQjAlQkMlRTQlQkEl
OUElRTUlQjclOUUKc3NyOi8vTVRreUxqSTBNQzR4TWpNdU1qWTZPREE1TnpwdmNtbG5hVzQ2WVdW
ekxUSTFOaTFqWm1JNmNHeGhhVzQ2V2xWc1dFMUZVblZoZWxrMVRrUlZNRnBVV25WVk0yUXhZek5D
TWs5VlVuUlZla2wzVFZoU1VrMUZVUzhfY21WdFlYSnJjejFWTVU1VFZrVTVVRlJHT1U5aU1sSnNU
M1ZsTFdwMVYySjJVek5zYVhGRWJHbExibTV3YjE5c2MweDZhM1Z3Y214ME5UUW1aM0p2ZFhBOVZq
RmtXRXhzVGxSVmJGSlFWREIzZFZFd09VNApzczovL1lXVnpMVEkxTmkxalptSTZaVWxYTUVSdWF6
WTVORFUwWlRadVUzZDFjM0IyT1VSdFV6SXdNWFJSTUVSQU1UazRMakkxTlM0M09DNHpOam80TURr
NSNTU1JUT09MX05vZGUlM0ElRTclQkUlOEUlRTUlOUIlQkQtJUU3JUJBJUJEJUU3JUJBJUE2JUU1
@zu1k
zu1k / CVE-2019-13720.html
Created June 21, 2020 03:33
CVE-2019-13720
<script>
function main() {
// 检查 chrome 版本号需要是 76-78
try {
var browserVersion = navigator.userAgent.split("Chrome/")[1].split(" Safari/")[0];
majorVersion = parseInt(browserVersion.substr(0, 2));
if (majorVersion != 77 && majorVersion != 76 && majorVersion != 78) {
return;
@zu1k
zu1k / .Cloud.md
Created June 18, 2020 23:13 — forked from imba-tjd/.Cloud.md
一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供软件/框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@zu1k
zu1k / 📊 Weekly development breakdown
Last active October 29, 2020 14:09
📊 Weekly development breakdown
Go 🕓 6 hrs 12 mins ███████████▌░░░░░░░░░ 55.1%
Markdown 🕓 2 hrs 48 mins █████▏░░░░░░░░░░░░░░░ 24.9%
TOML 🕓 1 hr 27 mins ██▋░░░░░░░░░░░░░░░░░░ 12.9%
YAML 🕓 21 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.1%
HTML 🕓 11 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.7%
@zu1k
zu1k / prepare.sh
Created April 9, 2020 12:45
linux准备脚本
#!/bin/bash
# prepare for debian and ubuntu
# update
apt update && apt upgrade -y
apt install -y sudo zsh git nano wget curl python3 python3-pip htop
apt install -y sudo neofetch ipython3
# docker
@zu1k
zu1k / check.bat
Last active December 9, 2021 19:33
KMS脚本
@echo off
::配置BAT对话框样式
title KMS服务器检查脚本
MODE con: COLS=42 lines=8
color 0a
::检测vlmcs.exe
isolation.tools.getPtrLocation.disable = "TRUE"
isolation.tools.setPtrLocation.disable = "TRUE"
isolation.tools.setVersion.disable = "TRUE"
isolation.tools.getVersion.disable = "TRUE"
monitor_control.disable_directexec = "TRUE"
monitor_control.disable_chksimd = "TRUE"
monitor_control.disable_ntreloc = "TRUE"
monitor_control.disable_selfmod = "TRUE"
monitor_control.disable_reloc = "TRUE"
monitor_control.disable_btinout = "TRUE"