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 | |
##################### |
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
# Generic Makefile for my projects | |
# https://github.com/r4v10l1/ | |
CC=gcc | |
CFLAGS=-Wall | |
all: output.out | |
output.out: src/* | |
$(CC) $(CFLAGS) -o $@ src/main.c |
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
// Copyright (c) 2014, Jan Winkler <winkler@cs.uni-bremen.de> | |
// All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// | |
// * Redistributions of source code must retain the above copyright | |
// notice, this list of conditions and the following disclaimer. | |
// * Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the |
NewerOlder