Technology Insights

Pretty Link Pro – Tweet Post After Publishing

We use the Pretty Link Pro WordPress plugin, which is a bargain and can be purchased by clicking here, to tweet articles under the @questiondefense Twitter account. This not only is easy to do with Pretty Link Pro but it provides a great method of driving traffic to our articles here on Question-Defense.com. There have been numerous times when one of us forgets to check the tweet article checkbox in the Pretty Link Pro bucket from the Add New Post page when writing articles. The issue with that is the fact that once an article is published there is no tweet article button from the Edit Post page within WordPress. Below we describe the process of tweeting a post after it has been published in WordPress.

Technology Insights

cut – Represent A Tab As The Delimiter With Linux cut Command

I have been using the cut command a lot recently to shed extra data from large text files. I typically use cut with a specific delimiter by activating the -d switch and I thought that the -d switch was required. It turns out that -d is not required and by default -d actually defaults to the delimiter being a tab. When you need to have a tab as the delimiter for cut you simply don’t specify the -d switch. Below I show a couple examples of a file trimmed down using cut with and without the -d switch as well as another way to convert tabs in a file to spaces which then will allow you to use the Linux cut command with the -d” ” switch.

Technology Insights

Screenshots – Configure Keyboard Shortcuts For Backtrack Linux

Since I write a lot of articles about Backtrack Linux it is nice to have keyboard shortcuts for different screenshot commands. The two screenshot commands that I use most in Backtrack are “gnome-screenshot -w” and “gnome-screenshot”. The gnome-screenshot command will take a screenshot of the entire desktop while “gnome-screenshot -w” will take a screenshot of the active window only. Below I describe setting up ¬†keyboard shortcuts for each of these commands on Backtrack Linux. The below information will work the same on Ubuntu 10.04 as it does on Backtrack Linux since that is what the current Backtrack Linux version (Backtrack 5 release 3) is built on.

Information Security

PCRE Regex Filters For Kismet On Backtrack Linux

If you decide to remove the default kismet install on Backtrack Linux so you can then compile kismet from source you will be missing some functionality. One of the bits of functionality not installed by default on Backtrack 5 release 3 is the PCRE Regex Filters. You can easily enable this functionality by installing a single package before you run the kismet configure command when compiling the source.

Technology Insights

MapPress WordPress Plugin – Change All Markers On A Single Map

MapPress is a WordPress plugin that provides an interface to Google Maps and easily allows you to insert detailed Google Maps into WordPress posts or pages. We have a site that provides password auditing services called QD Tools and on the homepage there is a map that lists the city, state/province, and country of our customers. I have been using MapPress Pro for a long time because it offers lots of extra features and MapPress itself is such an awesome plugin I like supporting the developer. Anyhow the Google Map on the QD Tools homepage is has over 1,000 markers and continues to grow. I wanted to modify the default MapPress/Google Maps marker that was being used but there is no way in MapPress to retroactively change this so the instructions below explain how to do this.