Skip to content

Instantly share code, notes, and snippets.

View anr2me's full-sized avatar

AdamN anr2me

  • localhost
View GitHub Profile
@anr2me
anr2me / try_comfyui_colab_with_manager.ipynb
Created October 20, 2025 13:19
try_comfyui_colab_with_manager.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anr2me
anr2me / ovi-test.ipynb
Created October 5, 2025 04:34
OVI Test
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# NO LONGER MAINTAINED
# There is an improved version in my ComfyUI-bleh node pack:
# https://github.com/blepping/ComfyUI-bleh#blehsageattentionsampler
# If you really want to use the gist, see the previous revision.
@anr2me
anr2me / main.cpp
Created June 23, 2023 17:25 — forked from ADeltaX/main.cpp
Example of creating a window using a private api on a dll-injected immersive process
#include "pch.h"
#pragma comment(lib, "gdi32.lib")
enum ZBID
{
ZBID_DEFAULT = 0,
ZBID_DESKTOP = 1,
ZBID_UIACCESS = 2,
ZBID_IMMERSIVE_IHM = 3,
ZBID_IMMERSIVE_NOTIFICATION = 4,
@anr2me
anr2me / http-request-dumper.js
Created January 17, 2023 20:19 — forked from kuhnza/http-request-dumper.js
A simple node server that dumps raw incoming http requests out to the command line.
var http = require('http');
var LISTEN_ON_PORT = 3000;
function toTitleCase(str) {
return str.replace(/[a-z]*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
}
http.createServer(function (req, res) {
var body;
@anr2me
anr2me / Install Windows Subsystem for Android on any Edition of Windows 11 non Insider.md This Guide will show you how to Install Windows Subsystem for Android or WSA on any Edition of Windows 11 non Insider release.

Install Windows Subsystem for Android on Windows 11 non Insider

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow this guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • A Device with any version and Edition of Windows 11 installed.
  • Internet Connection.
  • Hyper-V enabled.

Enable Hyper-V:

@anr2me
anr2me / build.yml
Created March 19, 2022 01:29 — forked from alexanderbazo/build.yml
Github Actions: Build and Release Android-APK
name: Minimal Android CI Workflow
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
@anr2me
anr2me / ios_IPAddress.c
Created January 28, 2022 21:33 — forked from codeswimmer/ios_IPAddress.c
iOS: Get Current IP Address
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
@anr2me
anr2me / PSPSCEDecoder.java
Created September 24, 2021 18:03 — forked from TellowKrinkle/PSPSCEDecoder.java
Ghidra PSP SCE Decoder
// Reads the list of syscall functions from a PSP rom and marks them in Ghidra
//@author TellowKrinkle
//@category PSP
import java.util.Map;
import java.util.HashMap;
import ghidra.app.script.GhidraScript;
import ghidra.program.model.util.*;
import ghidra.util.exception.InvalidInputException;
import ghidra.program.model.reloc.*;
@anr2me
anr2me / mac.c
Created September 16, 2021 20:25 — forked from drizzt/mac.c
Some useful C functions to manage mac addresses
/**
* @brief Some useful C functions to manage mac addresses
* @file
*/
#include <stdio.h>
#include <inttypes.h>
#include <limits.h>
/** Convert hex mac address to uint64_t