Posts Tagged ‘english’

Enable .bashrc on OSX Snow Leopard (and Lion)

Wednesday, October 19th, 2011

Unfortunately OSX doesn’t use .bashrc per default, but it is easy to enable it. To do it, open up the file /etc/profile with root privileges like this:

sudo nano /etc/profile

And add the following line:

[ -r $HOME/.bashrc ] && source $HOME/.bashrc

[ -r $HOME/.bashrc ] && source $HOME/.bashrc

Save, and now your .bashrc file should work like you expect.

X11forwarding on Mac OS X

Wednesday, October 5th, 2011

I am currently sitting in a position where the only way to get internet is through a mobile connection. This means that large downloads often are not possible because of the connection drops.

I needed to download a 500 mb file from RapidShare, that does not allow resuming of download after a connection drop (at least not for non-paying users). My idea was to let my server download the file and to let me download it afterwards with resuming.

The only problem was: The captcha since my server isn’t running a graphical user interface.

I found a program called Plowshare, that can download from a lot of download-websites, and send the Captcha image to my computer through the X11 connection.