XP


30
Mar 09

An easy way to defeat the Conficker worm

The conficker worm is rather nasty. It blocks access to security sites (those containing any of these strings: antivir ca. cert. conficker f-secure kaspersky mcafee microsoft msdn. msft. norton panda safety.live sans. symantec technet trendmicro windowsupdate), and it will auto update itsself to avoid detection (a pretty nifty idea). It is due to strike on April 1st (as a really bad April fools joke), but there is a real simple way to shut it down:

Use OpenDNS.

OpenDNS, a San Francisco–based company, provides a free, real-time service that prevents PCs from accessing phishing and hacker sites, among others. Admins of small and large LANs can use OpenDNS as a Domain Name System server.

On Feb. 9 the firm introduced a new, Conficker-specific feature. If an infected PC on a LAN somehow evaded detection, OpenDNS will prevent it from contacting Conficker’s control servers. Best of all, admins can read a report showing which PC tried to connect to a Conficker server.

For more details, read this announcement from them.

Another bonus, by using OpenDNS rather than your ISP’s DNS, you avoid those really annoying Rogers-style Oh No! We couldn’t find that page.


21
Feb 09

Backing things up a la Crashplan

Backing things up is very important… your hard drive will fail one of these days, and when it does you will lose everything (trust me, my laptop hard drive failed once…).

bit of HDD failure

You are backing important things up right? Oh…

Enter Crashplan. It seems like a simple way to set up your important things to be backed up elsewhere, either on another hard drive, another computer (maybe a family member’s or maybe even on their servers (don’t worry… it is encrypted quite well).

The first thing you have to do is get it (down in the right corner):

Getting Crashplan part 1

Then you have to chose the version you want to get (Linux for me obviously):

Getting Crashplan part 2

Unzip it and install it:

Welcome to The Crashplan installer

You will notice that I am installing as root, that is because of this notice:

NOTE: You are apparently not installing as root. While it is recommended to
install as root it is not required. If you continue to install as seanja
then Crashplan will only be able to back up files readable by seanja.

You can install it as a non-root (admin) user if you only want to backup files that are yours, but I have files that I would like to backup elsewhere. I just installed it using the defaults:

Crashplan Defaults

Ah… I had to install this twice because I messed it up the first time… make sure that you are in the directory that you unzipped crashplan to so that you can just run:

sudo ./install.sh

Then start Crashplan (which will auto start at the end if you told it to), and signup for an account:

Sign up for Crashplan

And if it all went well, you will now have Crashplan up and running, you can now install it on another computer using the same account, and it will recognize it as another one of your computers and let you backup to it for free.

3-backing-up


25
Jan 09

Launchy

vistastart

The keyboard has been proven to make you much faster at performing tasks. At least it has been said to be much faster, some people like your grandma may not be fast on the keyboard, but I am not sure that she really counts in the metric, she probably doesn’t use the computer to the extent that you do.

One thing that is annoying to have to do is look through the start menu for the application that you want to open to do what ever it is you want to do. That is why your desktop ends up looking like a kmenucluttered mess, you have folder shortcuts, application shorcuts, stuff you just downloaded (shame on you for not having a downloads folder set up!), and temporary files that you create for something and then forget to delete. It all adds up to create a jumble that is at least as bad if not worse than looking through the start menu for that application that you want to open. In comes the quick start bar. That group of icons beside your start menu (in Windows, KDE, and Gnome), but what is the point of that if you end up filling it to the point of your start menu? You might as well not have it at all. Fortunately the people who designed the Windows Vista start menu realised this and added in a Search box, and fancy that, so did the guys in KDE land. The only problem with those search functions is that they attempt to do too much, first they search the start menu (which takes way too long in my opinion), and then if they find nothing, they offer to search the entire computer (at least Vista does, I am assuming that KDE does too). This takes even more time.

 

launchy

Enter Launchy. Launchy is a small program that runs in the background waiting for you to press the key combination that you set up (mine is win + space) it has already scanned the contents of your start menu, and/or any other location that you specify (it doesn’t have to look at your start menu… it could just be a specific folder on your computer) and it guesses, based on what you type, what program you want to run. If it can’t find what you want, you type in gibberish, or mistype, or specifically type in something you don’t have, you can make it default to searching google for what ever it was that you typed (by enabling the weby plugin and making the default search to be google). launchy-weby Launchy will then open up your default browser and enter the search term into google and google will give you the results that you are looking for. The best part is that Launchy is free OS software that runs in Windows or Linux. So go get it now, you have nothing to lose by at least trying it out.


23
Jun 08

Batch Editing Photos with Phatch

My dad was looking to edit some photos to be able to send more than just a couple through email. He needed something simple, all he really wanted to do was either lower the quality or shrink the image (make the file smaller than the 2 mb that it started as). The other requirement was that it runs on his eeePC which is the linux version.

There were many options out there, and eventually he did settle on something that was already on the system (what appears to be an equivalent to MS Paint). I however found something way more interesting to play with. It is called Phatch (cleaver name eh?). And yes, it works on Windows too (since Kris was complaining about her large number of overly large photos).

The interface is simple, and I am sure that even a trained monkey could use it, so there is no excuse not to try it out. Well… maybe if you are on a mac there is already a program for this seing as it is monopolistic and all, or you are still running dos or something silly like that… no… wait, you can use the command line too, nevermind… even you DOS traditionalists can use it (ok, don’t quote me on that one, I don’t think it really works in dos… but seriously, upgrade your system). Infact, as I write this post I will be installing it on vista (here’s hoping that it works, or I will look like a dummy (more so than usual)).

First you have to get Python from here. Or if you are on Linux you probably already have it installed (or use apt-get install python). For some reason python does not add itself to the path variables in Vista (not sure about other versions of Windows). Thats not a problem though because python associates all of the .py files with python so all you have to do is double click them (booya!).

Next, you need to install wxPython (Python bindings to the wxWindows cross-platform toolkit) from here. For Windows scroll down and find the one that is suited for your version of python (2.5 is the latest one as of this post) you will most likely want the Unicode version (as it says on the page). Then I am asuming at the end of the install process you want to leave everything checked except the viewReadme (unless you will be using it to write software).

Finally if you want to install pil (Python Imaging Library). Which is available here. Once again, download the one for the version of python that you downloaded (pil 1.1.6 for python 2.5 for me). Install that (there were some “could not create file” messages for me, but we shall see what happens). It all works by the way.

If you are on Linux there is one more step and that is to install findutils. Which is apparently used to add search functionality to programs.

On ubuntu all I had to do was download the .deb file and install it from there.

Now you are ready to install phatch from here (at the bottom of the page beside the number 2).

Ok, moment of truth, I am downloading it, and I will try to install it as soon as I unzip it (if you cannot unzip the file get 7zip and you will be able to do so no problem. Inside the unzipped folder there is a folder called Phatch, this is where the program is run from (mine is at C:\phatch\phatch). And here is the running program:


Moving on…

Once you have what appears to be a working program you can start the magic. Click on the plus sign like it tells you to (see what I mean about monkeys?) and you are confronted with this screen:Phatch Actions

This screen contains what I can only assume are the “most common actions” that the author of the program uses. If all you are doing is changing the size you are fine. So, click on Scale and you are given the options for that action as you can see here:

Scaling options

Each one of the rows that you see here (the last one of which is highlighted in blue) is clickable and editable. In the image I have left the standard settings but you can change them if you want. Once you have chosen all of the things you want to do to the images (or image) add a save action to the end (if you forget phatch will remind you (I think)), choose the options for saving it. Where you want to save them, what you want the files to be called, the type of file (I suggest png as it is quite portable and has really good quality). Then click the play button (Execute the Action). You can actually just leave it all alone and it will automagically use the same file type, and create a folder with _phatch on the end. The end result will be a new folder in the location that you decided full of your creations. Beautiful.

But, we are not done! Thats right, there is more. Once you are happy with the result of all of your tinkering, you can save your Action list for later. If you want to be even more creative, you can do File -> Export -> Action List Droplet. This makes an executable that will carry out all of the actions that you have used in this action list. This means that you can send your action list to a friend and tell them to drag and drop a folder onto the executable and they will get the same fun actions done to their photos. Apparently it just links phatch up to your script and runs a windowless version of python. I think I prefer to just open up phatch and drop a folder on it instead. You need to install the Python Win32 Extensions (which can be found here the one in the big green box) to be able to do this. You might have to restart Phatch after you install this. I am about to find out. The answer appears to be yes.

Here is my Cool Action List Droplet. Try it out!

Apparently it needs python to run, but mine cannot find pythonw. Fortunately this is easy to fix by adding python to your path variables.

Control Panel -> System -> Advanced (Settings) -> Environment Variables (at the bottom)

Look in the System Variables box (the bottom one) for the variable called Path select it, click on Edit and add:

;C:\Python25

To the end of it. Click Ok and then close all of those windows. You should be good. Though apparently mine is still not for some reason. Oh well, all I have to do is look for pythonw (which is in the python folder (C:\Python25) and click it when it asks me to and all is good. I am not really sure why this is a problem (probably a different version of python than this was written with), and I am not about to fix it myself seing as I do not know python. I might inform the author of this small problem though.

Oh ya, and if you want to share with your friends that are not on Windows you can just send them the .phatch file. Like so.

Here is the end result of my phatch file if you don’t want to try it out.


22
Aug 07

Safari Strangeness

I just uninstalled Safari as I had an error from the Apple update manager on my XP machine. It was strange though, because it asked me to make sure that Firefox was closed before proceeding to remove Safari. Is Safari trying to take over my web browsers one at a time? I should have tried to uninstall Safari with all my web browsers open to see what happens… Maybe I will do that tomorrow. It is a little late for messing around with stuff like that tonight.

I also decided to remove Quicktime and iTunes, well mostly because I have no need for them at this time.