Skip to content

Instantly share code, notes, and snippets.

View gregbook's full-sized avatar

greg0r_ gregbook

  • Tallinn, Estonia
View GitHub Profile
@gregbook
gregbook / download-ucp.sh
Created December 8, 2019 13:50
Download multiple Docker Swarm UCP bundles
#!/bin/sh
# List of domains
UCP_DOMAINS=("")
read -s -p "Username LDAP: " username
echo '\n'
read -s -p "Please enter your password:" password
for url in ${UCP_DOMAINS[@]}; do
@gregbook
gregbook / prepare-commit-msg
Created October 21, 2020 15:47
Git Client Hook prepare-commit-msg
#!/bin/sh
#
# git prepare-commit-msg hook for automatically prepending an issue key
# from the start of the current branch name to commit messages.
# check if commit is merge commit or a commit ammend
if [ $2 = "merge" ] || [ $2 = "commit" ]; then
exit
fi
@gregbook
gregbook / emojiSubstitutions.plist
Created March 15, 2023 17:44
Slack Emoji Shortcuts in MacOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>phrase</key>
<string>#️⃣</string>
<key>shortcut</key>
<string>:hash:</string>
</dict>
@gregbook
gregbook / StreamFX-OBS29-MacOS-ARM64.md
Created August 19, 2023 16:10
How to build StreamFX for OBS 29 on MacOS Apple Silicon

How to build StreamFX for OBS 29 on MacOS Apple Silicon

Note: Adapted for Mac OS based on Nichijou blog article.

Why

The pre-built binaries of StreamFX are only available to sponsors now. And the author purged all the 0.12 alpha builds from GitHub. The only free option for OBS 27+ users is to build it from source. Okay, fair enough.