Clearing .bash_history
November 2, 2020
Clearing history is easy, right? You just run history -c right? Well, sure but then when you log out your history will show you exiting. When creating virtual machine templates I like to leave the history blank because it’s clean and I don’t get in the way of anyone or leave accidental secrets in there. […]
Electronic mail is complicated. It’s taken for granted by every end user in the world that “it’s so simple” and should be free, but they don’t want spam and they don’t want you to sell their data… but I digress. Laravel’s mail API allows you to build an email using the blade templates you’re already […]
Building your ember-cli app with the latest cordova platforms, latest Xcode for latest iOS
November 4, 2018
It’s that time of year again when we need to refresh our app for our annual conference in January. I, for one, like to get everything up to date as possible as part of that refresh so that we’re not too far out to lunch but the time the event rolls around. We don’t want […]
There’s no doubt about it, websockets are awesome. They give your application that live kick to react to events without page loads, just pushed data. To add that to our favourite stack, Laravel as an API back end and ember.js as our interactive front end isn’t the easiest thing to take on but once it […]
Use sed to add “DROP TABLE” to an existing mysqldump output
October 3, 2016
If I had planned ahead, I would have generated my mysqldump file with the –add-drop-table command line option to add the DROP TABLE IF EXISTS `tablename` but I didn’t, so when my 39GB mysqldump file had a Foreign key constraint error on line 34233, I would have had to generate a whole new one to […]
Let’s Encrypt!
March 30, 2016
Let’s Encrypt has just released their newest intermediate certificate authority, Let’s Encrypt X3 and with that, it’s now compatible with Windows XP for users using Chrome and antique Internet Explorer. While I’ve already been delving into the system, it’s now going to be my go-to with that last minor hiccup for users who couldn’t/wouldn’t update […]
So after following all the guides I could find, I had XMPP handling state information for my asterisk boxes, but then I wanted to add another server to the mix. res_xmpp.c:1397 xmpp_pubsub_handle_error: Error performing operation on PubSub node device_state, 403. Here’s the details derived from http://xmpp.org/extensions/xep-0060.html#owner-affiliations So, to query the current affiliations I ran: <iq […]
Use iptables to block DNS lookups to from malicious bots
November 7, 2015
After running a name server for a while, you’re going to get a knock at the door one day from the Internet Police because your DNS server is spewing up crap all over the interwebs. So, to block those lookups from even hitting your bind name server, you can throw iptables in the mix and […]
For whatever reason, someone thought it would be a grand idea to have 250 web sites in one subversion repository, that repository, now converted to git, is now 2.5GB and bloated as can be. Some of the data in there can just sit there and rot, but some of it is still quite useful, so […]
How to make Windows 7 bootable install USB stick
August 18, 2015
Found this perfectly summarized guide to making a Windows 7 bootable USB install drive. Something I’ve done repeatedly but never had such a succinct list of tasks to get it done. Please note: during this procedure you’ll lose any data on your USB flash drive. Please be extra careful during formatting, choosing the wrong drive […]