While working on a new section of the Question-Defense.com web site that will include articles related to Kali Linux I was creating a menu system that would be similar to the Kali Linux menu system. Once the menu was completed with the necessary content and was visually what I was looking for I needed to go back and make some enhancements for SEO (Search Engine Optimization). The goal was to add a HTML title tag where a HTML alt tag already existed and I knew this shouldn’t be to hard to accomplish using regular expressions via TextMate’s find and replace function. Below I describe the issue in more detail along with the regular expression syntax that can be used to accomplish this in the TextMate find and replace window. Please make sure to backup all files you are going to modify before beginning so you can always rollback if need be.
I recently moved into Mountain Lion (OSX 10.8) and the first thing I wanted was to install rvm to be able to get ruby 1.9.3 in the machine and be able to do some development with it, but as usual it was not as easy as it seemed (The joke is on me!) so here are the steps I took to install rvm and ruby 1.9.3 in OSX Mountain Lion.
I have never had an Android device before so pretty much everything is new to me at this point. I will be writing a bunch of articles regarding the basics of Android and more specifically the basics of Android 4.2 on a Google Nexus 7. In the process of working to root the Nexus 7 I needed to backup everything on the Nexus 7 device including everything that has been configured to date. I also have taken a bunch of screenshots that I wanted to make sure got backed up before I proceed with rooting it. Backing up the Google Nexus 7 is easy but there are a couple steps to make sure you get everything which I have outlined below.
I use TextMate on Mac OSX Mountain Lion to write notes. One thing I find myself needing a bunch is to insert the current date and time so I can track specific events. For instance if I am writing an article for Question-Defense.com and I am doing the initial formatting in TextMate, which is a typical scenario for me, I might take ten screenshots and I like to note the current date/time in case I get pulled away from the article writing for something else. So having a keyboard shortcut that outputs the current date/time is really valuable so I don’t have to type it out by hand. Below I describe how to install a OSX Service that will provide various date/time outputs via Keyboard Shortcuts. The OSX Service called WordService also provides a bunch of extra awesome services which I briefly touch on below as well.
If you recently purchased a Google Nexus 7 you likely will think, like I did, that you will plug it into your Mac and it will mount automatically so you can browse the disk. Unfortunately that is not the case and it takes installing the Android File Transfer app. The reason for this is the fact that Android uses the MTP or Media Transfer Protocol to talk to OSX Mountain Lion. Follow the directions below to enable communication between your Mac and Google Nexus 7 running Android.