Categories
Tech

Bash: How to trim leading, following spaces from text

Many Linux/Unix commands are shown formatted like ps -ef for instance. As such it becomes difficult to process them subsequently in the pipeline, like for instance passing it to xargs kill for killing the filtered errant processes. The command below, when part of a bash / sh pipeline will remove the leading and following spaces […]

Categories
Tech

How to incrementally mirror FTP site regularly

Daily Business Data, like NAV, is often made available via FTP servers which stores and makes available the data for limited time duration (like a week). We need to not only download the data for the day but also want to ensure that the historical data remains intact. Today I will show you how you […]

Categories
Java

Java 10 Modules: Complete details

Details of all Java 10 Modules along with dependencies. To effectively use this list use the search function in your browser to find the package you need and then go up to find the module which contains your package. java.activation@10.0.2 exports javax.activation requires java.base mandated requires java.datatransfer transitive requires java.logging contains com.sun.activation.registries java.base@10.0.2 exports java.io […]

Categories
Tech Tutorials

How to use dd (Linux copy tool) with progress indicator

dd, the ubiquitous copy tool of Unix/Linux, now comes in with a decent built-in progress indicator. You can run it by the command-line option: status=progress Example: dd status=progress if=/dev/sda of=/dev/sdb Notice how I didn’t add the bs option and used the default. In my experiences the default works best. Tested on: Ubuntu

Categories
Gadgets Hardware

The Pi House :)

Structurally sound but asymmetric Pi House to house my free range Pi’s. Ingredients: Pi Zero x 2 Pi 3 Orange Pi Cheap Pi casing which fits no Pi

Categories
Tech

Top 15 Countries by Coders

I have analyzed the data from HackerRank (December 7 2016) to find out the Top 15 countries in the world by cumulative ranking as well as by the number of Institutions in Top 50. In order to figure out which colleges have the best coders, HackerRank hosted a major University Rankings Competition. Over 5,500 students […]

Categories
Tech

Java: The Most Popular Programming Language Today

Several research independently confirms Java as the most popular programing language today and as such can be considered the safest bet for someone looking to make a career in programming or looking for a career change. Let’s look in details below. The TIOBE Index The TIOBE Index for February 2017 indicates Java is the most […]

Categories
Tech

Key differences between Understanding and Learning (Memorization)

Many Educational Institutes, even today, do not focus on understanding. Their tests can be easily passed with memorization. This weakens the foundation of the students and adversely affects his future performance in professional engagements. Let’s look at the key differences between understanding and memorization and why understanding should be the priority for all students. Memorization […]

Categories
Featured Tech

How to Easily Configure WiFi in Raspberry Pi

Any version of Raspberry Pi can be very easily configured with WiFi access. Coupled with ssh or vnc, it allows you to manage your Pi remotely. Here is the simplest way I could think of, illustrated by a screenshot and detailed below. Once your Raspberry Pi boots up, you will get to this shiny screen. […]

Categories
Featured Microsoft Tech

Steps to secure and protect your Skype account from Hacking

Skype accounts are being hacked since at least August last year. Breached Skype accounts are used to send thousands of spam messages before they’re locked by Microsoft. The owners then have to regain access and that is when most find out about it. Skype has fallen victim to similar attacks before, and hackers were able […]