Skip to content

Instantly share code, notes, and snippets.

# 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
@MattPD
MattPD / cpp.std.coroutines.draft.md
Last active November 10, 2024 20:11
C++ links: Coroutines (WIP draft)
@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=""
# 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
@sarsamurmu
sarsamurmu / README.md
Last active October 10, 2024 18:33
New Image Occlusion with Auto Occlude server

Setting up server

  • First install python in your system and make sure that these commands (run in terminal) give no error
python --version
pip --version
  • Then save the server.py file to a directory and run these commands in terminal to install dependencies