Aug 312010
 

python-ipcalc

http://packages.ubuntu.com/lucid/python-ipcalc
/usr/share/doc/python-ipcalc/README.Debian

sudo aptitude install python-ipcalc

the needed module is /usr/share/pyshared/ipcalc.py

sipcalc

http://www.routemeister.net/projects/sipcalc/
http://packages.ubuntu.com/lucid/sipcalc
http://manpages.ubuntu.com/manpages/lucid/man1/sipcalc.1.html

sudo aptitude install sipcalc

example usage: http://www.cyberciti.biz/faq/linux-subnet-calculator-cidr/

ipcalc

sudo aptitude install ipcalc

usage:

ipcalc 192.168.1.7/24

gip – IP calculator for gnome

sudo aptitude install gip
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Aug 262010
 

If you follow the steps on this site you install netatalk from the Ubuntu binary archives and not from source! So make sure you use uams_dhx2.so (as mentioned below) as auth module in order to encrypt your password.

sudo aptitude install netatalk
# Edit the configuration files:
sudo vim /etc/default/netatalk
sudo vim /etc/netatalk/afpd.conf
sudo vim /etc/netatalk/AppleVolumes.default
# Restart netatalk:
sudo /etc/init.d/netatalk restart
# Allow network access to the ports 548 and 427
sudo ufw allow 548
sudo ufw allow 427
sudo ufw disable && sudo ufw enable 

changes to the configuration:

  • In /etc/default/netatalk set CNID_METAD_RUN=yes (default in Maverick 10.10)
Aug 232010
 

Update 2011-12-20: As there is no update of iRedLite for OS X 10.7 Lion so far. You can still use it but the bindings for Preview.app are broken. A workaround is to set the buttons to actions such as Current App → Cursors Movement → Right to go one slide forward in fullscreen mode.

Aug 202010
 

To set up incoming NAT connections to an ssh server in the guest, use the following command:

VBoxManage modifyvm "VM name" --natpf1 "guestssh,tcp,,2222,,22"

With the above example, all TCP traffic arriving on port 2222 on any host interface will be forwarded to port 22 in the guest. The protocol name tcp is a mandatory attribute defining which protocol should be used for forwarding (udp could also be used). The name guestssh is purely descriptive and will be auto-generated if omitted. The number after –natpf denotes the network card, like in other parts of VBoxManage.

Aug 152010
 

http://www.heise.de/ct/Software-Archiv-5462.html

Mac OS X TimeMachine is a great system to simplify backup and recovery on the desktop. But it failes if you have to backup your data after each change and not just every hour. So what you need sometimes is a triggered backup: have a look at c’t TriggerBackup. With TriggerBackup a file will be backed up as soon as you changed it. It has been programmed by Andreas Beier for the German c’t computer magazine.

Aug 152010
 

http://tombuntu.com/index.php/2008/07/31/install-three-experimental-compiz-plugins/
http://wiki.compiz.org/Plugins/Screensaver

sudo apt-get install compiz-bcop compiz-dev build-essential libtool libglu1-mesa-dev libxss-dev libcairo2-dev git-core x11proto-scrnsaver-dev libxss-dev
mkdir -p ~/Downloads/compiz
cd ~/Downloads/compiz
git clone git://anongit.compiz-fusion.org/users/pafy/screensaver
cd screensaver
make
make install

log out and back in

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Aug 122010
 

To list all ports where server software listens to on a computer running Mac OS X, run this in the terminal:

sudo lsof -i -P | grep -i "listen"

resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Aug 092010
 

FreeNX

sudo apt-get install python-software-properties && sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo aptitude install freenx

Now use nxsetup to install necessary files and create the special user “nx”

sudo /usr/lib/nx/nxsetup --install

If you need nxsetup binary for this check out: https://help.ubuntu.com/community/FreeNX?action=AttachFile&do=view&target=nxsetup.tar.gz

shadow sessions on FreeNX – enables concurrent access to a desktop

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_HowtoShadow

Neatx – the Google alternative to FreeNX

http://www.ubuntugeek.com/how-to-install-neatx-similar-to-freenx-server-on-ubuntu-10-04-lucid-lynx.html

sudo apt-get install python-software-properties && sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo apt-get install neatx-server

resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Aug 042010
 

To convert the file input.flac (saved using the FLAC) to the file output.m4a (ALAC format) you can use this Terminal command:

ffmpeg -i "input.flac" -acodec alac "output.m4a" -map_meta_data input.flac:output.m4a

This needs the ffmpegX distribution for Mac OS X, which seems, however, to be quite old. Better run this on a Linux computer with a newer ffmpeg version..

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)