Skip to content

Instantly share code, notes, and snippets.

@txoof
txoof / HomeBrew_w_TK.md
Last active April 18, 2024 15:59
Setup python with tkinter under homebrew

How to play ASCII-Art Star Wars offline

Following will teach you how to play the "easter-egg" (which actually isn't, but many people describe this as an easter egg) of ASCII-Art Star Wars (or Star Wars in terminal/telnet, whatever), the one you normally starts like this:

$ telnet towel.blinkenlights.nl
  1. Before you start, ensure Node.js is installed.
  2. Navigate to www.asciimation.co.nz, the original home of that ASCII-Art Star Wars.
  3. Press F12 to open developer tools.
<!DOCTYPE html>
<html>
<head></head>
<body>
<!-- HEADLINE -->
<!-- <h1>Hello Quera</h1>
<h2>Hello Quera</h2>
<h3>Hello Quera</h3>
<h4>Hello Quera</h4>
<h5>Hello Quera</h5>
@Hirrolot
Hirrolot / tagless-final.rs
Last active April 18, 2024 15:58
Tagless-final encoding of a simple arithmetic language in Rust
trait Interp {
type Repr<T>;
fn lit(i: i32) -> Self::Repr<i32>;
fn add(a: Self::Repr<i32>, b: Self::Repr<i32>) -> Self::Repr<i32>;
}
struct Eval;
impl Interp for Eval {
@BluBb-mADe
BluBb-mADe / potato_patcher.py
Last active April 18, 2024 15:56
Generic Voicemeeter Potato in-memory patch
import os
import sys
import time
import subprocess
import traceback
from pymem import Pymem, process, exception
#############################################################################################
# This is an in-memory patch that launches and patches Voicemeeter Potato in memory on startup.
@figgis
figgis / vqm.py
Last active April 18, 2024 15:55
vqm 2 xlsx
#!/usr/bin/env python
#
# vqm Run and parse the output of mitsuLinuxMultithread.
# Generate a xlsx-file with all the data as well as a summary sheet.
# Tested on Linux only.
#
# USAGE: vqm path
#
# NOTE: YCbcr files needs to be adhere to the following naming convention:
# NAME_WIDTHxHEIGHT_FPS_...yuv
@cniw
cniw / install_waydroid.sh
Last active April 18, 2024 15:54
Install Waydroid on unsupported Debian based distro caused by incompatible python3-gbinder package
#!/bin/bash
# script name: install_waydroid.sh
# description: Install Waydroid on unsupported Debian based distro caused by incompatible python3-gbinder package
# related to : https://github.com/waydroid/waydroid/issues/214#issuecomment-1120926304
# author : Wachid Adi Nugroho <wachidadinugroho.maya@gmail.com>
# date : 2022-07-07
export distro=$(grep -oP '(?<=^NAME=).*' /etc/os-release)
if [[ -f /usr/bin/dpkg ]];
@rrrrrrri
rrrrrrri / fgt_7.4.x_rootfs_decrypt.py
Created March 15, 2024 01:26
fgt_7.4.x_rootfs_decrypt
import magic
import r2pipe
import hashlib
import argparse
import subprocess
from unicorn import *
from unicorn.x86_const import *
# from udbserver import * # uncomment this line if you want to debug
def pad_size(size):
#Multistep Sample - Deploy main to staging then to production if passed
# 3rd Party syntax check optional
name: Deploy to WP Engine
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
@Joao-Peterson
Joao-Peterson / gmk67-manual.md
Last active April 18, 2024 15:51
GMK67 manual (English)