Skip to content

Instantly share code, notes, and snippets.

View un4ckn0wl3z's full-sized avatar
🖕
An idiot admires complexity; a genius admires simplicity

Anuwat Khongchuai un4ckn0wl3z

🖕
An idiot admires complexity; a genius admires simplicity
View GitHub Profile
Decimal (base 10) Binary (base 2) Hexadecimal (aka "Hex") (base 16)
00 0000b 0x00
01 0001b 0x01
02 0010b 0x02
03 0011b 0x03
04 0100b 0x04
05 0101b 0x05
06 0110b 0x06
07 0111b 0x07
08 1000b 0x08
// import http from "k6/http";
// export const options = {
// iterations: 1000,
// };
// export default function () {
// const response = http.get("http://localhost:3000/health");
// }
@un4ckn0wl3z
un4ckn0wl3z / clinic doctor command
Created December 18, 2023 09:07
clinic_doctor.sh
set ZONE=local&&clinic doctor -- node dist/main.js
#pragma warning(disable: 4996)
#include <ntddk.h>
void DriverCleanup(PDRIVER_OBJECT DriverObject);
PVOID someAllocation;
extern "C"
NTSTATUS
#include <ntddk.h>
extern "C"
NTSTATUS
DriverEntry(
_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_STRING RegistryPath)
{
UNREFERENCED_PARAMETER(DriverObject);
#include <ntddk.h>
NTSTATUS
DriverEntry(
_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_STRING RegistryPath)
{
return STATUS_SUCCESS;
}
NTSTATUS DriverEntry(
_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_STRING RegistryPath)
@un4ckn0wl3z
un4ckn0wl3z / dark-style.css
Created November 13, 2023 05:01 — forked from Advik-B/dark-style.css
Modern Qt StyleSheet for dark theme lovers
/*-----QWidget-----*/
QWidget
{
background-color: #121212;
color: #ffffff;
border-color: #051a39;
}
Deleting the .git folder may cause problems in your git repository. If you want to delete all your commit history but keep the code in its current state, it is very safe to do it as in the following:
Checkout
git checkout --orphan latest_branch
Add all the files
git add -A