Digital Fortress

Send email programmatically for free from your domain

Send email programmatically for free from your domain

For a website, sending email is usually one of the primary things needed yet many-a-times is not a trivial task. Lets see how to send email programmatically from your domain with ease and moreover for free! Works with both – shared hosting as well as private hosting (VPS). So what is it that’s needed to send/receive emails from your own domain ? The answer is […]

Read Me Leave comment

Wireless File Transfer between Android and Ubuntu

Wireless File Transfer between Android and Ubuntu

If you’re someone who finds file transfers with the USB cable inconvenient or just old school, then you’re at the right place. We’re gonna show you how you can quickly setup file transfers wirelessly between any android device and Ubuntu (Tested with Ubuntu 16.04, 18.04, 20.04) Should work for future versions too. There are multiple ways to perform wireless transfer and we’re going to look […]

Read Me Leave comment

All in one smart search with typeahead standalone

All in one smart search with typeahead standalone

Building a smart search that’s fast, autocompletes your queries and displays suggestions is something that everyone would love on their website. Today you will be introduced to a sleek, lightweight and most importantly, a standalone autocomplete library – typeahead-standalone.js. Why typeahead standalone ? Before answering that, know that typeahead-standalone is heavily inspired from the famous twitter typeahead library. Although it is a fantastic library, it […]

Read Me Leave comment

LocalStorage with TTL (Time to expiry)

LocalStorage with TTL (Time to expiry)

If you are familiar with the LocalStorage API, you know that there is no provision for setting a TTL. This post aims to show you an easy way to write up a simple wrapper to have LocalStorage with TTL. To setup TTL with LocalStorage, all we need to do is – Store items with TTL (i.e. set to expire within a given time frame) Retrieve […]

Read Me Leave comment

Moving from WebStorm/Phpstorm to VS Code

Moving from WebStorm/Phpstorm to VS Code

Been a user of Phpstorm/webstorm since long and wish to migrate to VS Code ? Skeptical about changing your IDE or the changes that it might bring along ? Fear not, for we will show you how you could setup VS code to be identical to Phpstorm/webstorm. Why should you migrate to VS Code ? I love using Webstorm/Phpstorm and it has been the editor […]

Read Me Leave comment

Smooth Scroll in native Javascript/css

Smooth Scroll in native Javascript/css

How to get a smooth scroll without using Jquery ? or any other library? As of 2020, such a trivial task is well supported natively by browsers. Smooth scroll can be achieved via pure javascript or even pure css. Lets check out how to smooth scroll natively using both the ways. Smooth scroll in pure Css Set the scroll-behaviour property to smooth on any class […]

Read Me Leave comment

Lint on precommit Git hook made easy

Lint on precommit Git hook made easy

This post involves setting up eslint, stylelint, husky and lint-staged to ensure you lint on precommit git hook. Less than 5 mins of setup that will automate linting and make it a part of your daily development process. If you are unfamiliar with the libraries that will be used, lets quickly see what each one of them does. Libraries Used and What they do ESlint […]

Read Me Leave comment

Can I use font-weight: 1000 ?

Can I use font-weight: 1000 ?

The font-weight property is used to set the boldness (weight) of the font. The amount of boldness you get depends on the font (font-family) being used. Is it possible to surpass the standard font-weight property values and it be font-weight: 1000 ? Quick answer: Depends on your browser! According to the Css Fonts Module Level 4 specification, font-weight can have any value between 1 and […]

Read Me Leave comment

Duplicate a Mysql Database – Tutorial

Duplicate a Mysql Database – Tutorial

Learn how to duplicate a mysql database in 2 simple steps. Many a times, you want to duplicate a database to create a backup, to test against real data or just because you want to. Lets quickly checkout how this can be done step-wise. We will be using the command line utility to duplicate the database. Duplicate a Mysql database – Assumptions Lets assume that […]

Read Me Leave comment

How to use Webpack Analyzer Bundle

How to use Webpack Analyzer Bundle

Webpack analyzer bundle helps you to visualize the output of webpack in an interactive map. It displays the size that each bundle uses before and after being minified and compressed (gzipped). This can help you to discover which bundles are huge and if any of the bundles got in by mistake. Lets check this out by installing the bundle first. 1. Installing Webpack Analyzer Bundle […]

Read Me Leave comment