Sometimes it’s a pain to keep track of your Raspberry Pi’s IP address. Maybe you want to plug it in on a work or friend’s network without having to plug in a keyboard and mouse. This technique is what I am using to know the IP address of my Raspberry Pi’s no matter how often they change or what the IP address is.
Author: Chris Carey
-
Create a bootable OS X El Capitan installer
This is how to create a OS X El Capitan installer on a flash disk or external disk.
Download OS X El Capitan from the App Store. When it finishes downloading, quit the installer. The “Install OS X El Capitan” application should be in your /Applications folder. On a side note even if you do not create a bootable installer, it’s a good idea to get a backup of this installer before running it. After upgrading your system, the installer will remove itself.
Format a flash stick Mac OS Extended (Journaled) with GUID Partition Table
Name the disk “Untitled”. Simply because the command below references the disk by the “Untitled” name.
In Terminal, run:
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia –volume /Volumes/Untitled –applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app –nointeraction
-
Slow zoom on OS X Yosemite
If you use Zoom controls from Accessibility system pref, and using an external monitor, you may have experienced *very* slow performance after upgrading to Yosemite.
One workaround is to set Zoom Style to “Picture-in-picture”.
-
tcpdump ASCII
tcpdump out ASCII characters and not see headers
-s Snap Length – Grab the entire 1500 byte packet
-A ASCII
-l stdout line
-i interfacetcpdump -s 1500 -A -l -i eth0 -
OS X Yosemite Messages app title bar bug
When you touch the Messages title bar, then click somewhere else on your screen, the messages app will move as if you dragged it. Such a strange bug and it was not sadly addressed in 10.10.1. Reproducible on any Mac, every time. How this could slip past QA is beyond me.
-
How to stop Amazon Music Helper from running in the background OSX
After installing Amazon Music on my mac, I noticed this background task “Amazon Music Helper” running. I tried to kill it, it came back.
The fix I used was to remove execute permission on that file:
chmod -x /Applications/Amazon\ Music.app/Contents/MacOS/Amazon\ Music\ HelperThen kill the process again and it shouldn’t come back.
I have bought music since then and find that all the features (that I use) work fine. This thing isn’t even needed!
-
Start a screen session as another user at system startup
Came across this technique to get a screen session started as another non-root user on system startup. You could have this command in /etc/rc.local or any other location that runs on system startup as root.
Also, it doesn’t have to just be at system startup. These commands could be used at any time by the root user to start a screen session for another user.
This command must run as root. I had best luck when providing full paths to the executable and optional file arguments (like if you are passing a conf file)
su – username -c "/usr/bin/screen -dmS screenname ./executable"So, for example, to get irssi started as chris in a screen session named irc, You could:
su – chris -c "/usr/bin/screen -dmS irc /usr/bin/irssi"You can then log in to the box as chris and resume the screen session that root started.
-
Netflix Hackday Summer 2014
Got 2 minutes to show off LogoHack at Netflix Hack Day – Summer 2014 (Blog Post @ techblog.netflix.com)
-
Netflix Logo in pure CSS
I styled the original Netflix logo in pure CSS. No images, no SVG.
Then added some fun animations witih animate.css.Click Here to see it in action