Text Manipulation FAQ

This is the FAQ for the article entitled Huge Text File, Need to Extract Specific Lines? Here’s How. Working examples and more detailed information for each of these commands is available through that link. All these commands work in the Linux terminal, some of them will work in the Windows command line. When using sed, … Read more

WordPress: How to Auto Expand Comments by Default

Just a little gripe I have with some of the WordPress themes created by some of those amazing designers out there. Some theme designers forget to provide the option to have the comment dialogue box auto expand at the end of articles. Not a problem when there’s a button stating “add comment here” but it … Read more

Clashing TinyMCE Editor Background

Easy to fix so this will be a short post except for text added for search engines…

Sometimes your content management system’s (CMS) theme and your TinyMCE editor’s editor field’s theme will clash their styles. For example, when your theme has a dark background color your TinyMCE editor will show a dark background in its text editor area which, if you use a dark text color, will make it difficult for you to discern your text from the editor’s background color (i.e black on black is black just as white on white is white).

The reason for this clash is that TinyMCE derives its styling informtion (the style.css details) from your theme’s style details; namely, the theme’s body tag’s styling data. To fix this, whether your using Wordpress, Joomla!, Mambo or any other CMS, all you need to do is add a short line of code to your theme’s css file.

The code to add should be similar to

How to Make a Semi-Transparent Image Using GIMP

If you’ve ever used GIMP then you will know that it’s not the most intuitive graphics editor to learn to use. To prove that point, I frequently open images in Kolourpaint (the Linux equivalent to Window’s Paint) to make minor edits then re-open them in GIMP to do the bits I can’t do in Kolourpaint and vice-versa. I know GIMP is a powerful graphics editor I just wish it were more intuitive. Anyway…

Two things I recently learned to do with GIMP:

1. convert every occurrence of a particular colour into a transparent region (good for web graphics), and
2. make an image semi transparent so that it may be used as a watermark.

Here’s how to do those tasks.

101 Incredibly Good WordPress Plugins

So you’ve just installed your shiny new WordPress blog and you know it’s going to make you into the next Internet sensation but your wondering ‘What’s next? How can I make this blog MY blog? How can get it to do everything I want to do? Well, how about some customization to make that blog … Read more

Hardware Discovery and Fault Diagnostics

A Couple of neat tricks I learned while trying to establish a wi-fi Internet connection through the command line are the command line instructions for discovering a computer’s hardware and the device drivers that make them work. Those commands are:

lshw
lspci
lsusb

and

lsdev

The first three of those commands are available on most, if not all, Linux environments. lsdev must be installed using sudo apt-get install procinfo .

You should run them as the root user either by adding sudo before the command else by typing sudo su (followed by pressing the return) key as your first instruction. If you use sudo su then remember to type exit after you’ve finished issuing commands.