Short script to correctly extract files from Brightspace zip files.
bsx requires at least Python 3.9 and Beautiful Soup 4 to be installed. It should work on any of Windows/Linux/macOS, although I've only tested it on the first.
""" | |
A script that gets the most current PM2.5 and | |
PSI (Pollutant Standards Index) levels from | |
data.gov.sg. | |
Licensed under the MIT License. | |
Copyright (c) 2019 sn3ksoftware | |
""" | |
import requests |
#!/bin/bash | |
# Downloader for the 'English - Upside Down' language for Zebra. | |
# Have fun! | |
ZEBRA='/Applications/Zebra.app/en-UD.lproj' | |
if ! which curl >> /dev/null; then | |
echo 'curl is not installed, pls install :(' | |
exit 1 |
export DISPLAY=$(ip route | awk '/^default/{print $3; exit}'):0 | |
export LIBGL_ALWAYS_INDIRECT=1 | |
export GDK_DPI_SCALE=1.25 | |
export QT_SCALE_FACTOR=1.25 | |
log=/dev/null | |
/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe -multiwindow -ac -wgl -dpi auto &> $log & | |
bash |
"""unpack Unreal Engine .pck audio packs and convert them into .wav | |
quickbms and vgmstream must be installed and available on your PATH as 'quickbms' and 'vgmstream-cli'. | |
If not, specify the paths using the '-q' and '-v' options: | |
unpck -q=<path to quickbms binary> -v=<path to vgmstream-cli> ... | |
known issues: | |
- vgmstream does not support Unicode filenames on Windows, so the WEM file will be renamed temporarily to use an ASCII filename if it contains Unicode characters. | |
""" |
#!/bin/bash | |
EXE='npiperelay.exe' | |
export GOOS=windows | |
export GOARCH=amd64 | |
GO_BIN="$(go env GOPATH)/bin/${GOOS}_${GOARCH}" | |
msg () { |
A short Python script to convert and export iCloud Notes data to Obsidian.
Even though Obsidian has a native importer for Apple Notes, it doesn't work if you don't have a Mac device. The only workaround is to request a copy of your iCloud Notes and then unzip them, but this is also tedious to do.
Therefore, I wrote this script to: