Skip to content

Instantly share code, notes, and snippets.

View StarrFox's full-sized avatar
🦦

StarrFox

🦦
View GitHub Profile
❯ nix build '.?submodules=1'
warning: Git tree '/home/starr/github.com/StarrFox/ImHex' is dirty
error: builder for '/nix/store/yk7abvnisgnr9dyqsczqa0bz8980pw0b-imhex.drv' failed with exit code 1;
last 10 log lines:
> -- libpl static library is being created
> CMake Error at lib/external/pattern_language/cli/CMakeLists.txt:14 (add_subdirectory):
> add_subdirectory given source "../external/cli11" which is not an existing
> directory.
>
>
a@endevor ~/P/build (master)> cli/plcli
Pattern Language CLI
Usage: [OPTIONS] SUBCOMMAND
Options:
-h,--help Print this help message and exit
Subcommands:
format
import asyncio
from wizwalker import ClientHandler
async def main():
async with ClientHandler() as ch:
client = ch.get_new_clients()[0]
await client.camera_swap()
couldnt int option: name='__DEFAULT' value='Target_Ball'
couldnt int option: name='__BASECLASS' value='ZoneData'
couldnt int option: name='__BASECLASS' value='SpellTemplate'
couldnt int option: name='__DEFAULT' value='1.0'
couldnt int option: name='__BASECLASS' value='CinematicTemplate'
couldnt int option: name='__BASECLASS' value='SpellTemplate'
couldnt int option: name='__BASECLASS' value='SpellTemplate'
couldnt int option: name='__DEFAULT' value='1.0'
couldnt int option: name='__BASECLASS' value='SpellTemplate'
couldnt int option: name='__DEFAULT' value='ROP_AND'
[Desktop Entry]
Categories=Game;
Exec=_JAVA_AWT_WM_NONREPARENTING=1 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=atlauncher.sh com.atlauncher.ATLauncher
Icon=com.atlauncher.ATLauncher
Keywords=game;Minecraft;
Name=ATLauncher
Comment=A launcher for Minecraft which integrates multiple different modpacks to allow you to download and install modpacks easily and quickly.
StartupNotify=true
Type=Application
X-Flatpak=com.atlauncher.ATLauncher
❯ nix log /nix/store/0ayq06xdr5rjqhz5a6mzw6wxgazn4akk-python3.10-uwuify-1.1.0.drv
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pip-build-hook
{
"version": 2,
"classes": {
"class hash (as string)": {
"bases": ["class base classes"],
"name": "class name",
"singleton": true,
"properties": {
"property name": {
"type": "property type",
import memobj
from memobj.property import *
HASHCALLPATTERN = rb"\xE8....\x48\x3B\x18\x74\x12"
process = memobj.WindowsProcess.from_name("WizardGraphicalClient.exe")
@StarrFox
StarrFox / async_chain.py
Last active September 9, 2020 16:05
Allows you to chain coros together
import asyncio
from typing import Callable
class AsyncChain:
def __init__(self, instance, callback: Callable):
if not asyncio.iscoroutinefunction(callback):
raise TypeError(f"callback needs to be a coroutine function, not {type(callback)!r}")
self.instance = instance
@StarrFox
StarrFox / discord.css
Last active June 9, 2020 19:13
Discord Theme
@import url("https://codedotspectra.github.io/themes/mini-themes/hljs.css");
@import url("https://codedotspectra.github.io/themes/mini-themes/compactMemberList.css");
@import url("https://codedotspectra.github.io/themes/mini-themes/compactChannelsList.css");
:root {
--backgroundCode: #2f3136;
--backgroundName: #202225;
--background-url: url("https://cdn.discordapp.com/attachments/540689755596128276/705347895640981594/red_tree_gray_black.jpg");
--accent: #f04747;
}