Skip to content

Instantly share code, notes, and snippets.

View azzen's full-sized avatar
💻
Cracking the matrix code

azzen azzen

💻
Cracking the matrix code
View GitHub Profile
@azzen
azzen / history.lua
Last active September 12, 2022 10:44
Native chat history
-- Author: azzen <contact@azzen.dev>
-- Creation date: 2022-09-09
require("keystroke")
if (not isfunction(SimulateKeyStroke) or not isfunction(SimulateBackspace)) then
print("[stweaks.azzen.dev::history] » keystroke module must be installed to work!")
return
end
local history = {}
-- Author: azzen <contact@azzen.dev>
-- Creation date: 2022-08-16
-- Some parts of this code were stolen and adapted from:
-- https://gist.github.com/theawesomecoder61/d2c3a3d42bbce809ca446a85b4dda754
AZN_RadialMenu = AZN_RadialMenu or {}
AZN_RadialMenu.utils = AZN_RadialMenu.utils or {}
AZN_RadialMenu.utils.math = AZN_RadialMenu.utils.math or {}
local math = math
local ipairs = ipairs
@azzen
azzen / init.vim
Created August 3, 2022 07:57
Light nvim config
set title
set hidden
set expandtab
set shiftwidth=4
set tabstop=4
set number
set relativenumber
filetype plugin indent on
syntax on
set t_Co=256
@azzen
azzen / click.c
Created July 31, 2022 09:20
Auto left click on color change on Windows
#include <stdio.h>
#include <windows.h>
#define COLOR_TO_SEARCH RGB(21, 139, 227)
#define SLEEP_TIME 10000
void Click(void);
int main(int argc, char** argv) {
COLORREF color_to_search = COLOR_TO_SEARCH;
@azzen
azzen / lujlu.lua
Created April 30, 2022 18:09 — forked from meepen/lujlu.lua
LuaJit VM in Lua. Comes with fully operational bytecode interpreter. License is: contact me before using it commercially. - Now runs itself inside itself and itself inside itself inside itself
local bytecodes = {}
local BC, run_function = {}
local VARG_CONST = {}
local lujlu_mt_funcs
local lujlu_cache = setmetatable({}, {__mode = "k"})
local lujlu_identifier_mt = {
__tostring = function(self)
return tostring(lujlu_cache[self].data)
end,
@azzen
azzen / name.txt
Last active September 30, 2025 15:02
jeux de mots prenom
Marga Rita
Margot Faste
Jeremy Moncask
Oussama Lairbon
Gerard Menfaim
Dorian Namarre
Germain Tenant
Germain Baladeuse
Humphrey Bienfufé
Abdou Ceur
@azzen
azzen / split.py
Created August 18, 2021 10:32
Content splitter
# author: azzen <github.com/azzen>
# date: 2021/08/16 16:00
# split content into multiple directories
# usage: split.py <directory to split>
import os
import sys
import shutil
walk_dir = sys.argv[1]
@azzen
azzen / azzen.lua
Created January 27, 2021 13:00
visual assistant
if SERVER then return false end
CreateClientConVar("azzen_visualassistant", 0, true, false)
CreateClientConVar("azzen_visualassistant_radius", 750)
local radius = GetConVarNumber("azzen_visualassistant_radius")
cvars.AddChangeCallback("azzen_visualassistant_radius", function()
radius = GetConVarNumber("azzen_visualassistant_radius")
end)
# Flea props creation script
# Author: Azzen <github.com/azzen>
# Date 2020-07-12 12:22:18
# Purpose: Create a json file for the flea
Param($model, $name, $price="50", $health="50", $desc="Placeholder")
$mdlName = [System.IO.Path]::GetFileNameWithoutExtension($model)
$struct = @{
Identifier = $mdlName.ToUpper();
@azzen
azzen / build_fastdl.ps1
Last active July 12, 2020 11:51
Powershell Fast DL Builder script
# FastDL Builder Script
# Author: Azzen <github.com/azzen>
# Date 2020-07-12 13:50:06
# Purpose: compresses a directory recursively
# using bzip2 and creates a lua download enforcer
# Dependencies : 7zip
$files = Get-ChildItem -Path .\ -Recurse -File -Name -Exclude "*.lua", "*.ps1", "*.bz2"
$outPath = ".\compressed"