Version numbers matter! Using a consistent version numbering throughout your project's life matters, too. Changing project name is a high price to pay for cleaning up version errors.
So there's some good news! The Python community's PEP-440 specifies how to use versions.
Here are some examples of versions that abide …Read the rest of this entry »
When reinstalling, upgrading or moving settings, thumbnails may be missing in Shotwell. The problem can look like this:
Each time you import photos, Shotwell will generate thumbnails in two different sizes. If you loose them, you have the problem that they are regenerated on-demand, everytime you scroll by an image. …Read the rest of this entry »
I had an older Nokia and got a new one which I needed to upload my phone book to. In order to connect to Nokia 301 from Gammu, plug the phone in with a USB cable and select the "Modem" option on the phone. The others won't work.
Wammu is …Read the rest of this entry »
I've badly been looking for a way to both run an internal network server on
eth0 and connecting to any kind of internet device, be it on
wlan0 or a USB dongle.
That way, I can be online and browsing documentation, downloading new stuff etc. on the server but not …Read the rest of this entry »
I have been trying to get an automated network install running. The starting point is a Kickstart (Kickseed) setup that works fine on LAN. Problem is: Computers do not do PXE netbooting from WLAN, and secondly that the debian installer was not configuring the network correctly. But the steps are …Read the rest of this entry »
This script uses iptable forwarding and dnsmasq to share an internet connection with full relay of remote DNS servers and a local DHCP server. Before trying the script, here is the over all steps:
You connect to the internet in your normal fashion. For instance with a 3G dongle and …Read the rest of this entry »
If you have a nicely running Ubuntu system with all your favourite packages installed, it might not seem like a good idea to start all over or to replace your hard drive. But here's a tip: To save a list of all packages that are currently installed! This should be …Read the rest of this entry »
A little tip that can really improve your battery life and give you peace of mind while working: Install thinkfan: A simple fan control program.Installation
Here is how it goes on Ubuntu: Step zero is to become superuser ( sudo bash ). Then you install the thinkfan …Read the rest of this entry »
In case you need a quick way of getting rid of spammers on your apache server, use this method as a temporary solution until you find a better one.
Please take not that it will evaluate EVERY SINGLE REQUEST through a Deny policy in Apache's mod_access - it does not …Read the rest of this entry »
THIS DOES NOT WORK WITH APACHE SINCE IT DOES NOT USE /etc/hosts.deny - See this post instead
Use the following Python script to maintain a file in the hosts.deny syntax so that your Debian/Ubuntu box (or other Linux server) is kept undisturbed by forum spammers -- COMPLETELY undisturbed, as the …Read the rest of this entry »
BitCoin is a free and open currency that will exist safely and decentralized online. Read about it.
This method is reported to work on 10.04 (Lucid), and I can confirm that it works on 10.10 (Maverick). I don't yet know about 11.04 (Natty).
Open a terminal
Type:sudo apt-add-repository … Read the rest of this entry »
If you are trying to disable an Upstart script (something that can be started/stopped with "sudo start/stop service-name") , you should really use the method described by Luis Alvarado on AskUbuntu. Please use this to avoid editing scripts that are actually maintained in …Read the rest of this entry »