Installing Xilinx ISE WebPack 11.1 under Ubuntu 9.10
This is a short how to install Xilinx ISE Webpack 11.1 / 11.3 under Ubuntu 9.10. Start by downloading the installation files from "Xilinx Download". The file is 2.67 GB, and Xilinx requires you to have a free account in order to download the file.
Danske karakterer under Debian Lenny på en NSLU2
Jeg har haft gevaldige problemer med rsync på min NSLU2 kørende Debian Lenny, idet alle filer der indeholdt æ, ø eller å blive ødelagt. Jeg fandt ud af at det heller ikke var muligt at skrive æ, ø eller å i en terminal, hvilket blev løst ved først at installere locales-all:
sudo apt-get install locales-all
Hvorefter jeg ændrede /etc/default/locale til at indeholde LANG="da_DK.UTF-8".
Alt virker nu glimrende.
(Husk at logge af og på!)
Search and replace in MySQL
Howto replace foo with bar in the column col_name of all records of table table_name, where col_name has foo in it.
UPDATE table_name
SET col_name = (REPLACE (col_name, 'foo', 'bar'))
WHERE col_name LIKE '%foo%';