This commit is contained in:
2025-11-12 17:19:04 +01:00
commit 304b807ac2
105 changed files with 4761 additions and 0 deletions

6
home/.bash_profile Normal file
View File

@@ -0,0 +1,6 @@
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
rclone mount onedrive: ~/onedrive/ --umask 022 --daemon --vfs-cache-mode full --dir-cache-time 72h --vfs-cache-max-age 1h --vfs-cache-max-size 1G &

23
home/.bashrc Normal file
View File

@@ -0,0 +1,23 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias grep='grep --color=auto'
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
elif [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /usr/local/etc/bash_completion ]; then
. /usr/local/etc/bash_completion
fi
alias vi='nvim'
export DBUS_SESSION_BUS_ADDRESS=$(dbus-launch | grep -o "unix:abstract=[^,]*" | head -n 1)
bind "set completion-ignore-case on"
export STEAM_RUNTIME=/home/dukantic/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/

3
home/.clang-format Normal file
View File

@@ -0,0 +1,3 @@
---
BasedOnStyle: Chromium
IndentWidth: 4

27
home/Utils/C/Makefile Normal file
View File

@@ -0,0 +1,27 @@
CC = gcc
CFLAGS = -std=c11 -Wall -Wextra -Werror -Wconversion -Wshadow -Wpedantic
CFLAGS += -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
CFLAGS += -Wmissing-declarations -Wfloat-equal -Wundef -Wpointer-arith
CFLAGS += -Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs
CFLAGS += -Winline -O2 -g -fsanitize=address
SRCS = $(wildcard src/**/*.c) $(wildcard src/*.c)
OBJS = $(patsubst src/%.c, build/%.o, $(SRCS))
all: a.out
run: a.out
./a.out
a.out: $(OBJS)
$(CC) $(CFLAGS) -o a.out $^
build/%.o: src/%.c
@mkdir -p $(dir $@)
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -rf build/ a.out
.PHONY: all clean