Skip to content

Instantly share code, notes, and snippets.

View apparition47's full-sized avatar
📱
(╯°□°)╯︵ ┻━┻

Aaron Lee apparition47

📱
(╯°□°)╯︵ ┻━┻
View GitHub Profile
@apparition47
apparition47 / README.md
Last active September 7, 2021 12:10
Setup Local Discourse on macOS

How to setup Discourse 2.8.0 locally on macOS

Prereqs

Setup

git clone https://github.com/discourse/discourse.git
@apparition47
apparition47 / outlook-mailto.sh
Last active October 17, 2022 22:11
Make macOS Outlook your default mailto Application
#!/bin/bash
swift <(echo 'import Foundation;import CoreServices;LSSetDefaultHandlerForURLScheme("mailto" as NSString as CFString, "com.microsoft.Outlook" as NSString as CFString)')
@apparition47
apparition47 / cloudflare-dyndns-a-aaaa-record-update.sh
Last active February 3, 2023 11:28 — forked from Ciantic/cloudflare-dyndns-a-aaaa-record-update.sh
cloudflare dyndns script / update a A and AAAA record using bash script
#!/bin/bash
# Author: Jari Pennanen
# Url: https://gist.github.com/Ciantic/4e543f2d878a87a38c25032d5c727bf2
# create your API Key at https://dash.cloudflare.com/profile/api-tokens
# Required permissions: Zone Settings:Read, Zone:Read, DNS:Edit (all under zone)
AUTH_KEY="" # Get this from My profile -> API Keys -> View
DOMAIN="example.com" # main domain
SUBDOMAIN="home.example.com" # set A and AAAA-record of this subdomain