This file contains hidden or 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
import os | |
from pathlib import Path | |
import modal | |
import re | |
import subprocess | |
from typing import Optional | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
from functools import partial | |
from typing import Dict |
This file contains hidden or 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 | |
c_files=$(find . -name "*.c") | |
loc=0 | |
# Loop through each C file | |
for file in $c_files; do | |
loc=$((loc + $(git blame $file | grep $1 | wc -l))) | |
done |
This file contains hidden or 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
#what we need: | |
#.include "macros.inc" | |
#.section .text # 0x80005940 - 0x803B7240 | |
import sys, os, errno, re | |
import xlrd | |
# -============================================- # |
This file contains hidden or 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 "global.h" | |
#include "entity.h" | |
#include "functions.h" | |
#include "textbox.h" | |
typedef struct { | |
s8 unk0; | |
u8 unk1; | |
u8 unk2; | |
u8 unk3; |