|
imported from wiki, 21 July 2006
This piece was originally put together for the BCS OSSG (British Computer Society, Open Source Specialist Group) website on the 15th March 2005. Some of the info may be a bit old by now (21st July 2006), but I decided it would be handy to post it on the HantsLUG Wiki too.
A good number of people who were at the OOSG meeting yesterday (14th March 2005 for those reading this sometime after posting) will no doubt have discussed this in the break. It got me thinking a bit since the IBM ViaVoice has been [continued…]
imported from wiki, 17 June 2006
What is a regular expression?
A regular expression (or regex or regexp) is used when searching for things. A regex tells the computer what to look for – it’s a pattern to match against.
Why do I care about those then?
Regular expressions are used all over the place in UNIX and Linux systems – usually but not always in command-line tools like grep and sed. There are regular expression search-and-replace engines available in most programming languages, including Perl, PHP, C and Java. Regex search and replace functions are available in emacs, sed and vi, amongst others. [continued…]
imported from wiki, 14 June 2006
Nvidia driver on Ubuntu
At least a couple of people (me included) have had a struggle getting the Nvidia drivers working on the newest version of Ubuntu. Following are some links that may be of help to others struggling with the same problem.
chris.d, 29 May 2006 Introduction
The most common way systems are compromised are through web applications. An excellent example of this is phpBB. Users install phpBB on your shared web server. It works, so they leave it. 6 months later, 3 exploits that allow code execution are found in phpBB but the user on your shared web server isn’t concerned with security. You get an email from the feds telling you your server has been taking part in a DDoS.
If you’ve ever seen such an exploit, they usual create a botnet and search for other vulnerable applications on other servers and compromise [continued…]
imported from wiki, 9 May 2006 Ndiswrapper and Debian
Introduction
These notes describe setting up a Linksys Wireless network card on a Debian machine. Because it uses the ndiswrapper interface, the process should be generally applicable to many other cards too.
Ndiswrapper is a module that uses Windows XP wireless card drivers and wraps them with a Linux-friendly interface. Clever. And it pretty much works too, although features such as link quality reporting are missing: not ndiswrapper’s fault apparently. Of course, the XP drivers are probably not Open Source or free or anything nice like that.
Physical Installation
Like any PCI [continued…]
imported from wiki, 1 May 2006 Using x2vnc
What is x2vnc?
x2vnc is a dual-screen hack. It “will let you use two screens on two different computers as if they were connected to the same computer. The computer with the ‘main’ keyboard must be running X-window, and the second computer should have a VNC server running which will update the contents on the actual screen.
Why?
The scenario: I sit at my desk, with my workstation that runs X. I have my laptop beside me (to the right) which also runs X. I keep having to lean over and use the mouse and [continued…]
imported from wiki, 27 April 2006
Introduction
Ever had an MP3 file that is just too long to listen to in one sitting? Normal MP3 playing software allows you to pause playback and continue later, but some portable media players only have track-skip buttons and don’t allow the listener to search within a track. If you are listening to multiple short audio tracks, this isn’t a problem but if the MP3 file is longer, it can be a pain. A good example is an episode of LUG Radio which often runs over an hour, but is a single Ogg or MP3 track.
[continued…]
imported from wiki, 22 March 2006 Creating a Skeleton C++ Project using GNU autotools
Installing the Software
Ensure you have a working system with autoconf automake make g++ gcc etc… Debian packages can be installed with the following command:
# apt-get install build-essential automake autoconf
or if your using aptitude…
# aptitude install build-essential automake autoconf
Creating the Script
Run the script below to create your new project in your current directory. To do this you will need to copy and paste the script into a file using your preferred text editor and then make the script executable:
$ chmod [continued...]
imported from wiki, 23 February 2006 Introduction
This describes how to install Debian Woody on a RAID-1 system (mirrored disks), with RAID being implemented in the kernel rather than in a dedicated RAID controller. Note that some knowledge of RAID1 under Linux is assumed.
What you will need
- A system with two hard disks. Ideally these disks will be on separate controllers if they are IDE disks; this is for performance reasons. Also ideally the disks will be identical, although again this is not strictly necessary. If the disks are not identical then do the initial installation on the smaller disk.
[continued…]
imported from wiki, 10 February 2006
The aim of this page is to make the whole DVD-ROM region free situation clearer. DVDs containing films or TV series are encoded with a “region”. This is an artificial measure introduced on top of the DVD format at the behest of content producers. “Region 1” is made up of the US and Canada for example. The UK is in “Region 2”. Some DVD discs are produced with multi-region encoding and are designed to play in more than one region. Rarely are commercial discs produced without any region protection (also known as Region 0 discs), but Revolution OS [continued…]
|
|