Skip to content

Instantly share code, notes, and snippets.

@sarsamurmu
sarsamurmu / README.md
Last active June 29, 2025 13:50
New Image Occlusion with Auto Occlude server

Watch the video - https://youtu.be/3FSvEqOEAl8

Setting up server

  • First install python in your system and make sure that these commands (run in terminal) give no error. The recommended version is 3.12.7, newer versions may cause errors with the dependencies
python --version
pip --version
# USAGE:
# Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# cinst -y boxstarter
# BOXSTARTERSHELL
# Install-BoxstarterPackage -PackageName https://raw url of this file
#---- TEMPORARY ---
Disable-UAC
@aularon
aularon / m4b_split.sh
Last active October 27, 2024 05:47
Split an m4b into its chapters. No recoding is done, just splitting
#!/bin/bash
# Description: Split an m4b into its chapters. No recoding is done, just splitting
# Usage: m4b_split.sh $input_file $output_dir/
# Requires: ffmpeg, jq
# Author: Hasan Arous
# License: MIT
in="$1"
out="$2"
splits=""
@MattPD
MattPD / cpp.std.coroutines.draft.md
Last active July 16, 2025 09:11
C++ links: Coroutines (WIP draft)
# Thanks to this post:
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x
$ brew install cabextract
$ cd ~/Downloads
$ mkdir consolas
$ cd consolas
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe
$ cabextract PowerPointViewer.exe
$ cabextract ppviewer.cab