Skip to content

Instantly share code, notes, and snippets.

View dxrcy's full-sized avatar
👁️

darcy dxrcy

👁️
View GitHub Profile
@dxrcy
dxrcy / pptx-audio.sh
Created May 25, 2023 02:05
Extract audio from every Powerpoint file in a folder.
#!/bin/sh
# === PPTX Audio ===
# Extract audio from every Powerpoint file in a folder, and concatenates into one file.
# Requires `ffmpeg` to be installed.
# See config below for directories configuration.
# Only compatible with `m4a` MPEG format for output, as that is what Powerpoint uses
# Biggest speed loss is using the `unzip` command
# =============== CONFIG =================
@dxrcy
dxrcy / IPAChars.ahk
Last active June 13, 2022 01:34
Convert IPA Characters with CTRL+Insert
; List of many IPA characters
allChars := ["aɑæɐ", "bβɓʙᵝ", "cçɕ", "dðɖɗ", "eəɚɵɘᵊ", "3ɛɜɝɞ", "fʩ", "gɠɢʛɡ", "hħɦɥɧʜʰʱ", "iɪɨ", "jʝɟʄʲ", "lɫɭɬʟɮʪʫꞎˡ", "mɱ", "nŋɲɳɴⁿ", "oɔœɒɶø", "pɸ", "rɾɹʁʀɻɽɺʳʶ", "sʃʂ", "tθʈᵗ", "uʊʉ", "vʌʋⱱ", "wɯʍɰʬʷ", "xχ", "yɣʎʏɤˠ", "zʒʐʑ", "?ʔʕʡʢˤˀ", "|ǀǁǃǂ", "0ʘ", "'ˈˌʼ", ">→←↘↗↓↑͢ꜜꜛ▲", "(͡", ")͜", "=⁼", "/˩˨˧˦˥", ".·", "[ʭ", "8ↀ", "*̆̚", "~̃", ":ː̈", ",̩̯"]
; CTRL+Insert
^Insert::
; Copy character
prevClipboard := Clipboard ; Save clipboard
Clipboard := ; Clear clipboard
SendInput {ShiftDown}{Left}{ShiftUp}^c{Right} ; Copy previous character
ClipWait ; Wait for clipboard to register