Find and Replace with Carriage Return 3rd February 2010 at 8:28 am

Something I do on a fairly regular basis is Find and Replace with Carriage Return. This little gem of information is so simple but so useful I thought I’d share it with you. When you have a big list extracted or exported from another application, you will frequently find that you have commas or spaces separating the items in the list. This is a bit annoying when you need to put the items into a vertical list i.e. a carriage return after each entry.

If your text editor supports regular expressions, it’s so easy. Perform a search/replace with your current separating character and replace it with \n . The standard programming representation for Carriage Return is backslash and ‘n’, this is used by the regular expression standard.

Remote Desktop Web Access for FREE? 1st February 2010 at 5:37 pm

The big boys in Remote Desktop Web Access make it look as if you are going to get their service completely free. Then you go to their site and quickly find that they’re offering you a trial period. So what they are offering is NOT free. Their hope is that you’ll try it and then be so hooked you’ll stick with it and start paying. I can’t blame them for doing this as they are offering levels of support with their packages and they are looking to make a profit and obviously they have to pay the support staff. Now as you probably know, I’m an advocate of open source software and systems and by its very nature almost never comes with any level of support other than access to forums.

There are several completely free ways in which to make a remote connection to another desktop but invariably they require port forwarding through firewalls after downloading and installing software, assuming you know which ports to use. If you know what you’re doing then it’s reasonably easy to get things working, that’s also assuming that the other party knows what to do as well.

What we really want is a simple website to go to where both parties can see each other and make the connection. The closest to this is GoToMyPC which uses Java so you need Java runtime library installed on your PC. The advantage of this is that as long as you can install Java runtime, it doesn’t matter whether you use Windows, Mac or Linux. A lot of people already have this installed. The downside of GoToMyPC is that it currently costs $16.95 per computer per month on the monthly plan for 2-20 computers. I think that’s extortionate. Unfortunately I haven’t yet found a free system that works the same way. The only free RDP systems I know of are Microsoft RDP which is not present on the XP Home Edition and various versions of VNC which can be downloaded. One very good system is TeamViewer which is free for personal use but even this requires a license for commercial use. Most software companies that use GNU VNC at the core of their systems still end up charging for their product as they wrap a more friendly front end around VNC and add a few bells and whistles.

If any of you out there know of any free systems that operate like GoToMyPC then please leave some details in a comment.

2 Minute Ranking Update 28th January 2010 at 9:22 am

I have been carrying out some experiments of my own using the “2 Minute Ranking” technique listed by Coty Schwabe.

I have now decided to share my findings in this 2 minute ranking update. First and by far the biggest consideration is how long has your domain been around and how much content does it already have? If you expect to buy a domain, fill it with content and then expect to see your content in 2 minutes, it isn’t going to happen.

New sites can take up to a month to appear in Google. After they appear for the first time, new content can still take the same length of time to appear in Google. You have to be prepared to wait quite a while and have a large amount of content until newly added content will appear in minutes.

This domain networkusall.com has been around since March 2nd 2008 and I have posted over 30 unique content articles. I am not saying that your domain has to be around that long or have that many articles but this is the only domain I have that will rank articles in minutes. I’ve performed tests on my other domains, even one that’s been around for at least 2 years and it took days for a new post to appear. Content is king and I am also starting to think that unless you are a dot com domain, you are way down the list with regard to fast ranking, perhaps someone will prove me wrong. If anyone out there has ranked a new post in minutes with a non-dot com then let me know in the comments, I would be very interested to know your experiences.

Most of my domains are .co.uk and I’ve not managed to rank any post faster than a few days.

Coty Schwabe does advise you to have good content and plenty of it but it would be interesting to identify the volume of content a domain has and how long it takes to appear in Google.

2 Minute Ranking with Google 26th January 2010 at 11:20 am

Amazing video explaining how Coty Schwabe gets site posts ranked in Google in just 2 minutes. It can take slightly longer e.g. 11 minutes but hey, who’s complaining when we’re talking minutes.

Watch his video at http://googledogsofwar.com/2-minute-ranking.html

Sign up and you get the following options:-

Free Email Publications!
Check the free email publications you want and subscribe now! See more …
Claim Your FREE “Millionaire Maker” DVD Now!
My Most Closely-Guarded Money Making Secrets REVEALED!
*Profit First Trial* (only 5 hours!!) ….
Check this! I just heard that for the next 5 hours you can get Pauls *PROFIT FIRST* access for only $5.00 (instead of $77)!!! …
FREE $197 Automated Income System?
Check your email right away for ….
“Thanks, here’s your AIS System download link! ($197 value) …”
You Love MLM? Looking for new businesses?
Credit Card required. This is a BUSINESS and NOT a job. Don’t subscribe if you are broke!!
Free MP3 and Report?? (next 3 hours only) ….
He raked in over $2,193,070 over the past FEW years with little lucrative copycat sites…See how!
The #1 Secret of UK Horse Racing
Find out a little known fact of UK Horse Racing that is consistently profitable Kind regards Chris Wigg

Originally posted at my dot co dot uk site http://www.pcpixie.co.uk

Losing weight without starving yourself with networkusall 25th January 2010 at 6:43 pm

Dear Friend,

According to recent surveys done, over 66 percent of Americans age 20 and over are overweight by at least 20 pounds. Obesity is at an all time high as America becomes the fattest nation on the
face of the earth! If you’re like me, you think that’s troubling!

Most of us could stand to lose a few pounds, or at the very least start down the road to a healthier lifestyle. We have become a nation dependent on fast food chains and quick-fix pre-packaged
foods in order to accommodate our busy lifestyles.

If you’ve found yourself with a couple of spare tires around your mid-section, you probably know you should go on a diet. But you dread doing that because you don’t want to have those hunger
pangs that you think inevitably come with diets and weight loss.

Change Your Thinking Today…

You don’t have to be hungry when you diet. In fact, you might find yourself enjoying the kinds of foods you never thought you could while on a weight loss program and never feel like you’re
starving yourself. How can you do that?

Visit weightloss.networkusall.com

I’ve been given exclusive access to an amazing new book that can unlock the mystery behind dieting, losing weight, and never feeling hungry while you’re doing so! It’s titled, “Losing Weight
Without Starving Yourself” and I’m offering it to you right now!

I couldn’t believe it either. I’ve been through the gamut of fad diets, those fat burning pills that promise to take off 20 pounds in just 3 days….you name it, I’ve done it when it comes to weight
loss. The problem was that nothing worked – none of it. And then I read this book!

Inside these pages is a wealth of information about losing weight and still feeling like you’re cheating on your diet. What can you find?

  • Information about metabolism and why it controls your weight loss
  • Putting yourself into the right mindset to lose weight
  • What foods you can eat
  • What foods you CAN’T eat
  • How to shop for the right foods
  • And much, much more!

Far more info and how you can obtain the answer at http://weightloss.networkusall.com/

Electronic Products 9th December 2009 at 12:12 am

When it comes to choosing electronic products you really need to do your research. Understand the basics of what you are considering buying. For example, do you know what Blu-ray is exactly? If you think you know what you want then make sure before jumping in. If you’ve been considering buying a Blu-ray player then I would suggest taking a look at Ezine – Choosing-a-Blu-Ray-Player.

Linux 6th September 2009 at 8:44 am

Linux is an operating system like Microsoft Windows and Mac OS X. Unlike Windows and OS X it is free.
Now another common mistake is to use the phrase I have in my first sentence. Linux is NOT the name of the operating system. Linux is actually the name of what is called the Kernel which lies at the heart of many types of free operating systems. The Linux name given to all these operating systems is a convenient way to refer to a system which uses the Linux Kernel. Those of you familiar with the Unix type operating systems will be more at home with Linux Kernel based operating systems but having said that, in the graphics desktop environment, you can experience a Windows style desktop,


an OS X style desktop or any other style desktop you wish as the two most commonly used Linux based graphics desktop environments, GNOME and KDE, are completely configurable to your own preferred style or use. I use the word free above in the context of “free to use” and yes “free to modify” but, free to modify comes with some provisos. Under the GNU license which the Linux Kernel adheres to, if you modify a copy of the Linux Kernel, you must make this available to anyone else. The idea being that others may benefit from your modifications and they in turn may do the same and offer a continuation of improvements that will benefit the whole Linux community.
Well that’s the basis of Linux. It’s not an operating system on it’s own but forms the first building block on which GNU based operating systems are based. Here is just a sample list of these type of operating systems, also referred to as distributions or distros: Ubuntu, Fedora, Mint, openSUSE, Mandriva, Debian, PCLinuxOS, Puppy, Sabayon, Arch, CentOS, Slackware, MEPIS, Tiny Core, FreeBSD, Kubuntu, Zenwalk, Vector, PC-BSD, Damn Small, Gentoo, KNOPPIX.

GNOME – How to move window buttons 20th August 2009 at 10:19 am

Some people prefer their min,max,close window buttons to be on the left – mac style.
Somehow I managed it then forgot how I did it so when I finally found how to do it AGAIN!, I thought I’d share it.

GNOME calls this “metacity button layout”.

From a terminal window, type gconf-editor.

Now navigate to apps/metacity/general and change the button_layout value as required.
The colon (:) indicates the left-side and right-side divider.

So, Windows style would be menu:minimize,maximize,close and Mac style would be close,minimize,maximize:menu.


CentOS 5, VAIO and Wireless 19th August 2009 at 8:59 am

I own a Sony VAIO laptop on which I dual boot either Windows XP or CentOS 5 (Linux Kernel).
I always wanted to get wireless networking to work but, the plain and simple truth is that although the core components for wireless activities are present, there are vital applications missing which allow a user to connect wirelessly in a similar manner to Windows.
So the hunt began. Now I’m not one to beat around the bush so here’s what I found (that worked for me).
My model of laptop uses the Intel 3945ABG wireless adapter and although CentOS appears to identify it, I always got the message whenever I tried to activate the device:

Error for wireless request “Set Encode” (8B2A):
SET failed on device wlan0; Invalid argument.
SIOCSIFFLAGS: No such file or directory
Failed to bring up wlan0.

After sifting through huge amounts of postings to forums about all the tweaks and options other people had tried and failed with, I found this article, that pointed out that CentOS 5 (and for that matter RHEL 5) simply doesn’t have all the required tools to make it work.

Here’s an outline of what you need to do:

1) Add Dag Wieers repo
from HERE.
Chose your flavour from the list.
Download the file to the root directory and extract all files.

2) yum install dkms-ipw3945

3) chkconfig –level 345 NetworkManager on
chkconfig –level 345 NetworkManagerDispatcher on

4) Reboot

You will now have an icon in your system tray from which you can simply configure your wireless connections.

CentOS5 update problem solved 13th August 2009 at 11:30 am

Recently I tried to update my CentOS5 PC and had the following error:-

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sov.uk.goscomb.net
* updates: mirror.sov.uk.goscomb.net
* addons: mirror.sov.uk.goscomb.net
* extras: mirror.sov.uk.goscomb.net
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package libxml2.i386 0:2.6.26-2.1.2.8 set to be updated
—> Package xulrunner.i386 0:1.9.0.12-1.el5 set to be updated
—> Package libxml2-python.i386 0:2.6.26-2.1.2.8 set to be updated
—> Package libtiff.i386 0:3.8.2-7.el5_3.4 set to be updated
—> Package apr.i386 0:1.2.7-11.el5_3.1 set to be updated
—> Package bind-utils.i386 30:9.3.4-10.P1.el5_3.3 set to be updated
—> Package kernel.i686 0:2.6.18-128.4.1.el5 set to be installed
—> Package nss.i386 0:3.12.3.99.3-1.el5.centos.2 set to be updated
—> Package apr-util.i386 0:1.2.7-7.el5_3.2 set to be updated
—> Package tomcat5-servlet-2.4-api.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
—> Package bind-libs.i386 30:9.3.4-10.P1.el5_3.3 set to be updated
—> Package tomcat5-jsp-2.0-api.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
—> Package python.i386 0:2.4.3-24.el5_3.6 set to be updated
—> Package nss-tools.i386 0:3.12.3.99.3-1.el5.centos.2 set to be updated
—> Package kernel-headers.i386 0:2.6.18-128.4.1.el5 set to be updated
—> Package nspr.i386 0:4.7.4-1.el5_3.1 set to be updated
—> Package firefox.i386 0:3.0.12-1.el5.centos set to be updated
Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File “/usr/share/yum-cli/yummain.py”, line 229, in user_main
errcode = main(args)
File “/usr/share/yum-cli/yummain.py”, line 145, in main
(result, resultmsgs) = base.buildTransaction()
File “/usr/lib/python2.4/site-packages/yum/__init__.py”, line 647, in buildTransaction
(rescode, restring) = self.resolveDeps()
File “/usr/lib/python2.4/site-packages/yum/depsolve.py”, line 704, in resolveDeps
for po, dep in self._checkFileRequires():
File “/usr/lib/python2.4/site-packages/yum/depsolve.py”, line 939, in _checkFileRequires
if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename):
File “/usr/lib/python2.4/site-packages/yum/transactioninfo.py”, line 414, in getNewProvides
for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():
File “/usr/lib/python2.4/site-packages/yum/packageSack.py”, line 300, in getProvides
return self._computeAggregateDictResult(“getProvides”, name, flags, version)
File “/usr/lib/python2.4/site-packages/yum/packageSack.py”, line 470, in _computeAggregateDictResult
sackResult = apply(method, args)
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 861, in getProvides
return self._search(“provides”, name, flags, version)
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 43, in newFunc
return func(*args, **kwargs)
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 837, in _search
for pkg in self.searchFiles(name, strict=True):
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 43, in newFunc
return func(*args, **kwargs)
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 586, in searchFiles
self._sql_pkgKey2po(rep, cur, pkgs)
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 470, in _sql_pkgKey2po
pkg = self._packageByKey(repo, ob['pkgKey'])
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 413, in _packageByKey
po = self.pc(repo, cur.fetchone())
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 68, in __init__
self._read_db_obj(db_obj)
File “/usr/lib/python2.4/site-packages/yum/sqlitesack.py”, line 94, in _read_db_obj
setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object

After some searching and checking several suggestions, I found the cause and solution to be very simple.
The yum cache had become corrupted.

The solution:

cd /var/cache/yum
rm -rf *
yum makecache

See below
Sponsored Links




That cured it.

yum update then worked perfectly.

Many thanks to http://just-another.net.