Skip to content

Instantly share code, notes, and snippets.

View kokoscript's full-sized avatar
🦊

Koko kokoscript

🦊
View GitHub Profile
// fullscreen PSX DOOM fire effect for DOS
// based on https://fabiensanglard.net/doom_fire_psx/
#include <stdio.h>
#include <allegro.h>
#define FIRE_HEIGHT 200
#define PALSIZE 70
BEGIN_GFX_DRIVER_LIST
@kokoscript
kokoscript / zsh-stats.py
Created October 25, 2021 09:36
Stats from .zsh_history
import time
import re
hist = []
commands = []
count = 0
trueCount = 0
# by year
yearCounts = {}
monthCounts = {}
# This is my personal setup script for whenever I decide to switch distros. As you can see, I typically stick to Ubuntu-based distros.
# A lot of this script may or may not be to your liking - I mainly provide this to those who are curious about what I use.
echo "Adding apt repos"
sudo add-apt-repository ppa:papirus/papirus
sudo add-apt-repository ppa:tista/adapta
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo add-apt-repository ppa:webupd8team/java
wget -nc https://dl.winehq.org/wine-builds/Release.key