Skip to content

Instantly share code, notes, and snippets.

View aihkas's full-sized avatar
🎯
Focusing

Ai kaseer aihkas

🎯
Focusing
View GitHub Profile
@gnmerritt
gnmerritt / converter.py
Created September 27, 2023 22:32
Loop Habit Tracker to Streaks data converter
#
# This script converts from Loop Habit Tracker (https://play.google.com/store/apps/details?id=org.isoron.uhabits)
# to Streaks (https://apps.apple.com/us/app/streaks/id963034692)
#
# Export your Loop Habits data as a CSV and unzip it into the same folder as
# this script. You should have a bunch of directories with names corresponding
# to your habits and each one should contain a Checkmarks.csv file we're going
# to read and convert for Streaks
#
@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active May 8, 2026 16:55
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2026-04-18

@lpheller
lpheller / tldr-global-gitignore-ds-store.sh
Created November 11, 2020 08:51
Globally ignore .DS_Store files
# Quick and easy one line command to setup a global .gitignore file and ignore macOS .DS_store files globally
git config --global core.excludesfile "~/.gitignore" && echo .DS_Store >> ~/.gitignore
@michaelbutler
michaelbutler / Steam_Proton_Exe.md
Last active April 8, 2026 03:18
How to run another .exe in an existing proton wine prefix

Running games through Steam's Proton is great. But what if there is a secondary exe or configuration application bundled with the game? How can you launch it if Steam itself only launches the game?

Simply run this command in a terminal:

cd /path/to/steam/steamapps/compatdata/20920/pfx

STEAM_COMPAT_DATA_PATH="/path/to/steam/steamapps/compatdata/20920" WINEPREFIX=$PWD \
    "$HOME/.steam/root/steamapps/common/Proton 5.0/proton" run ./drive_c/path/to/custom_application.exe
@coolstar
coolstar / libblackjack.h
Last active October 10, 2022 10:56
libhooker/libblackjack headers
//
// libblackjack.h
// libblackjack
//
// Created by CoolStar on 2/24/20.
// Copyright © 2020 CoolStar. All rights reserved.
//
#include "libhooker.h"
@asmand
asmand / keymap.c
Created March 25, 2020 01:50
QMK keyboard - Swedish characters on US layout on macOS
enum custom_keycodes {
.
.
.
SE_AA,
SE_AE,
SE_OE
};
char *swedish_codes[][2] = {
@akella
akella / setup.md
Last active March 1, 2026 21:51
My Setup
@MCJack123
MCJack123 / ipsw_keys.py
Last active February 23, 2025 19:16
Extract iOS firmware keys using on-device AES engine
#!/usr/bin/env python
from sys import argv, stdout
from os import system, remove, path
from urlparse import urlparse
import re
import dfu
import ssl
import math
import json
import getopt
@romkatv
romkatv / Pure style for Powerlevel10k.md
Last active October 15, 2025 04:09
Pure style for Powerlevel10k

Powerlevel10k can generate the same prompt as Pure.

pure

Installation

git clone https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
@wilmarvh
wilmarvh / git checkout-all-branches.sh
Last active May 7, 2026 08:38
git checkout-all-branches
#!/bin/bash
#Whenever you clone a repo, you do not clone all of its branches by default.
#If you wish to do so, use the following script:
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master | grep -v main `; do
git branch --track ${branch#remotes/origin/} $branch
done