Skip to content

Instantly share code, notes, and snippets.

View remixer-dec's full-sized avatar
☮️
make software, not war

Remixer Dec remixer-dec

☮️
make software, not war
View GitHub Profile
@remixer-dec
remixer-dec / run_msi_on_windows_for_arm.txt
Last active February 8, 2022 10:06
Install x86 / x64 MSI on Windows for ARM
How to fix the error "This version of ... is designed to run on a 32-bit windows operating system" on ARM version of windows?
Run this command in the cmd with your msi file.
msiexec -i FILENAME.MSI /passive
@remixer-dec
remixer-dec / top_window_macos.py
Created September 14, 2024 00:19
gets information about window name and app name of top window
import os
def get_window_name_with_applescript():
window_name = os.popen("osascript -e 'tell application \"System Events\" to get the name of window 1 of (first application process whose frontmost is true)'").read().strip()
process_name = os.popen("osascript -e 'tell application \"System Events\" to get the name of (first application process whose frontmost is true)'").read().strip()
return window_name, process_name
@remixer-dec
remixer-dec / custom_lz77.py
Last active March 29, 2025 08:26
LZ7BHTS7
def decompress_lz_buffer(src_buffer: bytes) -> bytes:
"""
Decompress a byte array using custom LZ77 algorithm.
Args:
src_buffer: Compressed bytes
Returns:
Decompressed bytes
"""
@remixer-dec
remixer-dec / watch.go
Created April 8, 2025 16:01
transparent stopwatch (only minutes) for mac os
package main
import (
"fmt"
"time"
"github.com/progrium/darwinkit/dispatch"
"github.com/progrium/darwinkit/helper/action"
"github.com/progrium/darwinkit/helper/layout"
"github.com/progrium/darwinkit/macos"