Posts for Tag: Guides

Create oAuth Login for your Android Application

As many services start to support 2 factor authentication you should

enable it and use it as a user.

But what if you created a beautiful login screen for when 2fa was not a thing
and now people can't login?

The solution is an easy one. Just simplify login using oAuth!

An easy Media Server and Time Machine

I hate mess... So I like remote solutions!

One thing that bothers me is the USB cable that I always have connected on my computer.
On it's other end, lies a 1TB Hard Drive that stores my Time Machine backup.

From time to time I stream movies via Plex from the same hard disk.
That's because I don't want to store movies on my low capacity Macbook Air.

Since I got my Chromecast, Plex has gone to the top of my "Useful Software" list as it supports Chromecast and I can stream the Movies without connecting a HDMI cable.

So what I need? A HDD in my network that hosts my media and my backups.

Nice, but not so cheap.

Using a spare very low powered netbook and the Time Machine HDD, I managed to put away these 2 functions from my laptop.

I could also get torrents directly on my netbook. Life would be easier...

Let's do it!

Vim Tips #1

For some time now I use only Vim instead of Sublime Text 2 that I used to use for everything.

There are plenty reasons for that and I will not go into it.

As a result I have acquired some experience that will help mostly begginers and hopefully some intermediate users.

Start with the tutorials

Vim has an excellent tutorial to get you started!

:help tutor will guide you to the basics of vim like instert mode, save a file, etc. With these commands you will be ready to do some work on any vim.

Find a good .vimrc

After you use vim for some time, slowly remaping stuff on your .vimrc and start getting some work done you could find a well constructed configuration that fits your needs and taste.
I use the awesome version of Amir's Salihefendic .vimrc.
Now it doesn't look like it anymore because I reconfigured it for my own taste and convenience but it provided me with a feature-full and well structured starting point.

There are plenty configurations out there and every user has his own.
So instead of building your own, save your self some frustration and don't solve the problems others have solved many times before.

Don't use the arrows

This is very difficult at first but hjkl are very faster when navigating if you get used to that.

I will start sharing vim tips with you from now on and I'll be glad to hear yours' too!


@tsironakos reported that Janus build and maximum-awesome are great configuration choices for beginners! Check them out!

Universal Raspberry Pi Remote

I am getting mad of the remote controller in the house.

Actually I use three:

  • The TV remote
  • The Radio/iPod/CD Player remote
  • The Air Condition remote

Some time ago I fell on this post. It is an IR receiver & emitter circuit attached to a Raspberry Pi. I had some spare time so I decided to build it!

Circuitry was fairly easy.

Parts I used:

Infrared LED : Had a spare one but you can use any from an old remote
IR Receiver : I used a TSOP382. You can use any BUT check the datasheet!
NPN Transistor : I don't know the part code
1.5Ω Resistor : It just has to be really low
220Ω Resistor : Nothing to say here

You can see the connections clearly here:

After the first assembly and testing I made it smaller using a strip board:

And this is what we end up with:

ELOT-743 translator

I had a task to translate a big Greek address book in English.

Due to the fact that Greek Language is full of special characters, a problem occurred when passports where to be created. There should be a fixed way to translate names from Greek to English.
So the ELOT-743 standard was created to solve the confusion