SSH and SFTP tunnels via ProxyCommand

Recently on CyberCity nice article appeared about using middle server to connect to our destination servers. Most of servers have firewalls which  allow connect only from given pool of IP addresses. So tunnelling is very useful as long we are using it in smart way.

Using Google Cloud storage with AWS libraries in GO LANG

Using Google Cloud storage with AWS libraries in GO LANG

Google Cloud storage  it’s Google answer to [Amazon S3][1] service. As long one of them is very popular 😉 Second wasn’t so successful amongst developers due to quite complex processes around service. Amazon is super simple, and developer friendly – Google… well not so easy. So the questions – why you may consider using GS instead of well documented, and super easy S3. Not many people realise but Google Cloud Storage is actually cheaper . The other reason to use Google Storage is having different provider as a backup solution. Anyway – let’s show how easy is to use GS with existing S3 libraries.

Useful libraries for SWIFT beginners

Useful libraries for SWIFT beginners

Recently we started working with Apple Swift language. It’s pretty simple but very power full language. Learning curve is hard – because it’s pretty new language, but from the other hand it’s good – because there is a lot of freshmen questions on StackOverflow and plenty of articles .

Because most of the stuff is related with REST communication with APIs core of my software works with JSON objects. In general we are looking also something for HTTP communication, uploading files and so on.

How update Go library

How update Go library

Installation of go library is pretty simple: go get github.com/garyburd/redigo/redis

From time to time, you want to get fresh version of it. If you run that command again it will NOT update the library – because it’s already there. To update it you need to use the -u switch:

go get -u github.com/garyburd/redigo/redis

VIPS on Amazon Linux AMI

VIPS on Amazon Linux AMI

VIPS  s a free image processing system (library) – in comparison  to similar libraries is super fast, and does not neet much memory. Checkout this speed memory usage . In most cases you can install it by using this handy script:

curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -

In some cases you have to install it from source.