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 {} \;
Nothing fancy. Just a scratchboard for Open Source Geospatial manipulations. Involves (although not limited to) Linux, R, gdal, Quantum GIS, Geoserver etc.
Friday, April 29, 2011
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
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
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
Tuesday, March 29, 2011
How to install Google Earth in Ubuntu 10.10 Maverick 64 bits
from http://www.ubun2.info/2010/10/how-to-install-google-earth-in-ubuntu.html?showComment=1287937450936
nstalling Google Earth in Ubuntu Maverick is very simple. For Ubuntu Maverick 64 bit users,they need to install the dependance package: ia32-libs and lib32nss-mdns.
Open up a terminal window from Applications -> Accessories menu and run:
sudo apt-get install ia32-libs lib32nss-mdns
After the installation of ia32-libs and lib32nss-mdns complete.
Then install googleearth-package from the default repository using this command:
sudo apt-get install googleearth-package
Then run the command:
make-googleearth-package --force
it will take a moment and finally generate a deb package.
Install the deb by the command (change the package name to yours):
sudo dpkg -i googleearth.deb
Finally,launch Google Earth from Applications – > Internet menu.
nstalling Google Earth in Ubuntu Maverick is very simple. For Ubuntu Maverick 64 bit users,they need to install the dependance package: ia32-libs and lib32nss-mdns.
Open up a terminal window from Applications -> Accessories menu and run:
sudo apt-get install ia32-libs lib32nss-mdns
After the installation of ia32-libs and lib32nss-mdns complete.
Then install googleearth-package from the default repository using this command:
sudo apt-get install googleearth-package
Then run the command:
make-googleearth-package --force
it will take a moment and finally generate a deb package.
Install the deb by the command (change the package name to yours):
sudo dpkg -i googleearth.deb
Finally,launch Google Earth from Applications – > Internet menu.
Sunday, March 27, 2011
How to Install GuitarPro6 on 64-bit Ubuntu
From http://ubuntuforums.org/showthread.php?t=1458626
How to Install Guitar Pro 6 on 64-bit install.
1) Download the latest .deb from Guitar Pro's website.
2) Goto http://frozenfox.freehostia.com/cappy/ and install getlibs-all.deb
3) Run this in terminal
Quote:
sudo dpkg -i --force-architecture Downloads/GuitarPro6-r7840.deb
You will get some errors but ignore.
4) Run this in terminal
Quote:
getlibs /opt/GuitarPro6/GuitarPro
How to Install Guitar Pro 6 on 64-bit install.
1) Download the latest .deb from Guitar Pro's website.
2) Goto http://frozenfox.freehostia.com/cappy/ and install getlibs-all.deb
3) Run this in terminal
Quote:
sudo dpkg -i --force-architecture Downloads/GuitarPro6-r7840.deb
You will get some errors but ignore.
4) Run this in terminal
Quote:
getlibs /opt/GuitarPro6/GuitarPro
Thursday, March 10, 2011
Moving a thunderbird profile to another machine
http://support.mozillamessaging.com/en-US/kb/Profiles#_Moving_a_profile
Friday, March 4, 2011
Installing Rstudio in Ubuntu : ignoring a depending package
The installer of rstudio complains : Package r-base is not installed. But in ubuntu, that package exists under the name r-base-core.
Simply install the package with the following command :
sudo dpkg -i --ignore-depends=r-base rstudio-0.92.23-i386.deb
Simply install the package with the following command :
sudo dpkg -i --ignore-depends=r-base rstudio-0.92.23-i386.deb
Subscribe to:
Posts (Atom)