Saturday, June 11, 2011

Startup manager for Ubuntu for boot options

"sudo apt-get install startupmanager"

Wednesday, June 8, 2011

GuitarPro6 segmentation fault Ubuntu 64 bits

http://askubuntu.com/questions/41920/why-i-am-getting-a-segmentation-fault-opening-guitar-pro

mv ~/.ArobasMusic ~/.ArobasMusicbkp

If this does not work (Ubuntu 11.04), and the error is :

GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
Segmentation fault

then downgrade the ia32-libs package :
(from http://getsatisfaction.guitar-pro.com/arobas_music/topics/after_ubuntu_11_04_upgrade_i_cant_open_gp6)

It seems a bug in the latest ia32-libs causes some trouble to applications that uses 32bit libraries (GP6 use 32 bit libraries too).

A workaround exists, simply downgrade the ia32-libs package.

Follow these guidelines to downgrade ia32:
- download the package from this page http://packages.ubuntu.com/maverick/amd64/ia32-libs/download
- execute this command line: sudo dpkg --force-downgrade -i ia32-libs_20090808ubuntu9.1_amd64.deb

Monday, May 30, 2011

Mounting SeaGate GoFlex from Linux

Download the driver from :
http://download.pogoplug.com/install/linux/pogopluginstall.tar.gz

Create a conf file .pogoplugfs.conf under the same directory as the driver :

svcuser=your_email_registered_with_pogoplug.com
svcpassword=PASS

To mount the file system in a non-empty direcory :
./pogoplugfs --mountpoint /home/acizmeli/Pogoplugfs/

Monday, May 16, 2011

use lapply to modify a list of lists in R

modifyList package:utils R Documentation

Recursively Modify Elements of a List

Description:

Modifies a possibly nested list recursively by changing a subset
of elements at each level to match a second list.

Sunday, May 8, 2011

querying a samba server and mounting a share

smbclient -L server

sudo /sbin/mount.cifs //server/Data /home/me/mountplace -o user=acizmeli%pass,rw

Saturday, May 7, 2011

Stream an image file from a web server and restore it to a partition:

Stream an image file from a web server and restore it to a Linux partition:

wget -qO - http://server/backup.img | \
ntfsclone --restore-image --overwrite /dev/hda1 -

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)