Skip to content

Instantly share code, notes, and snippets.


clay clbx

View GitHub Profile
View Ubuntu DNS Setting
sudo apt install resolvconf
DNS==< ip of DNS Server >
sudo systemd-resolve --interface eth0 --set-dns --set-domain <domain>
sudo systemd-resolve --flush-caches
clbx /
Last active Jun 12, 2019
How to make your Mac talk from your iPhone

How to make your Mac talk on it's own (Sort Of)

Recently I've gotten into automating everything with Siri's new shortcuts. They're pretty powerful and allow for a lot of neat scripting. One of the more exciting features is the ability to run a script over SSH while I've been playing around with automating a ton of things around my house with this. I've come across something pretty fun.

In all recent Version of MacOS have this command called say say will read out whatever the command arguments are. If you open a terminal on your Mac and type something like say "hello world" your Mac will read it back to you.