Skip to content

Instantly share code, notes, and snippets.

@AngheloAlf
AngheloAlf / MIPS eabi register convention.md
Last active March 21, 2024 14:29
MIPS eabi register convention

MIPS eabi register convention

This document tries to specify how the registers are used on the eabi MIPS ABI.

This ABI does not have any official register names, so names from other ABIs are left as references.

General purpose registers

Usage O32 name N32 name
@AngheloAlf
AngheloAlf / install_sw_pop_os_21.04.sh
Created September 3, 2021 15:31
Install programming, gaming among other software in Pop!_OS 21.04 (This is just my must-have software list)
# Based on https://gist.github.com/AngheloAlf/506b5b5cc283800dcc3334847b579c2a
# This script will download a few files to the current folder, so I suggest running it in an empty folder so you can delete it easily.
set -e
sudo apt-get update
sudo apt-get upgrade
# Utilities
## apt-transport-https # Needed when adding repos to apt
@AngheloAlf
AngheloAlf / install_sw_pop_os_20.10.sh
Last active April 27, 2021 18:33
Install programming, gaming among othersoftware in Pop!_OS 20.10 (This is just my must-have software list)
# Based on https://gist.github.com/AngheloAlf/0e1628638b681897a13939a36663e236
# This script will download a few files to the current folder, so I suggest running it in an empty folder so you can delete it easily.
sudo apt-get update
sudo apt-get upgrade
# Build Essentials
#sudo apt-get -y install build-essential make
#sudo apt-get -y install gcc g++ clang gdb
#sudo apt-get -y install valgrind
@AngheloAlf
AngheloAlf / install_sw_pop_os_20.04.sh
Last active April 17, 2021 17:39
Install programing, gaming and others software in Pop!_OS 20.04
# Based on https://gist.github.com/AngheloAlf/536cac701194975bc3447d6c81be6ddb
# For an updated version see https://gist.github.com/AngheloAlf/506b5b5cc283800dcc3334847b579c2a
sudo apt-get update
sudo apt-get upgrade
# Build Essentials
sudo apt-get -y install build-essential make
sudo apt-get -y install gcc g++ clang gdb
sudo apt-get -y install valgrind
@AngheloAlf
AngheloAlf / basic_setup_for_wsl_ubuntu.sh
Last active May 26, 2020 14:44
Install some basic software that is not bundled in WSL's Ubuntu.
# This may work in other Debian's derivates, but has not been tested.
sudo apt-get update
sudo apt-get upgrade
# Build Essentials
sudo apt-get -y install build-essential
sudo apt-get -y install clang
sudo apt-get -y install valgrind
sudo apt-get -y install git git-lfs
@AngheloAlf
AngheloAlf / flr_to_json.py
Created December 15, 2018 15:57
Script to parse a [flare](http://www.nowrap.de/flare.html) decompiled swf into a json file.
#!/usr/bin/python3
import json
import os
import sys
import codecs
import io
class ShowPercent:
def __init__(self, full_size, step=5.0):
@AngheloAlf
AngheloAlf / autopush.sh
Created July 13, 2018 19:16
A little bash script for commiting files.
git add -A
if [ $# -eq 0 ]
then
git commit -a -m "autopush"
else
git commit -a -m "$1"
fi
git push