Skip to content

Instantly share code, notes, and snippets.

View shkpk's full-sized avatar

Shahbaz Khan shkpk

  • Self
  • Center of the Earth
View GitHub Profile
@shkpk
shkpk / flush pf rules
Created January 8, 2021 10:46 — forked from leveled/flush pf rules
Flush pf rules on mac os x command line
sudo pfctl -F all -f /etc/pf.conf
@shkpk
shkpk / nginx_with_vouch_ssl.conf
Created January 15, 2021 11:44
nginx with vouch and vouch proxy
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log debug;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
  1. Open Automator.app
  2. Create new Quick Action
  3. Select Run AppleScript
  4. Add this:
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
	set inputVolume to 100
	display notification "Volume set to 100" with title "✅ Microphone is on"