Buy @ Amazon

Search This Blog

July 29, 2016

Show fingerprint of SSH public key

$ ssh-keygen -lf /path/to/keys/
2048 SHA256:rj89aIMaGe6SADuvsnItdE/NgCYJcnU4R0e3PSK8UKak (RSA)

$ ssh-keygen -lvf /path/to/keys/
2048 SHA256:rj89aIMaGe6SADuvsnItdE/NgCYJcnU4R0e3PSK8UKak (RSA)
+---[RSA 2048]----+ | ..+* . | |o . + . . | |o.. o o . | | . . o o = | |. * . S * | |+ ..E . o + | |oo oo . o.. o | |=oo.oo....o | |+Bo.o++..o . |

$ ssh-keygen -l -E md5 -f /path/to/keys/
2048 MD5:98:ab:f6:d0:bc:49:8b:ae:4b:89:29:c3:d1:a8:82:59 (RSA)

This works in mac or any linux based terminal.

April 17, 2016

Reference Ordering of elements in Relative Layout

Reference Ordering of elements in Relative Layout in Android is indeed important. See the difference between the outputs of the above layouts in screenshots below. Do feel free to copy paste the code snippets yourself and play your way.

UI Output from activity_android_ui_1.xml

UI Output from activity_android_ui_2.xml

April 12, 2016

[Case-Study] Who stole our cheese?

A Little Know-Who

In the Divided States of Unfairy Land, there is this much celebrated transport company that embraces change every few years to keep up with its competitor.

March 24, 2016

Change screen orientation in GenyMotion

Ensure like in your Android Devices, you've set the screen orientation to Auto-Rotate. It should not be in Portrait or Landscape mode, otherwise the user actions in this blog post won't work. And that is correct behaviour :)

March 6, 2016

HTTPie over cURL

cURL is a pretty awesome tool with exhaustive features that you can leverage.

But, the question is in your regular day-work how much of it do you use? If the answers is hardly any or some of it's features. Then, you're better off installing and trying out HTTPie.