Skip to content

Instantly share code, notes, and snippets.

View stephanschielke's full-sized avatar

Stephan Schielke stephanschielke

View GitHub Profile
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active December 30, 2025 10:15
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
# Script for converting a HF Diffusers saved pipeline to a Stable Diffusion checkpoint.
# *Only* converts the UNet, VAE, and Text Encoder.
# Does not convert optimizer state or any other thing.
# Written by jachiam
import argparse
import os.path as osp
import torch
@tenzap
tenzap / Readme.md
Last active April 11, 2025 09:37 — forked from cunneen/Readme.md
Install OpenGApps In Android Emulator (up to API31 / android 12 / S)

Introduction

This works to install OpenGApps into the Android Emulator

Features:

  • uses opengapps installer script (that we patch slightly)
  • linux only because we mount the ext2/4 disk images to modify them. Could be adapted for macos if you use hdiutil instead of kpartx and have installed tools to mount ext2/4 filesystems on macos
  • root permissions mandatory to mount disk images and enter chroot
  • removes verity/verified-boot from the virtual device (so that the AVD can boot, otherwise it would not boot because we didn't update the dm_params)
@cobusc
cobusc / test_transformation.py
Last active December 4, 2023 18:23
Python dictionary transformations useful for mapping generated model classes to each other
from datetime import date, timedelta
from unittest import TestCase
from integration_layer.transformation import Mapping, Transformation
def tomorrow(today: date) -> date:
return today + timedelta(days=1)
class TestTransformation(TestCase):

Problem

In Arch Linux mkinitcpio -p linux

shows

Possibly missing firmware for module: aic94xx
 Possibly missing firmware for module: wd719x
@stephanschielke
stephanschielke / update_packages.sh
Last active August 22, 2022 08:13
ARCH linux package update script for pacman and yaourt
#!/bin/bash
echo ==========
echo Check root
echo ==========
if [[ $UID == 0 ]]; then
echo "Please run this script WITHOUT sudo:"
echo "$0 $*"
exit 1
fi
@RichardBronosky
RichardBronosky / README.MD
Last active December 20, 2025 16:26
cb - A leak-proof tee to the clipboard - Unify the copy and paste commands into one intelligent chainable command.

cb

A leak-proof tee to the clipboard

This script is modeled after tee (see [man tee][2]) and works on Linux, macOS, Cygwin, WSL/WSL2

It's like your normal copy and paste commands, but unified and able to sense when you want it to be chainable.

This project started as an answer to the StackOverflow question: [How can I copy the output of a command directly into my clipboard?][3]

@eyecatchup
eyecatchup / mr.robot_season-2_easter-egg-sites.md
Last active June 19, 2025 13:34
A collection of "Mr. Robot" Season 2 Easter Egg Sites. #mrrobot #hackingrobot #robotegg
/// <summary>
/// Wrapper for GDI text rendering functions<br/>
/// This class is not thread-safe as GDI function should be called from the UI thread.
/// </summary>
/// <remarks>
/// http://theartofdev.com/2013/08/12/using-native-gdi-for-text-rendering-in-c/<br/>
/// The MIT License (MIT) Copyright (c) 2014 Arthur Teplitzki.
/// </remarks>
public sealed class NativeTextRenderer : IDisposable
{
@justlaputa
justlaputa / jenkins-api.md
Last active November 20, 2024 11:56
Jenkins Json API

jobs

jenkins_url + /api/json?tree=jobs[name,color]

builds

jenkins_url + /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]

last build