Skip to content

Instantly share code, notes, and snippets.

View Kaizen86's full-sized avatar

Kaizen86

View GitHub Profile
@Kaizen86
Kaizen86 / subshell.py
Created June 20, 2026 00:44
Python module which gives scriptable asynchronous shells. Salvaged from a failed project. Very bodged code but may still be useful to someone.
import asyncio
async def Popen_async(cmdline: list):
PIPE = asyncio.subprocess.PIPE
return await asyncio.create_subprocess_exec(
*cmdline,
stdin=PIPE,
stdout=PIPE,
stderr=PIPE)
@Kaizen86
Kaizen86 / asm.nanorc
Created May 30, 2021 10:30
AT&T variant of my other Assembly Highlighter
## AT&T Assembly
## Variation of my Assembly highlighter, with added instructions that are
## specific to AT&T syntax and includes some tweaks to the other regular expressions.
syntax asm "\.(S|s|asm)$"
magic "at&t assembler source"
comment ";"
# Symbol visibility levels
@Kaizen86
Kaizen86 / asm.nanorc
Last active May 30, 2021 10:32
Greatly improved asm.nanorc
# Intel Assembly
## Got fed up with the frankly inadequate default colours for assembly, so I made my own set.
## This process also taught me the basics of regular expressions, which was a nice bonus.
syntax asm "\.(S|s|asm)$"
magic "assembler source"
comment ";"
# Symbol visibility levels
@Kaizen86
Kaizen86 / MouseJiggler.cs
Last active May 29, 2021 22:50
Mouse Jiggler Source Code
using System;
using System.Threading;
using System.Drawing;
using System.Windows;
using System.Runtime.InteropServices;
namespace MouseJiggler
{
class Program
{