Debian/Ubuntu do not have bash autocompletion enabled for root account by default. When working under root account, this is quite missed feature, but luckily it can be enabled very easily:
apt-get install bash-completion # if not installed - like in minimal Debian install
add folowing to the file:
if [ -f /etc/bash_completion ]; then
I need to use superuser privileges quite often and not so particular about security, but still want to work mainly under my own user. The solution is to set sudo not to require password for my user:
add following line to the end:
As noted this is basically a security risk, so apply only if you are sure what you are doing.
Having heard so much about clouds and ‘Infrastructure as A Service’ recently I decided to try Openstack – complete open source solution for cloud computing. Openstack is actually a set of softwares, that together provide necessary services for a cloud infrastructure. Openstack (Essex release) can be installed in virtual machine, Virtual Box in my case, so I gave it a try and here are some of my observations: Continue reading Partly Cloudy – Openstack in VM
After upgrade to the new version of Linux (Mint 13, which is based on Ubuntu Precise) I’d found that my trackpoint is not working right (on Dell E6410), it was bit unresponsive and movement was not smooth. Touchpad was generally OK, but trackpoint really sucked. So I had to look into details of mouse setup in X and I was really surprised how many various parameters are there and how many aspects of mouse behaviour could be modified. So I’d like to share few tips how to set pointing device – apart of those obvious settings, which are available in desktop settings (Acceleration and Sensitivity).
Continue reading The Taming of The Mouse – Details of Mouse Setup in X
Visual Python or vpython is python library for simple 3D animation, especially useful for animation of simple physical scenes – like pendulum, ball on a spring, movement in gravitational field etc. It is fairly simple to use and gives quite nice animations, which can demonstrate some laws of physics. I actually spot this package, when I saw an article about physics in popular mobile game “Angry Birds – Space”. In that article they had been arguing about physics laws in the game and also referred to vpython, where they made some experiments. I told myself I have to try it myself, so I’ve created small program using vpython. Continue reading Having 3D fun with Visual Python