Packing and unpacking tar/gzip files on Windows
A few years ago I wrote a similar blog for Linux. Refer https://www.w3lc.com/2011/06/tar-command-in-linux-to-archive-and.html. However, the question is again very relevant if your OS is Windows and its...
View ArticleStylesheet Types : CSS, SaSS, SCSS - What do they mean
Ever wondered what is the difference between SCSS and Sass. More importantly, how are they different from CSS.To start with let me point out that Sass is a language or a pre-processor that makes CSS...
View ArticleHow to undo a Git commit that was not pushed
To undo a Git commit that was not pushed, you are given a few major options:Method 1:Undo the commit but keep all changes stagedgit reset --soft HEAD~; Method 2:Undo the commit and unstage the...
View ArticleGit password expired. How to reset git authentication?
Sometimes, when you try to git clone the git repository or do any push or pull, it says:remote: HTTP Basic: Access denied fatal: Authentication failed for "~~yourRepositoryName"The simplest reason is...
View ArticleNumber of Bugs per line of code
An interesting read from the book "Code Complete" by Steve McConnell suggests following:1. Industry Average: "about 15 - 50 errors per 1000 lines of deliveredcode."This is usually representative of...
View ArticleLocalization and Globalization testing
Globalization is the process of designing and developing applications that function for multiple cultures.Localization is the process of customizing your application for a given culture and...
View ArticleRemote debugging using IntelliJ IDE
Here you'll see how to create and manage a configuration to remotely debug your launched Alfresco project that's waiting for a connection. This assumes you have an IntelliJ IDEA IDE up and running, and...
View ArticleParsing Json in Java using JsonParser
You can use one of the many available Json Parser for the purpose. I have personally used following in simple applications. You can refer this tutorial:...
View ArticleHow to show full working directory in mac terminal on every command
Problem description:You can obviously use a pwd command to see the present working directory. For eg:prompt$ pwd/Users/mfaiz/myDirBut sometimes you want to show the full directory path every time. Its...
View ArticleHow to install Homebrew (brew command) on Mac, linux
To Install Homebrew, you need to make use of ruby that is already installed. This is a simple command then.On your terminal use following:$ /usr/bin/ruby -e "$(curl -fsSL...
View ArticleHow to install Redis and run its instance
First, step first. You can simply install it using homebrew$ brew install redisAfter installation you can check that it creates a configutration file at:/usr/local/etc/redis.confThen, you can verify...
View ArticleAmazon B2B market place to earn great GST Discounts
This is gr8!!Amazon Business, its B2B (Business to Business) online marketplace that was launched in India in September 2017 has witnessed 200 per cent YoY growth in sales and offers the single largest...
View ArticleAudible is a great service to listen audio books. I am using it!!
Audible is a subscription-driven audiobook service with a catalog of over 200,000 audiobooks and a mix of bestselling Indian and international authors. Whatever your passion, your interests, or...
View ArticleSending Request Body can be other than JSON in API Gateway in AWS
Can you accept a form request e.g. the classic application/x-www-form-urlencoded body content type. Answer is yes.You could even use application/xml or any other format from your request but you have...
View ArticleJson schema validation for Api Gateway request
Amazon’s API Gateway provides the facilities to map an incoming request’s payload to match the required format of an integration backend. It uses the concept of “models” and “mapping templates” to...
View ArticleMapping template, Velocity Language & JsonPath: Guide to Api Gateway mapping...
Amazon’s API Gateway provides the facilities to map an incoming request’s payload to match the required format of an integration backend. It uses the concept of “models” and “mapping templates” to...
View ArticleArticle 0
In order to build a Maven project you can use one of the following:mvn clean installmvn clean package etc.This would build/compile and run the tests as well.However, if you want to run the tests only...
View ArticlePulse Secure Duo Authentication using phone call for VPN connection if you...
Many of my corporate readers have asked me to write on this topic. And, when it actually happened with me as well, I was prompted to write. So, my readers this is on your demand ;)Sometimes, you have...
View ArticleMy First look of Hack Language over HHVM by Facebook
Hack is a great language in terms of the advantages it has over PHP. The hack language introduce a level of type safety and related concepts. Undoubtedly, with HHVM it becomes a faster processing...
View ArticleFirst Hello World using Hack & HHVM from Facebook
1. Install HHVM on MacOS via Homebrew:brew tap hhvm/hhvmbrew install hhvmThe out-of-the-box HHVM configuration won't need tweaking by most new users. Notably, the JIT compiler that gives HHVM its speed...
View Article