All Stories

Useful git commands to become git quickie

How to fix the last commit I made? Make your corrections and stage them with git add, then: $ git commit --amend Add -a to automatically stage all changes to...

List of Awesome Javascript Project Idea

Here is the collection of a simple and practical project in Javascript. As we know Javascript is mainly used for building interactive UI. We have listed the project related to...

Why should you use np over NPM to publish npm packages

If you work with npm registry and frequently use npm to publish your library then probably you should use industry standard alternative library call np. Previously, when I was maintaining...

Sending a notification message to Telegram via cURL

Here is the simple way to send a notification to telegram using cURL. Recently, I need to implement this on project as deployment success notification. Here is, How I manage...

Linux script to verify if you are on battery

An example hook script to verify if you are on battery, in case you are running Linux or OS X. Called by git-gc –auto with no arguments. The hook should...

CSS centering [Simple Guide as Possible]

Vertical centering Translate is processed at the end, meaning it is based on the final element height. This means it works with any element, even dynamic heights. Of course it...