Monday, April 27, 2015

Make your Spotify client for Linux work on Ubuntu 15.04

Here are the steps to install and make Spotify client for Linux work on Ubuntu 15.04:

First, download the client following the instructions here: https://www.spotify.com/download/previews/

Then, follow the instructions from here: http://www.webupd8.org/2015/04/fix-missing-libgcrypt11-causing-spotify.html

If you then want to get your mp3 files play on the client you need to do this:

sudo apt-get install ffmpeg ubuntu-restricted-extras

After that, install the libs that you need by following this post: https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Linux-Local-files-do-not-play-on-Ubuntu-14-04/m-p/1072805/highlight/true#M119043

Now things should properly work.

Tuesday, April 7, 2015

Kinesalite - Use an AWS Kinesis emulator for your dev work

AWS Kinesis is an amazing tool which is also very cheap.
But sometimes there might be cases where you just want to have a local machine in place to emulate it. 
Here's where Kinesalite, https://github.com/mhart/kinesalite, comes into play.
If you'd rather skip all the nonsense of installing nodejs and g++ and whatnot in order to make it work, you can now use it with docker: docker run -d -t -p 4567:4567 dlsniper/kinesalite:1.4.1
More info about the docker instance here: https://registry.hub.docker.com/u/dlsniper/kinesalite
As it's my first ever docker image, if you see any issues, please let me know.
Hope you like it and find it useful.