Skip to content

Instantly share code, notes, and snippets.

View kezzyhko's full-sized avatar
💜
💜💜💜🤍🤍 3/5

kezzyhko kezzyhko

💜
💜💜💜🤍🤍 3/5
View GitHub Profile
@kezzyhko
kezzyhko / MattParker_HumblePi_brainfuck.md
Last active March 6, 2025 00:31
Brainfuck code from Matt Parker's book "Humble Pi"

Source: ++++[>+++++<-]>-[>++++++>+++++>++<<<-]>-----.>++.<+++++++..+++.>.<----.>>+.<++++.<-.>.

Output: mattwas'ere

@kezzyhko
kezzyhko / chat_gpt_attack.py
Last active March 5, 2025 19:41
PoC of one-click information leak attack on ChatGPT
import random
import string
import urllib.parse
WEBHOOK_LINK = "your webhook service"
CHAT_GPT_LINK = "https://chatgpt.com/?q="
IS_DEBUG = False
ANTI_CACHE_LENGTH = 3
@kezzyhko
kezzyhko / braille.html
Created March 2, 2025 23:07
Braille character made out of html checkboxes + some css
<!DOCTYPE html>
<html lang="en">
<head>
<title>Braille translator</title>
<style>
.braille-6 {
display: inline-grid;
grid-auto-flow: column;
grid-template-columns: repeat(2, 50%);
grid-template-rows: repeat(3, 33%);
@kezzyhko
kezzyhko / MedallionShellTest.cs
Last active February 17, 2025 17:27
Testing MedallionShell in Unity
#if UNITY_EDITOR
using System;
using UnityEditor;
using Medallion.Shell;
using UnityEditor.Compilation;
using UnityEngine;
public static class MedallionShellTest
{
@kezzyhko
kezzyhko / $strings_words.sh
Last active January 16, 2025 15:40
Using `strings` command to extract real words
strings $1 | grep -wFf <(grep -E '^.{4,}$' ~/words.txt)
@kezzyhko
kezzyhko / hardware_info.bat
Created January 9, 2025 14:22
Convenient script to gather info about PC build
@echo off
echo[
echo[
echo MTB:
wmic baseboard get Manufacturer, Product
echo CPU:
wmic cpu get Name
@kezzyhko
kezzyhko / read_github_commits_binary.py
Last active November 2, 2024 18:32
Tool for decoding binary messages from a screenshot of github's yearly commit chart [Dev Detour rickroll]
from PIL import Image
DELTA_X = 17
DELTA_Y = 17
START_X = 10
START_Y = 10
# https://stackoverflow.com/a/138260/6702274
im = Image.open('Untitled.png')
pix = im.load()
@kezzyhko
kezzyhko / !JsonFile.cs
Last active October 3, 2024 07:29
Class for modifying Json files using DataContract (+ an example for Unity's manifest file)
using System;
using System.IO;
using System.Runtime.Serialization.Json;
using System.Threading.Tasks;
public class JsonFile<T> : IDisposable, IAsyncDisposable
{
private static readonly DataContractJsonSerializer Serializer = new(typeof(T), new DataContractJsonSerializerSettings
{
UseSimpleDictionaryFormat = true,
@kezzyhko
kezzyhko / ReflectionExtensions.cs
Last active August 22, 2024 16:33
Class for testing reflection extensions
// https://www.programiz.com/csharp-programming/online-compiler/
// Online C# Editor for free
// Write, Edit and Run your C# code using C# Online Compiler
using System;
using System.Collections.Generic;
using System.Reflection;
using Pure = System.Diagnostics.Contracts.PureAttribute;
public class Test {