Category: Uncategorized

  • Windows 10 WSL Ubuntu Common Commands and hacks

    In C:\Windows\System32\drivers\etc\hosts Save the above as a .reg file and run it to update registry Powershell script=> save as .ps1 file netsh interface portproxy show v4tov4 check if your proxy is working Most of the times you may not even need a proxy for apache2. However mysql inside WSL is extremely tricky for some reason.…

  • Remove zone.identifier files in windows

    Usually seen in wsl issues https://github.com/microsoft/WSL/issues/7456 and https://github.com/microsoft/WSL/issues/4609

  • S3 notes – how to make all s3 images public

    Dont forget to remove dryrun flag once you are sure.

  • prevent sticky header jumping in css or js

  • This unique date 02 02 2020 will come after 1010 years – WRONG MATH

    In dd/mm/yyyy format, 2nd February 2020 (02 02 2020) is a palindrome In really common beliefs, whatsapp forwards were filled with this number being so rare and unique. However it would be stupid to say that such a rare date will occur only after 1010 years. Here is how: In whole millennium (1000 years), first…

  • 10 tips for better freelancing

    How to improve yourself as a freelancer? Here are 10 points to take care of: Communication Skills – convincing power Make yourself a brand, your ethics will define your future in freelancing. This will help you in scaling also Consistency, Focus and Dedication Productivity is Gold, know your value, do math and target for a…

  • SQL Notes

  • SSL certification setup: Cloudflare.

    This article will guide you to set your SSL certification using Cloudflare. Cloudflare is an internet security company which provides content delivery network service. You can get free SSL certification as well as paid one from Cloudflare. A breif discussion on SSL certification and https redirection. So, Let’s start the process. Steps: Step1 Signup and…

  • Magento File Directory

    /app The etc folder contains the di.xml configuration file The di.xml file contains class mapping and interface preferences Contains the design folder for themes. /bin The directory contains the magento file or a Command Line Interface script /dev Magento 2 testing and development tools are placed in this folder. /lib The internal and web subfolders…

  • Rakit library for PHP validation

    To enable hastle free validation, use raket library. First install composer and then run “composer require rakit/validation” in your project directory. Edit the names according to your input field names. You can also create your own validation file. For further reference, visit https://github.com/rakit/validation