Dynamically increase font size of CodeMirror editor texts Question: I have been using the CodeMirror editor for one of my projects to allow users to write Python code....
preventDefault() not working on keyup event [jQuery] I have developed an application that uses CodeMirror editor which by default creates a new line upon hitting the Enter...
Detect Shift-Enter keypress in JavaScript Here’s a question from one of our readers, Ms. Shikha. I read your article on KeyBoardEvent.keyCode is deprecated and the...
KeyboardEvent.keyCode deprecated! Alternate is .key I have been using KeyboardEvent.keyCode property to detect the keys pressed in JavaScript. For example, in one of my applications,...
Unable to establish connection using ssh2_connect() in PHP I have used the ssh2_connect() function to establish a connection to a remote SSH server. But it works on one...
Illegal block size exception – CKR_ENCRYPTED_DATA_LEN_RANGE [SoftHSM] I have installed and configured SoftHSM successfully on CentOS. In order to check if I can communicate with SoftHSM programmatically,...
Recover deleted files in Git [With example commands] In this tutorial, I’ll be explaining how to recover deleted files in Git. Let’s assume a few scenarios and see...
How to Duplicate a Git Repository or Mirror a Repository One way of duplicating a repository is by forking it -to do that, browse to the repository you wish to...
Remote Repository not found – Git push error “remote: Repository not found” – I encountered this error while pushing a code change to the repository. remote: Repository not...
ECONNRESET Error while executing Expo build:android I recently started learning to build Android Apps using React Native. During the course, I have to set up the...
Template Literals in JavaScript – Explained I was going through a code written in JavaScript, where I noticed lot of string variables defined their values within...
ModuleNotFoundError: No module named ‘IPython’ [Fix] Question: I got this error “No module named IPython” while executing a Python program. The complete error message is below....
Google Lighthouse Audit tool available on Mozilla Firefox Browser too! Google has been making its mark on the consumer market with multiple billions of users using the Search Engine Giant’s...
Add Overlay Text to Video using PHP-FFMpeg I recently learned how to add an audio track to the video using PHP-FFMpeg. Now I wanted to add overlay text to...
PHP-FFMpeg: Allow multiple input files (Add audio to the video) My recent assignment was to develop an online video editing software similar to Biteable, Moovly etc..Well, I knew I could ...
Using PHP encoders to Protect Source Code [phpBolt example] How to protect PHP source code? Well, this is one of the most asked question among PHP developers. Many PHP...
PHP Script to Extract URLs from Webpage Are you looking for a PHP script to extract URLs from webpage? This tutorial will provide a code snippet that...
Upgrade PHP 5.3 to PHP 7.0 using yum on CentOS/RHEL/Fedora My web server was running PHP version 5.3 for a long time and now I would like to en-cash the...
Fix PHP Error – It is not safe to rely on the system’s timezone settings Do you see this error “It is not safe to rely on the system’s timezone settings” (PHP timezone setting error) ...
Plugin Generated x Characters of Unexpected Output During Activation [Fix] While developing a new plugin for WordPress, I ran into an error “Plugin Generated x Characters of Unexpected Output During...