Skip to content

Instantly share code, notes, and snippets.

View hUwUtao's full-sized avatar
😔
being vibecoded out of no free time

stdpi hUwUtao

😔
being vibecoded out of no free time
View GitHub Profile
@hUwUtao
hUwUtao / fiss.md
Created August 25, 2023 17:10
Script 24/8/23

Phản ứng hạt nhân là quá trình biến đổi các nguyên tử của một nguyên tố thành các nguyên tử của một nguyên tố khác, thường kèm theo sự giải phóng năng lượng lớn.

Phản ứng hạt nhân đã thay đổi thế giới trước và sau thời kì nguyên tử bằng cách:

  • Tạo ra vũ khí hủy diệt hàng loạt như bom nguyên tử, bom nhiệt hạch, bom nhiệt hạch nhiều giai đoạn.
  • Tạo ra nguồn năng lượng sạch, bền vững và hiệu quả như các nhà máy điện hạt nhân, các tàu ngầm hạt nhân, các tàu vũ trụ hạt nhân.
  • Tạo ra các ứng dụng trong y tế, công nghiệp, nông nghiệp, khai thác khoáng sản như chẩn đoán và điều trị bằng phóng xạ, đo tuổi của các vật liệu cổ, cải thiện năng suất cây trồng, phát hiện và khai thác các mỏ quặng.

Nguyên lý sản xuất điện bằng phản ứng hạt nhân là:

  • Sử dụng các nguyên tố phóng xạ như urani hoặc plutoni làm nhiên liệu trong các lò phản ứng hạt nhân.
@hUwUtao
hUwUtao / gsclup.sh
Created August 16, 2023 18:40
Manual Genshin Update Patching: Cleanup unused files with busybox/msys2
#!/bin/busybox ash
while read -r lin; do cat & rm -v "$lin"; done < <(cat deletefiles.txt | sed -r 's/ [a-z0-9@_-]+\\.target//;s/\\.service//g;s/ +/ /g;s/ /\\n/g' )
@hUwUtao
hUwUtao / spec.md
Created July 1, 2023 15:38
pseudocode language with custom runtime machine (prototype) version 2

no scalar, no flow control (abstract thing), only pseudo code

welcome to hell. there is no recursive

memory management

the memory is a table with fixed size

# 0 1 2 3 4 5 6 7 f
@hUwUtao
hUwUtao / nerdtector.js
Last active June 20, 2023 14:00
NERD-TECTOR 2000. Nanolibrary to check if your client is a developer or not. DO NOT TRACK INDIVIDUAL
window["__NERD_TECTOR_2000__"] = (() => {
const check = (me, type) => typeof me === (type || "object"),
cfs = {
__REACT_DEVTOOLS_GLOBAL_HOOK__: "f/f/react",
__REDUX_DEVTOOLS_EXTENSION__: "f/f/react/redux",
__VUE_DEVTOOLS_GLOBAL_HOOK__: "f/f/vue",
__APOLLO_DEVTOOLS_GLOBAL_HOOK__: "b/d/apollo",
__HOPP_EXTENSION_STATUS_PROXY__: "u/hpscotch",
__qc: "u/wapp",
webpackChunkclarity_live_chrome_extension: "d/clarity",
@hUwUtao
hUwUtao / Caddyfile
Created June 16, 2023 12:19
Experimental Bluemap configuration for caddy
root * /var/www/bluemap/web
@gzip {
header_regexp Accept-Encoding (x-)?gzip
file {
try_files {path}.gz
}
}
route @gzip {
header Content-Encoding gzip
rewrite {path}.gz
@hUwUtao
hUwUtao / Caddyfile
Last active September 8, 2024 16:42
Caddy basic securityheader.com policy
(seele) {
encode gzip
header Strict-Transport-Security "max-age=31536000; includeSubDomains"
header X-Frame-Options "SAMEORIGIN"
header X-Content-Type-Options "nosniff"
header Content-Security-Policy "default-src https: 'unsafe-inline' 'unsafe-eval';media-src blob: https:;worker-src blob: https:"
header Permissions-Policy "geolocation=(self), microphone=()"
header Referrer-Policy "no-referrer"
}
@hUwUtao
hUwUtao / .template.cpp
Last active April 10, 2023 18:13
hUwUtao's cpcpp template
#include <cmath>
#include <iostream>
using namespace std;
using ll = long long;
using ull = unsigned long long;
#define echo cout <<
#define en << endl
#define sp << ' ' <<
#define B(v) ((v) ? "YES" : "NO")
@hUwUtao
hUwUtao / prototype.txt
Last active June 14, 2023 17:30
A Turing's machine compatible language in mind
// base language
// value
// if start with 0-9 then will be parse to number
// if start with [ then the very next line will be the value
// if line start with | then try to pipe the next value until EOL (apply to text have space)
// else will find until a valid value (charCode >= 64), end with space
// then it will try to find comparision keyword l(eq, gr, ge, lr, le)
@hUwUtao
hUwUtao / counter.traffic1s.com.user.js
Last active February 8, 2023 06:36
Traffic1s.com search bypasser.
// ==UserScript==
// @name Traffic1s.com skipper
// @name:vi Chống rút gọn Traffic1s.com
// @namespace SignedBy.hUwUtao
// @license MIT
// @version 0.1
// @description time is golden, not for ya
// @description:vi Không cần tìm code trên google
// @author hUwUtao
// @match https://traffic1s.com/*
@hUwUtao
hUwUtao / 1.README.md
Last active December 6, 2022 06:39
napthe.sukiengenshin.com flooder

Specific scam site database flooder

Terrorism Level - 8/10

Quite expired! The web stop validate the data

  • Browser script

Howto use