This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Generated by bf2nasm | |
; https://github.com/8dcc/scratch | |
; | |
; Assemble and link with: | |
; nasm -f elf64 -o file.o file.asm | |
; ld -m elf_x86_64 -o file.out file.o | |
default rel | |
bits 64 | |
section .bss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Compile with: | |
* gcc -Wall -Wextra -ggdb3 -o xwindow.out xwindow.c -lX11 -lXext -lXfixes -lm | |
*/ | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <limits.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=gcc | |
CFLAGS=-Wall -Wextra -Ofast -fPIC | |
LDFLAGS= | |
AS=nasm | |
ASFLAGS=-f elf64 | |
.PHONY: all clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# ./update_enoch_cfg_*.sh CONFIG.json | |
sed -i "s/col_esp_friend/col_esp_tmate/g" "$1" | |
sed -i "s/col_esp_enemy_build/col_esp_build_enemy/g" "$1" | |
sed -i "s/col_esp_friend_build/col_esp_build_tmate/g" "$1" | |
sed -i "s/col_esp_sticky_friend/col_esp_sticky_tmate/g" "$1" | |
sed -i "s/col_chams_friend/col_chams_tmate/g" "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# ./update_enoch_cfg_*.sh CONFIG.json | |
sed -i "s/player_esp/esp_player/g" "$1" | |
sed -i "s/player_box_esp/esp_player_box/g" "$1" | |
sed -i "s/skeleton_esp/esp_skeleton/g" "$1" | |
sed -i "s/player_health_esp/esp_player_health/g" "$1" | |
sed -i "s/player_name_esp/esp_player_name/g" "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <errno.h> | |
/* | |
* C syntax highlighter to stdout. | |
* Source: https://stackoverflow.com/a/77465783/11715554 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* https://github.com/8dcc/c-stuff/blob/main/Misc/rgb_scale.c */ | |
#include <stdint.h> /* uint8_t */ | |
#include <stdio.h> /* printf */ | |
#define MIN(a, b) ((a) > (b) ? b : a) | |
typedef struct { | |
uint8_t r, g, b, a; | |
} rgba_t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Hex-Rays Decompiler configuration file. | |
The syntax of this file is very simple. | |
Feel free to edit it to your taste. | |
IMPORTANT: the installer overwrites this file. Please make a backup copy | |
if you modify this file in any way. Otherwise you may lose your | |
modifications! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 64 bits | |
/* | |
0: 48 b8 45 55 46 84 45 movabs rax,0x454584465545 | |
7: 45 00 00 | |
a: ff e0 jmp rax | |
*/ | |
// 32 bits | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://github.com/r4v10l1/arch-dotfiles | |
##################### | |
multibattery=false # | |
hourchange=true # | |
hourdiff=-2 # Ignored if !hourchange | |
##################### |
NewerOlder