How To Disable Adobe Daemons Using launchctl on MacOS

Author: , November 18th, 2018

I installed an old version of Adobe software on my new Mac and as usual, it installed some daemons that are undesirable. Here is how I got rid of them via the Terminal. Note: Adobe installs daemons in the user context, so do this as your regular user login, not as root. shell> launchctl list […]

How To Auto-Restart Apache If the Load Gets Too High

Author: , September 15th, 2015

The script to check and restart apache…works on CentOS – YMMV! 1 2 3 4 5 6 7 8 9 10 11 #!/bin/bash MAXLOAD=6 check=$(uptime | awk -F’average: ‘ ‘{print $2}’ | awk ‘{print $1}’ | tr -d ‘,’) if [[ $check > $MAXLOAD ]]; then     /sbin/service httpd stop     HOST=`hostname`   […]

How To Disable the Built-in iSight Camera

Author: , October 12th, 2013

I am tired of various programs taking control of my webcam, i.e. Skype, GoToMeeting and others… After searching for a while I found the following website with two awesome Applescripts, one for Snow Leopard and one for Lion. Open the script in the Applescript Editor, and do a Save As. Choose Application and save someplace […]

How To Disable iptables Completely

Author: , October 2nd, 2013

List current iptables entries: iptables -L /etc/init.d/firewall stop ~or~ /etc/init.d/iptables stop ~or~ fwstop.sh 1 2 3 4 5 6 7 8 9 10 11 #!/bin/sh echo "Stopping firewall and allowing everyone…" iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X iptables -P INPUT ACCEPT […]