Python Script: pmset–Set Energy Saver Settings For Multiple Computers At Once

If you have 1,000 computers and don’t want them all to power on at the same time, but rather come on at different times, you can use a simple Python script to do so.  I use this in an educational setting where each lab needs a different power setting so that they don’t all power on at once and crash the server when they all try to contact it at once.  It is also a little easier on the power grid. Continue reading “Python Script: pmset–Set Energy Saver Settings For Multiple Computers At Once”

Plans For Pi-Hole Ad-Blocking: Built Into Routers, Block Video Ads, And More

The Pi-hole, a black hole for ads, runs on the Raspberry Pi.  It can block a bunch of ads right now, even ads in free Android games.  Many people have contacted me about setting this up on their router, so they do not need a separate device, but rather anyone who connects to your network would gain ad-blocking capabilities.

I have also tried blocking Hulu video ads (actually skipping them, not just showing a black screen for a minute and a half). Continue reading “Plans For Pi-Hole Ad-Blocking: Built Into Routers, Block Video Ads, And More”

Bash Script: Set Favorite Servers In “Connect To…” Menu

The Connect To… menu (Command+K) lets you quickly connect to a server using different protocols.  If you are deploying these settings to a bunch of computers, it can be done quickly using a simple bash script.  Just replace or add whatever servers you want into the servers variable (one per line in single quotes). Continue reading “Bash Script: Set Favorite Servers In “Connect To…” Menu”