Proper modern old school ftp sync

posted by alexis reigel on july 27, 2015

Remember the old days when we had to upload our web page via ftp? I guess for the php developers out there this is still the thing. Developing ruby applications and having capistrano and heroku and stuff has gotten me rid of using ftp for years. But lately I started to use middleman and that lamp server hosting I still have sticking around got useful again. Without having ssh access to it, I was again left with the (good) old ftp option. But as I remembered, syncing a web page by ftp sucked. I used to do that all manually: either bluntly overwriting or first removing and then newly upload everything, neither of which is very elaborate. But then I found a proper solution for all this: lftp. What I use now to properly sync a static middleman page over ftp is this:

lftp -e 'mirror -e -R local_directory remote_directory && exit' \
  -u user_name ftp.your-domain.com

linux and skype and misery and happiness

posted by alexis reigel on september 28, 2013

(Preamble: this guide applies to ubuntu)

Ok so there was a time when the appeal of Skype’s linux version lied in the lack of features and fancy ui. It was stable and my life was awesome.

Then new versions were released and new features were added. Some day Microsoft joined the party (not necessarily concluding that Skype’s change for the worse has something to do with them). Somewhere between then and now Skype became a real imposition for my life. Random crashes on chat, permanent crashes on calls. I gave up on it, using solely my android’s version for calls.

Once upon a time, which is now, I gave it another shot, crawled the internet for solutions and found the following:

$ sudo apt-get remove --purge skype
$ sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
$ sudo apt-get install skype

Now the ugly task indicator is back and everything is stable again.