Skip to content

Instantly share code, notes, and snippets.

View KiRist-code's full-sized avatar
๐Ÿ’ญ
UwU

KiRist KiRist-code

๐Ÿ’ญ
UwU
View GitHub Profile
@slowkow
slowkow / ssh-tutorial.md
Last active March 27, 2026 06:23
ssh to a server without typing your password

How to ssh to a remote server without typing your password

Save yourself a few keystrokes. Follow the steps below:

  1. Run this Bash script on your laptop:

    #!/usr/bin/env bash
    

The hostname of your remote server.

@luncliff
luncliff / cmake-tutorial.md
Last active May 14, 2026 01:42
CMake ํ• ๋•Œ ์ชผ์˜ค์˜ค๊ธˆ ๋„์›€์ด ๋˜๋Š” ๋ฌธ์„œ

CMake๋ฅผ ์™œ ์“ฐ๋Š”๊ฑฐ์ฃ ?
์ข‹์€ ํˆด์€ Visual Studio ๋ฟ์ž…๋‹ˆ๋‹ค. ๊ทธ ์ด์™ธ์—๋Š” ์ „๋ถ€ ์‚ฌ๋„(้‚ช้“)์ž…๋‹ˆ๋‹ค ์‚ฌ๋„! - ์ž‘์„ฑ์ž

์ฃผ์˜

  • ์ด ๋ฌธ์„œ๋Š” CMake๋ฅผ ์ฃผ๊ด€์ ์œผ๋กœ ์„œ์ˆ ํ•ฉ๋‹ˆ๋‹ค
  • ์ด ๋ฌธ์„œ๋ฅผ ํ†ตํ•ด CMake๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ์—” ์ ํ•ฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค
    https://cgold.readthedocs.io/en/latest/ 3.1 ์ฑ•ํ„ฐ๊นŒ์ง€ ๋”ฐ๋ผํ•ด๋ณธ ์ดํ›„ ๊ธฐ๋ณธ์‚ฌํ•ญ๋“ค์„ ์†์„ฑ์œผ๋กœ ์ตํžˆ๋Š” ๊ฒƒ์„ ๋•๊ธฐ์œ„ํ•œ ๋ณด์กฐ์ž๋ฃŒ๋กœ์จ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค
@Eniwder
Eniwder / discordRequestSample.js
Last active January 7, 2022 10:22
discord request sample in dev tool
var xhr = new XMLHttpRequest();
xhr.open("POST", "https://discordapp.com/api/v6/channels/{channelId}/messages", true);
xhr.setRequestHeader('Content-Type','application/json');
xhr.setRequestHeader('Authorization',authKey); // check message header
xhr.send(JSON.stringify({
content:'somthing message'
}));
// sample request
var xhr = new XMLHttpRequest();
@niklaskeerl
niklaskeerl / install_pwndbg.md
Last active March 15, 2026 01:39
Install pwndbg and gdb on arch linux

How to install pwndbg and gdb on arch linux

sudo pacman -S gdb
sudo pacman -S pwndbg
echo 'source /usr/share/pwndbg/gdbinit.py' >> ~/.gdbinit

If you are getting the following error "Cannot find Pwndbg virtualenv directory: /usr/share/pwndbg/.venv: please re-run setup.sh", do the following steps, otherwise ignore:

๐ŸŒž Morning 19 commits โ–ˆโ–ˆโ–ˆโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 15.1%
๐ŸŒ† Daytime 46 commits โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‹โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 36.5%
๐ŸŒƒ Evening 58 commits โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‹โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 46.0%
๐ŸŒ™ Night 3 commits โ–Œโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 2.4%
@Yuma-Tsushima07
Yuma-Tsushima07 / Jinja2-SSTI.md
Last active July 24, 2022 08:21
Jinja2- SSTI

Jinja2 SSTI

Jinja2 - Basic injection

{{4*4}}[[5*5]]
{{7*'7'}} would result in 7777777
{{config.items()}}

Jinja2 - Template format

@KiRist-code
KiRist-code / main.cpp
Created August 16, 2021 09:20
How to set SDL frame between wallpaper and wallpaper icon
/* if ur enviroment is Windows, import SDL2 and winapi
if ur enviroment is Linux or Unix, import SDL2 and X11/Xlib.h
*/
#if _WIN32 || _WIN64
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam) {
HWND p = FindWindowEx(hwnd, NULL, "SHELLDLL_DefView", NULL);
HWND* ret = (HWND*)lParam;
if (p) {
@abiriadev
abiriadev / internet_overdoes.md
Last active March 25, 2023 17:24
translated lyrics of INTERNET OVERDOSE

INTERNET OVERDOSE

ใ“ใฎๆททๆฒŒใจใ—ใŸใ€€ไปคๅ’Œใฎใ‚คใƒณใ‚ฟใƒผใƒใƒƒใƒˆใ‚’
์˜ค๋Š˜๋„ ์ด ํ˜ผ๋ˆ ์† ์ธํ„ฐ๋„ท ์„ธ์ƒ์—

็…งใ‚‰ใ™ไธ€็ญ‹ใฎๅ…‰
ํ•œ์ค„๊ธฐ ๋น›๋‚˜๋Š” ๊ด‘์„ 

้›ปๅญใฎๆตทใ‚’ๆผ‚ใ†ใ€€ใ‚ชใ‚ฟใ‚ฏใซ็ฌ‘้ก”ใ‚’
์ „์ž์˜ ๋Œ€ํ•ด๋ฅผ ํ—ค์—„์น˜๋Š” ์˜คํƒ€์ฟ ๋“ค์—๊ฒŒ ๋ฏธ์†Œ๋ฅผ