Oct
14
2009
0

Getting closer to the dream…

We are getting closer to what I have dreamed and written of before – a universal information access device that allows people to learn from wherever and whenever they are. The WikiReader is a portable, low power device which has a full copy of Wikipedia that you can carry with you and access from anywhere.

It was designed by the team that brought the OpenMoko to the world, the first true open source mobile phone. I will be interested to see what happens with the developer’s side of things – hopefully they will allow open access to the software of the device so that it can be hacked and used for other things as well. Maybe this is the cheap ebook reader I have been looking for?

Buy yourself a WikiReader by clicking here and support an incredible project :)

Written by James Hodgkinson in: Computers, Literature | Tags: , , , , ,
Oct
12
2009
0

Command line network drive quickies

The most common way to connect a drive to a network path in Windows is this command:

net use X: \\SERVER\Share

Where:

  • X: is the drive letter you wish to map the share to,
  • \\SERVER\Share is the UNC path to the share.

Assuming you have permissions to map drives and to access that share, it will map the drive and tell you that it mapped successfully.

If you want quick access and do not want to map a network drive, you can access a UNC Path directly from the Command Prompt using pushd.

For example:

pushd \\SERVER\Share

This will connect to the path automatically for you and make it your current working directory.

When you are finished on the network share enter the popd command. This will return you to the directory you were in before and delete the temporary network drive.

The popd and pushd commands can be used with local directories. If change to a directory with pushd it stores the previous location you were in so that when you issue the popd command you are returned to it. This is similar to bash-stacking in linux where if you open a shell within an existing shell, quitting that will take you back to where you were when you opened it.

Written by James Hodgkinson in: Computers, Programming |
May
14
2009
0

When variable substitution goes wrong…

Boy I love spam some days, it’s just … weird :) We had this one forwarded to us to block, I wonder if it’ll break something in our wonderfully crap filtering system.

—–Original Message—–
From: Julius Vailes [mailto:Julius-assolato@leeegs.demon.nl]
Sent: Monday, 11 May 2009 10:06 AM
To: [deleted]
Subject: $WordFile{click.txt}

$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}
$WordFile{click.txt} $WordFile{click.txt} $WordFile{click.txt}
$WordFile{click.txt} $WordFile{click.txt}

Written by James Hodgkinson in: Computers, Programming, Work | Tags: , , ,
Nov
28
2008
0

Find the last five IP’s I logged in as

So, to find the last five IP’s a user called “user” has logged in as, do this from .. well, a commandline.

last -i | grep user | head -n 5

Last shows the last (lots) of users that logged in, the -i shows IP’s, then you use grep to filter by the word “user” and use head show the top five. Yay, all done.

Written by James Hodgkinson in: Computers, Linux |
Nov
11
2008
0

EPS Files on Gimp

So, I love running GIMP, it’s good fun. Easy once you learn it, lightish on resources and best of all it’s free. The PortableApps.com edition has been getting some loving from me of late – who can complain when it brings your settings along easily! :D

I tried opening an eps file the other day and ran into a problem – GhostScript isn’t installed as standard.

After installing the 64-bit version for windows from here, there was only one more thing to do. Google-fu got me to a german-language page (translation here) that showed me most of how to fix it. Below is a sample default.env file to show the Gimp where to go ;) The file has to be %GIMPFOLDER%\App\gimp\lib\gimp\2.0\environ\default.env and has to have all the extra newlines according to the original page (and it worked after I did that, don’t ask.

# Example entry in files like these

# FOOPATH=/path/to/foo/stuff

 

Path=C:\Program Files\Gimp-2.0\bin

 

GS_LIB=C:\Program Files\gs\gs8.63\lib\

 

GS_PROG=C:\Program Files\gs\gs8.63\bin\gswin32c.exe

 

Written by James Hodgkinson in: Graphics |

Theme: TheBuckmaker.com Wordpress Themes | TechMilieu.com