I prefer to buy my movies from Apple’s iTunes Store. They are instantly available across all my Apple devices and allows me to get high quality versions without having to deal with the Blu-ray “bag of hurt”.
Previously, I posted about toggleAirport.sh which disables Wi-Fi while connect to Ethernet. The version compare logic in it broke with the release of OS X Yosemite (10.10), so I hacked it up to work on any OS X 10.x release - which should fix it until they release OS XI :)
I’ve updated the gist with the corrected script.
Recently, a friend converted over to the Mac from a PC and wanted to know what everyone’s “must-have” Mac apps were. As I recently obtained a new work MacBook Pro, the list was pretty fresh in mind as I set them all up.
I hope this will be of use to those who would like a self-hosted version for security or privacy reasons.
For many years, this blog (such as it is) ran on Blosxom, which was ok but not great. Back in January of this year, I figured I would give something new a try. I rebooted the site using Wordpress. I imagined posting from Editorial on my iPad, but that never really happened.
A recent episode of the Accidental Tech Podcast had me thinking about my own site more, and figured another change was in order.
So, Wordpress is dead, long live Octopress! It seemed to be the most common choice amongst other Linode users in a Twitter poll. It also statically generates the site and can be done from anywhere and then pushed to my server, which is nice.
As a bonus, this lets me purge MySQL off my server. Good riddance.
A while back, I was searching for a solution to automatically disable Wi-Fi interfaces on Macs when an Ethernet device was active. This was the solution I found that worked:
After upgrading to OS X 10.9 (“Mavericks”), I started getting packet loss on our corporate network. This is apparently a bug in Mavericks relating to ARP, Unicast and GLBP:
A simple temporary workaround appears to work:
sudo sysctl -w net.link.ether.inet.arp_unicast_lim=0
For a permanent fix, place it in /etc/sysctl.conf:
$ grep unicast /etc/sysctl.conf net.link.ether.inet.arp_unicast_lim=0
This is supposedly fixed in OS X 10.9.2.
Update 2014-03-16: seems to be better in 10.9.2, but not gone - I still need the above workaround on my system.
… and I’ve decided that it’s time to bite the bullet and just move this site over to Wordpress - which may or may not improve me posting here :)
Recently at work, we had to install some new SSL certificates. All seemed to well, except for the Citrix Secure Gateway - when some clients (such as Macs) tried to connect, they got something like:
Citrix Receiver for Mac SSL Error 61: You have not chosen to trust "Foobar", the issuer of the server's security certificate.
This was obnoxious to track down. You need to upgrade to Citrix Receiver 11.7 for Mac or later, which adds support for SHA-2 certificates.
Oh, and there’s still no support for SHA-2 on iOS or Android. Meh.
People setting up new FTP servers on non-standard ports (say, 5001 instead of 21)… here’s how to get around it with ip_conntrack_ftp:
options nf_conntrack_ftp ports=21,5001
relayhost = your.relay.here smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access
email@example.com FILTER smtp:
postmap /etc/postfix/sender_accessand you’re good to go.
Found this very useful script for taking a NessusV2 file and turning into omething our system users might have a prayer of reading. However, I wanted to be able to filter results based on hostname regex, so this diff adds that.
Multiple line breaks on emails sent from Outlook 2007/2010 to Request Tracker (RT) May this be useful to someone else bashing their head against the wall with Outlook and RT. Diff is against RT 4.0.13, apply in
See also my mailing list post about it.
Wordpress is stupid. When uploading plugins, it’ll default to trying to upload via FTP… placing this in your wordpress config.php ile will shut it up and make it do the right thing.
Please don’t make your wordpress docroot writeable by the webserver user like some blogs suggest… only the wp-content and wp-uploads directories need that.
At work, we use Request Tracker for handling trouble tickets. By and large, people submit tickets via email, which usually works great. There are cases where someone will email the ticketing system and Cc other people. Those other people then Reply All and end up generating a new ticket. There’s a contribution on the Request Tracker Wikia to look at the In-Reply-To header and merge it into the correct ticket, but has the following problems:
- They want to patch it directly against
lib/RT/Interface/Email.pm, which means the changes will be lost if you upgrade
- It contains an SQL injection attack vulnerability.
I cleaned it up and made it as an
Email_Local.pm(based off RT 4.0.x) you can drop into
lib/RT/Interface, you can find that here.
The RT authors suggest doing this as a mail plugin that modifies
$SystemTicket, but that’s a project for another day.
- They want to patch it directly against
Most of the (pretty ancient) content that was here has been taken down. I may bring back some of it after converting interesting or useful articles to Markdown.
Recently there was an interview with Peter Walsh on unclutterer. It prompted me to purchase his new book, It’s All Too Much: An Easy Plan for Living a Richer Life with Less Stuff. I’ve found it to be a great read - not only does it talk about how to get rid of clutter but also tackles the reasons why it gets there in the first place, how to prevent it in the future and the “hidden” costs of keeping it around.
Definitely worth a read if you’re like me and feel overwhelmed by your “stuff” sometimes (ok, most of the time).
subscribe via RSS