Friday, April 29, 2011

python : To create a separate list

To create a separate list, you can use slicing or the list function to quickly create a copy:

L = []
M = L[:] # create a copy

# modify L only
L.append(obj)

grep with the find command with the Linux bash shell

use grep's command line option -H to print the filenames when used within the command "find"

find . -name \*.py -exec grep -Hn string_to_search {} \;

Monday, April 18, 2011

UbuntuOne client crashes with the non-UTF filenames

Detect the files with a bad name with : python /home/acizmeli/Downloads/utf8-filename-check.py

and rename the files


https://bugs.launchpad.net/ubuntuone-client/+bug/368626

Saturday, April 9, 2011

GuitarPro missing fonts

http://getsatisfaction.guitar-pro.com/arobas_music/topics/_font_missing_after_updating

Hi, try to remove these files :
C:\ProgramData\Guitar Pro 6\GuitarPro.dat
and
C:\Users\nmartin\AppData\Roaming\Guitar Pro 6\GuitarPro.dat

Linux :
sudo rm /opt/GuitarPro6/GuitarPro.dat