Skip to content

Instantly share code, notes, and snippets.

View haise0's full-sized avatar
💭
I may be slow to respond at times. I have a lot of things I'm working on.

Haise0 haise0

💭
I may be slow to respond at times. I have a lot of things I'm working on.
  • WA
View GitHub Profile
@iscgar
iscgar / kdz.py
Last active July 6, 2025 21:18
A correct extractor for LG's KDZ Android image files
# A simple and correct LG KDZ Android image extractor, because I got fed up
# with the partially working one from kdztools.
#
# Copyright (c) 2021 Isaac Garzon
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@artman41
artman41 / wsl-install_another_distro.md
Last active November 21, 2025 14:04
Instructions on how to install a custom distro in WSL2 (Windows SubSystem for Linux 2)

WSL install another distro

  1. Here are some default vars for the process
ISO_DIR=~/fedora;
ROOTFS_MOUNT_DIR=/mnt/contents

DISTRO_LOCATION=
@shinyquagsire23
shinyquagsire23 / lg_getkdz.py
Created February 11, 2020 20:20
LG Update Pulling
from Crypto.Cipher import AES
from Crypto import Random
import base64
import requests
import xml.etree.ElementTree as ET
block_size = AES.block_size
unpad = lambda s : s[0:-ord(s[-1])]
@kylemcdonald
kylemcdonald / download-urls.py
Last active January 17, 2025 04:56
Download a range of URLs in parallel.
from multiprocessing.dummy import Pool
from tqdm import tqdm
from urllib.parse import urlsplit
import urllib3
import itertools, functools, operator
import os
import sys
import re
import errno
import argparse