Category: Uncategorized

  • driver_pnp_watchdog error on Boot Camp Windows

    While trying to install windows on a macbook pro 2019, using boot camp assistant, I received the error: driver_pnp_watchdog Initially the Setup is starting screen took a long while, then the installation screen was not responsive and i wasn’t able to click or use mouse keys. Then it ended up in a blue screen of […]

  • JavaScript Spread operator – arrays vs objects

    JavaScript Spread operator – arrays vs objects

    JavaScript spread operator is the simple three dot notation which spreads the array or object for us. For example: However, there are some differences in how we use them with regards to arrays and objects. JavaScript spread operator for arrays JavaScript spread operator for arrays is simple and straight forward. Check these examples: Here we […]

  • [Solved] Macbook pro HDMI external monitor heat issue

    This post will finally help you fix the macbook pro intel high temperature issue when connecting an external monitor, even when fans are running at full spin and loud. I had been struggling with fixing the issue on my macbook pro 16 inch (2019 intel based) too, and finally got it resolved. How to solve […]

  • jQuery Scroll page to element

    We can use jquery to scroll our page to any specific element. Some key things to keep in mind before that are: The target element should be present on the page It’s better to include the target element as an id There should be only one id for that element on the page Note that […]

  • pip install Flask_mysqldb not working on mac

    This post will help you fix the issue of pip or pip3 install not working for flask_mysqldb. The error might include that: Solution: Step 1: is to install brew if you don’t have it on your mac. Install it from brew official website: or by running this command (copied from their website): You might […]

  • Python Flask CheatSheet

    Flask is a python framework used to run webserver. Flask HelloWorld Note, the capital F in flask after import keyword and also in app =. Flask live reload on code changes To reload the flask server whenever there are changes to the files, use debug=True in, like this: Flask Render Template We can separate […]

  • Best PHP PDF Library without composer

    You can use the pdf library DomPDF without using composer. Actually the library installation dues support composer too, but they provide normal releases on their official github repo which does not require composer. How to install DOMPDF without composer Simply goto: Then goto releases and download the latest release. Unzip the downloaded files in […]

  • Setup VS Code remote SSH with jump host proxy

    This post will solve the issue where you need to first login to a remote server as an intermediary proxy and then connect to the other server, all via visual studio code. For this we need to use the remote host feature of visual studio code like we do to connect with any regular remote […]

  • nGinx stops & shows apache error page

    In this post we will fix the nginx server issue where it stops and the frontend of website shows the error message related to apache server. If you check the nginx error logs, you will see something like this: What causes this error? This error is caused by apache (or httpd) server using the same […]

  • Error: EACCES: permission denied [Solved]

    Sometimes when we’re working with files, our user is not able to save or edit the files on the server. This tutorial will help you fix that issue. For example, if while trying to save a file on vs code, you get this error: Failed to save ‘functions.php’: Unable to write file ‘vscode-remote://’ (NoPermissions (FileSystemError): […]

Hire Me!