Author: Chewett

Choose an open source licence

I was trying to find an open source licence that would fit my purpose for my Trend Analyser project. After some googling I found a wonderful website “Choose a Licence” This showed specifically what each main licence does and gave templates to use. It made it easier than reading through and trying to understand all

Selection/Click and drag doesnt work in Gmail – Opera

In opera normally click and drag or selection doesn’t work. This is because in opera Gmail serves up some CSS that breaks the display and stops you clicking and dragging text. To fix this, you can enable opera’s list of JavaScript changes, to make popular sites work. This is done by visiting: http://www.opera.com/docs/browserjs/

Add a user to a group in Linux

How to add a user to a group in Linux usermod -a -G Its a simple as that. So for me adding the user “chewett” to the user “vboxusers” i run the command usermod -a -G vboxusers chewett The -a flag means that the new group is appended, without it you will overwrite your current

Could not access network location \Hewlett-Packard\\

When trying to install MySQL Server it failed with the message “Could not access network location \Hewlett-Packard\\” After some searching it turns out this is a common issue where HP have inserted a registry entry with the install path of “\Hewlett-Packard\\” which isnt a valid location. This can be resolved by removing this entry. This

Location of GeoIP.dat for PHP

To find the location of GeoIP for PHP you can ssh into the server and use the “find” command. find / -iname GeoIP.dat Will return a list of file paths where the file with this name is found. In my case I found: /usr/share/GeoIP/GeoIP.dat /usr/local/share/GeoIP/GeoIP.dat /opt/geoip/share/GeoIP/GeoIP.dat In my case the bottom link was the one

Show trailing whitespace in Vim

Vim is a wonderful command line text editor with syntax highlighting and everything you could ask for provided you turn on the functionality. Recently i was shown that it was also show trailing whitespace with a quick addition to the .vimrc file. All you need to do is add the following: set list set listchars=tab:→\

Using Nvidia Optimus on Fedora

If your computer is recent and has an i3/i5/i7 intel core and a Nvidia graphics card it likely uses Optimus technology. This smart piece of software turns off the power-hungry Nvidia graphics card and runs most programs on the integrated intel graphics chip. In laptops this can save a lot of power. However this solution

Tile windows like Windows 7 on XFCE

Windows 7 has a really nice feature that lets you tile a window to the left or right of the screen, allowing easier placement. This is normally activated with the Windows-(left, right, up down) Arrow key combination. I had searched how to do this with XFCE for a while and today after upgrading to Fedora

XFCE Application Menu Icons Missing

After i installed Fedora 18 XFCE i found that it by default doesnt show the icons on the application menu. I normally navigate it by checking the images and not reading the words, so this inconvenienced me. On checking the properties I found that “Show icons in menu” was checked but it did not seem to

Raspberry Pi!

During Christmas I got a raspberry pi and I have been waiting to start playing around with it for ages. Finally I decided to order the remaining pieces for it such as the power cable and SD card. Since I didn’t have a HDMI TV around I decided to plug it into the router and

20 year old French hacker is arrested after stealing 500k euros and infecting 17k smartphones

A 20-year-old hacker has been recently arrested in Amiens, France after allegedly stealing 500k euros from unwitting victims. The hack worked by downloading and modifying android applications with a trojan which would call premium rate numbers in exchange for SMS codes  for playing online lotteries. Central Office for the Fight against Crime Linked to Information

Grace Hopper – Computer Science Legend

I’m relatively surprised that I hadn’t heard of her before a couple of weeks ago. While discussing small loop optimizations with some friends someone referenced her nanoseconds video (see below). This short video explains quite simply, the concept of a nanosecond. After seeing her talk about nanoseconds, I went to research her a bit further

A WordPress Site?

I eventually decided that i would start a blog that would document various things I do, if not for everyone, but myself. Numerous times over the past year I have felt I wanted to write long posts about certain topics that I meet, but haven’t had a medium to do so. The search for a