How To Cache GPG Passphrase In Ubuntu

I got into Debian packaging and one of the most brutal part was to type in the GPG secret key’s password every time I sign a package. I wasted a lot of time typing my long password. I searched a lot to cache my password for some time after I type it once. All of them said to edit gpg-agent.conf, but none of them worked for my fresh installation of …

Draw Animated Christmas Tree In Bash

It’s Christmas again and you’ll be receiving all kinds of greetings. How about greeting them back with a fancy way ? Show off your nerdiness with this super cool Christmas Tree in Bash. All you need is a Linux/Unix terminal with bash installed. Most systems come with bash. So, you don’t have to install anything for this ! Here’s how it looks : Christmas Tree in Bash First of all…

Get Architecture Plainly Without Version In Android

If you want to just get plainly the architecture of system like “arm” or “x86” in your apps, then this post is just for you. So with this function that I’m gonna present, you will get 3 values, “arm”, “mips” or “x86” whether or not the system is 32 bit or 64 bit. Here is the function : public static String getArch() { String arch = System.getProperty("os.arch").substring(0, 3).toLowerCase(); if (arch.equals("aar")…

How To Install & Run Composer Binaries Globally

Take PHPUnit as an example. You can install it using Composer doing this : composer require phpunit/phpunit This will install a phpunit shortcut in vendor/bin directory. This obviously means you can run it. But, you would have to point to the exact location of the phpunit file to run :  /home/username/mysite/vendor/bin/phpunit phpunit.xml But, that’s long and uncomfortable. And you would have to install PHPUnit separately for each projects. I’m gonna…

Vote For Lobby

I have mentioned before about my new project Lobby – A Web Operating System. I have been developing it for the past 1.5 years in my free time. It has been partially completed. To learn more about it, I request you to read this. I’m writing this post to request you to vote for the package Lobby in PHPClasses. If Lobby win it, more people would know about Lobby and…

Ubuntu Dekko

This post is part of the Google Code in 2015. The task was to Build the dekko app and run all testsuites. You can see the task here. My System Xubuntu 15.10 Wily Werewolf : Xubuntu 15.10 Wily Werewolf Dependencies Installation First of all, I downloaded Ubuntu SDK with the help of this guide. Then, I got the source code URL from Ubuntu Developers Site : git clone https://git.launchpad.net/dekko The…