SkillSugar
Tutorials
Python
JavaScript
Linux
CSS
PHP
John
Recent posts by John
Append Content of One File to Another File in Python
How to Prepend to List in Python
How to Check if Key Exists in a Python Dictionary
How to Represent an Infinite Number in Python
Python: Insert New Line into String
How to Fix MultiValueDictKeyError in Django
How to Get the Average of a List of Numbers in Python
List of all CSS Cursors & How to Use Them
Remove Characters from String in Django Template
Parallel for Loop in Python
Remove Borders From HTML Table
Imaginary Numbers in Python
Set Background Opacity in CSS
Print to stderr in Python
Remove Special Characters From a String in Python
Replace Multiple Characters in a String in Python
Count Number of Keys in Dictionary Python
Convert CSV Into Dictionary in Python
Open All the Files in a Directory in Python
Print Lists in Python
Set File Path in Python
Round a Double to Two Decimal Places in Java
Convert Hex String to Int in Python
Concatenate List of Strings in Python
Create a File if Not Exists in Python
Get IP Addresses in Python
Print Tab in Python
Overwrite a File in Python
Iframe Align Center
How to Clear Interval in JavaScript
For x in Range JavaScript
Remove Item From Array by Value in JavaScript
Sort a Set in Python
Check Variable Type in Python
How to Generate Random Passwords in Python
How to Generate a Random Number of Length N in Python
How to use Document onload in JavaScript
Convert String to Lowercase JavaScript
Download a File Using JavaScript
How to Print a Newline in Python
Add Comments in Bash Scripts
Remove Last Character from a String in Django Template
Access Dictionary Keys in Django Template
Make the First Letter of Word Uppercase Inside a Django Template
Check if Home Page in Django
Check Object is Empty JavaScript
How to Add Options to Select Input with jQuery
How to Generate Unique ID in JavaScript
Check if an Element is Present in an Array in JavaScript
How to Print File in JavaScript (Send to Printer)
JavaScript: Set Anchor href Attribute
Get File MIME Type in JavaScript
How to Uncheck Checkbox in jQuery
How to Get Type of Variable in PHP
How to Get File Extension in Javascript
Round a Number to 2 Decimal Places in JavaScript
Convert Int to Binary in Python
How to use the Python OR Operator
How to Check a Number is Negative, Positive or 0 in Python
How to Group HTML Select Options with optgroup
How to Always Round-Up a Number in Python
How to Convert Hexadecimal to Binary in Python
Convert Hexadecimal to Decimal in Python
How to Add Fractions in Python
How to Add Two Hex Numbers in Python
How to Check a List is Empty in Python
Convert Image to Grayscale in Python
How to Resize Linux Disk
Remove Duplicates From List in Python
How to Convert a Dictionary to a NumPy Array in Python
How to Send Value of Button in Form
Check String Only Contains Numbers in Python
Check If a Value is a Number Not a String in Python
How to Install & Configure Nginx on Ubuntu 21.04
How to Check if a Number Is or Is Not an Integer in Python
How to Get Only CSRF Token Value in Django
How to Tune PHP-FPM to Improve Performance on Server
MySQL - SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (solution)
How to Change MySQL User Password
How to Open Django Error Log File (And Configure)
JavaScript: How to Rotate Images
How to Add New Line in JavaScript
JavaScript: Programmatically Create an HTML Button
if not in list Python
Python: Capitalize the Beginning of Every Word in a String
How to Deploy Laravel Project to Live Nginx Server
How to Show PHP Packages
How to Install PHP Redis on PHP-FPM
How to Install Let's Encrypt SSL Cert With Ubuntu & Nginx
How to Deploy Django with Nginx & Gunicorn to Live Server (Ubuntu <= 21.04)
How to Change Default SSH Port in Ubuntu
MySQL ERROR 1698 (28000): Access denied for user 'root'@'localhost' (Solution)
How to Comment in Django Templates
Calculate Euclidean Distance in Python
Python List of Lists
Python Convert List to Set
Remove Newline From String in Python
Element-Wise Multiplication in NumPy
Find Maximum Value in a List in Python
Convert a List to Lowercase in Python
Python TypeError: list indices must be integers or slices, not str (Solution)
How to Implement Wildcards in Python
How to make an Axios POST request
tostring() Equivalent in Python
Max Int in Python
Get Class Name in Python
Sum of an Array in JavaScript
How to Measure Function Runtime in Python
Cosine of Degree Values in NumPy
Python Print Variable
Pretty Print a Dictionary in Python
How to Create Range of Floats in Python
How to Create Image Thumbnails in Django
How to Search Multiple Database Fields in Django
Django MySQL Database Tutorial
How to Exclude Input by Name Before Serialize in jQuery
Django Admin Create Superuser
Python: Import All Functions from a File
How to Enable PHP In Apache
How to Get Django Session Data in Template
How to Get and Set Session Data in Django
How to Return JSON-Encoded Response in Django
How to Create a New App in Django
How to get Form Input ID, Label & Name in Django Template
How to Write Conditional if Statements in Django Templates
How to use Dictionary Key and Value in Django for Loop
Django: How to Render Template in JSON Response
How to Compress and Version CSS & JavaScript in Django
How to Create Context Processor in Django
How to Create Django Template Absolute URL (Dynamic URL Generation)
How to Start, Stop, or Restart Nginx
Create a Space in HTML (Horizontal & Vertical)
How to use HTML Anchor Link (a href Code Examples)
How to Redirect to Non-WWW & HTTPS with Nginx (Or WWW)
MATLAB Plotyy Python Code Example
How to use the parseInt() Function in JavaScript
How to Normalize a Vector in Python
How to Change the Django Admin Panel Header Name
How to Change Django Admin Color Scheme (Light & Dark Themes)
Django Form Validation Without Model
How to Add Django CSRF Token to jQuery AJAX Function
Convert Unix Epoch/Timestamp to Datetime in Python
Unzip Files in Python
Python Numpy.sqrt() - Square Root
Truncate Float in Python
How to use Switch Case Statements in Java
How to use Not Equal in Python
How to Convert a String to a Date in Python
How to use the alert() Function in JavaScript
How to use the JavaScript splice() Function
What is the Linux man Command?
How to use the None Keyword in Python
How to Underline Text in HTML
How to use Ternary Operators in Python
How to List Files in a Directory in Python
How to Concatenate Strings in Python
How to use the Python ord() Function
How to use the Python reduce() Function
How to Show Packages in Python
How to use the Python reversed() Function
How to use the Python min() Function
How to use the Python Lambda Function
How to use the !important Property in CSS
How to Generate Random Tokens (UUID & Hex) in Python
How to Generate Random Cryptographically Secure Passwords in Python
How to Generate a Random String in Python
How to use Foreach Loop in Laravel Blade View (Laravel 5, 6, 7 and 8 Example)
Make Button Open a Link in a New Tab in JavaScript
How to Remove All Line Breaks from a String in JavaScript
Generate 4 Digit Unique Random Numbers in PHP
How to use jQuery attr() to Get & Set Data Attribute Values
How to Set & Get Data on an Element in jQuery
How to Display Alert Message Box in PHP
How to use the Python sum() Function
How to use Python Try Except Block
Python Type Conversion and Type Casting
How to Append an Element to a Key in a Dictionary in Python
How to Get List Shape in Python
String Builder Equivalent in Python
How to Get Python String Length
How to Replace NA or NaN Values in Pandas DataFrame with fillna()
How to Add or Insert Row to Pandas DataFrame
Python: Get the Maximum value in a NumPy Array
Read Input From Stdin in Python
Get Current URL with Parameters in Laravel 6, 7 & 8
Redirect to a URL in Laravel 6, 7 & 8
How to Convert Unix Timestamp to Date Format in PHP
Add Days to Current Date in JavaScript
How to Convert Bytes to String in Python
How to Check for an Empty String in JavaScript
How to Square a Number in JavaScript
How to Check if a String Contains a Number in Python
How to Echo or Print an Array in PHP
How to Repeat N Times in Python
Convert Unix Timestamp to Date in JavaScript
How to Convert DateTime to String in PHP
How to Use External JavaScript File in HTML
How to Get Element by ID in JavaScript
How to Call a JavaScript Function in HTML
How To Terminate A Python Script
How to View Desktop Site on iPhone with Safari
How to Reverse an Array in JavaScript
How to use setInterval() in JavaScript
How to Replace Multiple Characters with str_replace() in PHP
How to String of Text to camelCase in PHP
How to Capitalize First Letter of Each Word in a String in PHP
How to Remove Leading Whitespaces at Start of a String in Python
How to Calculate Exponent in Python
How to use if OR Statements in Python
How to Create a Python List of Dictionaries
Python If with NOT Statements
How to Convert Python List to JSON
How to Get Index/Position of Item in Python List
How to use curl in Python
How to Get a Rolling Mean From a pandas DataFrame in Python
How to Get & Parse Data From a YAML File in Python
How to Unminify/Beautify HTML, CSS & JavaScript in Sublime Text
How to Find Words on a Page using Safari on iPhone
PHP: Get Substring Before Space (Or Any Other Character)
Get First Sentence in PHP (Improved Solution)
Get the Last Index in a PHP Foreach
How to Convert an Array in a JSON String to a List in Python
How to Generate an Image with Text Programmatically
How to do a Reverse Dictionary Lookup in Python
How to Open a File for Both Reading and Writing in Python
How to Compute the Natural Logarithm (ln) of a Number in Python
How to Sort a list of Tuples by Second Value in Python
How to Delete Variables & Functions From Memory in Python
How to Create a list of Objects in Python
How to Search a File with grep in Python
How to Split a list into N Parts in Python
How to Count the Number of for Loop Iterations in Python
How to Calculate a Square Root in Python
How to Apply Position Fixed in Safari on iOS
How to Open Safari Developer Tools & Enable Mobile View Mode
CSS Transition Position Fixed Animation Effect
How to Find the Factorial of an integer with NumPy in Python
How to Open a ZIP file in Python
How to Check if it is the End of File in Python
How to Print a Line Break in Python
How to Sort a list Alphabetically in Python
How to Convert a String to a Double in Python
How to Convert a String from Hex to ASCII in Python
How to Convert int to a char in Python
How to Find all Combinations of a list in Python
How to Get the Current Time in Milliseconds in Python
How to Generate a Range of Floats in Python
How to Calculate a Percentage in Python
Python Create Dynamic Variables
How to Return a Column of a pandas DataFrame as a list in Python
How to Prepend Content to a File in Python
How to append a newline to a file in Python
How to Create an Empty DataFrame with Column Names in Python
How to Append one List to Another List in Python
How to use while not in Python
How to Create Functions with Optional Arguments in Python
How to Create a Dynamic Variable Name in Python
How to Construct a List of Lists in Python
How to Remove a Trailing Newline in Python
How to Reverse a Range in Python
How to use the XOR operator in Python
How to use while True in Python
How to Convert a String to Hex in Python
How to Replace a String in a list in Python
How to Convert Letters to Numbers in Python
How to Make an Array of Strings in Python
How to Divide in Python
Search for Files by Filename in Linux
How to Make a List of the Alphabet in Python
How To Install PIP in Linux & Add/Remove Packages
Get MIME Type with PHP
How to Check IP Address on Linux using Command Line
Get The Extension of a File in PHP/Laravel
Get Filename Without Extension in PHP/Laravel
How to Create a Video from Images with FFmpeg
How to Convert String to Lowercase or Uppercase in Python
How to Upgrade Ubuntu Packages VIA Command Line
Remove Last Character from String in JavaScript
How to Clear Laravel Cache
Handling JavaScript Errors with try catch, finally & throw
How to Restart Queues in Laravel 8/7/6/5
How to Create a Preview Video Thumbnail of a Video with FFmpeg & PHP
How to Set Average Video & Audio Bitrate in FFmpeg
How to Get List Length in Python
How to Get Duration of Video with FFmpeg
How to Get Video Bitrate with FFmpeg (video, audio & total)
How to Run FFmpeg Video Conversion from PHP
How to Delete an SSL Certificate with Certbot
How to Upgrade Version of Certbot to 0.31.0-2 on Ubuntu 16.04
How to Get Video Dimensions with FFmpeg
FFmpeg: How to Join Multiple Videos Together
How to Create Laravel Artisan Commands & Pass Arguments to Them
Scroll in Increments with JavaScript
PHP: Create a New Text File & Write Content to it
How to Install Latest FFmpeg (4) From PPA on Ubuntu 16.04
JavaScript: Scroll to Bottom of div
parseString in JavaScript
Italic Text Effect with HTML & CSS
How to Open a Project Folder in Sublime Text 3
JavaScript Events
How to Comment in HTML
How to Find and Replace in Sublime Text 3
How to add an Event Listener in JavaScript
jQuery: Select First Element with Class
Select an Element by Class or ID with jQuery
How to Disable/Enable Form Elements with jQuery
Check if an Element Exists with Pure JavaScript and jQuery
How to get the Text Value of a Selected Option with jQuery
jQuery Document Ready Function
How to Close Multiple Panes in Sublime Text 3
jQuery Remove Class
jQuery on hover(), mouseenter() and mouseleave() Methods
How to get the Closest Matching Element with jQuery
JavaScript: Replace New Line Characters in a textarea with Spaces
How to Add Options from a JSON File to a Select Dropdown
How to Read a JSON file with jQuery
jQuery on Change Function
How to Create a jQuery Button Click Function
Get Child Elements with JavaScript and jQuery
How to Remove Element with JavaScript and jQuery
How to Disable a Button with jQuery
How to Add and Remove Attributes with jQuery
How to Show and Hide Elements with jQuery
How to Order By in Laravel
How to Use the jQuery hasClass() Method
Fade In and Fade Out with jQuery
Laravel: Return JSON Response
jQuery: How to Toggle Class Names
Sublime Text Keyboard Shortcut to Comment Out Lines
How to Split a String into Array by Delimeter in PHP
How to Find if a String Contains a Word in PHP
How to Get Array or String Length in JavaScript
How to Print Numbers with Ordinal Suffix in PHP
How to Set Text of an Element with JavaScript
How to Get & Set the ID of an element with JavaScript and jQuery
How to Check If a Value Exists in an Array in JavaScript
How to Vertically Align an Image inside a DIV with CSS
How to Change List Bullet Color in CSS
How to Make Ordered, Unordered and Description Lists in HTML
How to Change Image Source with Pure JavaScript or jQuery
How to Reset a Form Using JavaScript or jQuery
How to Turn a Button into a Link in HTML
How to Place a Border inside an Element with CSS
How to Change Cursor to a Hand Pointer on Hover with CSS
How to Check if an Element is Visible or Hidden with JavaScript
How to Submit a Form with jQuery
How to Change Image on Hover with CSS
How to Get the Selected Radio Button Value in JavaScript
The HTML <del> Tag
List of All HTML DOM Document Object Properties and Methods
How to Create HTML Paragraphs
How to Create New Line in PHP
How to Count all Elements in an Array in PHP
How to Check If Object is an Array in JavaScript
How to Get the Value of an Input Text Box in JavaScript or jQuery
The HTML <s> Tag (Strikethrough)
How to Change the Default Python Version to Python 3.9
How to Install Python 3.9 on Ubuntu (Latest Version)
Remove Excess Whitespaces in a String in PHP
How to Remove Elements from Arrays in PHP
Check if an Array is Empty in PHP
How to Check Python Version
How to Check Ubuntu Version
How to Refresh a Page with JavaScript
How to Get Substring from String in PHP
How to get String Length in PHP
How to List Installed Packages in Ubuntu
Show Size of Directory Linux
How to Change PHP Version
Show Hidden Files on Mac
How to Install Themes in Sublime Text 3
Convert to Lowercase or Uppercase in JavaScript
How to Check if a String Contains a Substring in JavaScript
How to use the JavaScript reduce() Method
Encoding and Decoding Base64 Strings in Python
The Python zip() Method
The Python String strip() Method
How to Read Files in JavaScript
The Promise then() Function in JavaScript
How to Compare Arrays in JavaScript
The Modulus (Remainder) Operator in JavaScript
How to Check, Revert and Reset Commits in Git
How to Make Commits in Git
Staging Modified Files in Git So They Can be Committed
How to Create a Repository Using Git and Github
How to Install and Set-up Git
Check if Homepage JavaScript
How to Join Two Strings in JavaScript
How to Check if a Checkbox is Checked in JavaScript
How to Use the HTML Video Tag
How to Iterate Over Object Properties in JavaScript
CSS Comments
How to Merge Two Objects in JavaScript
How to Convert an Array to a String in JavaScript
How to Calculate Mean, Median, Mode and Range in Python
How to Show All Properties of an Object in Python
How to Download and Save Images in Python
HTTP Requests in Python (GET, POST, PUT, PATCH, DELETE)
How to Write to Files in Python
How to Print Coloured Text in Python
How to Use Python List Comprehension
The Python zip() Function
How to Download YouTube Videos in Python
How to Read CSV Files in Python
The Python Sleep Function
How to Convert a String to a Number in Python
How to Get Inputs in Python
Python Global, Local and Nonlocal Variables
Python Assert Statement
How to Round Numbers Up and Down in Python
How to use yield Statements in Python
How to use the Python filter() Function
How to Install Dracula Theme in Vim
How to Use Argparse in Python
Python Print Formatting
How to Check if a File Exists in Python
How to use Python datetime to Create and use Dates and Times
How to Execute Shell Commands in Python
How to Sort Dictionaries by Value In Python
How to Read a File Line by Line in Python
How to Check if a String Contains a Substring in Python
How to Split a String into a List in Python
How to Compare Strings in Python
How to Create and Delete Files/Directories in Python
How to Generate Random Numbers in Python
How to Parse JSON Data in Python (Read and Write)
How to use the Python String replace() Method
How to Create Multi-Line Strings in Python
How to get the Absolute Value of a Number in Python
How to Convert a List to a String in Python
How to Enumerate in Python
How to use Sets in Python
How to Use Classes and Objects in Python
How to Split a String to an Array in JavaScript
How to Remove Duplicates from an Array in JavaScript
The Difference Between var and let in JavaScript
Local and Global Variable Scope in JavaScript
How to get Random Elements from an Array in JavaScript
How to Generate Random Numbers in JavaScript
How to use enums in JavaScript
How to use slice() & substring() to Get Parts of a String in JavaScript
How to Get Elements by Class Name in JavaScript
How to Create Custom Artisan Commands in Laravel
How to Merge Strings or Arrays in JavaScript Using the concat() Method
How to Use Ternary Operators in JavaScript
How to use AND, NOT and OR Logical Operators in JavaScript
How to Round Decimals Up and Down in JavaScript
How to Create a Multiline String in JavaScript
How to Encode URL's in JavaScript
How to Use Dictionaries In Python
How to Get URL Parameters with JavaScript
How to Copy to Clipboard with JavaScript
How to Check Version of JavaScript
How to Use Associative Arrays in PHP
How to Encode, Decode and Use JSON Data in PHP
How to use isset and unset in PHP
PHP DateTime - Create, Format and Compare Dates with PHP
How to Execute Shell Commands in PHP
How to Make a String Lowercase or Uppercase in PHP
How to Use While Loops in Python
How to Use For Loops in Python
How to Create and Use Lists (Arrays) in Python
How To Use Functions in Python
How to Write Comments in Python
How to use before, after and hover in Scss
How to Use if and else Statements in Python
How to Crop Images in CSS Using object-fit to Preserve Aspect Ratio
How to Check if a Property of a JavaScript Object is Undefined
How to Make an Anchor Link Fill/Overlay its Parent Element
How to Force HTTPS in Laravel
How to Replace All Occurrences of a String in JavaScript
How to get Tomorrow's Date with JavaScript
How to Format a Date in JavaScript
How to Compare Values in JavaScript
How to Stop DDOS Attacks & Prevent Future Downtime
How to Add Toggle & Remove Class in JavaScript
How to Make JavaScript Functions Sleep
How to Install and Use curl in Linux
How to Convert a String to a Number in JavaScript
How to Redirect a Page to a New Location Using JavaScript
How to Disable a Button Using JavaScript
Useful Vim Commands for Navigating, Editing & Searching Files
How to add Users to the Sudo Group in Linux
How to Create Users in Linux Using the useradd Command
How to Use Maps in JavaScript
How to Uppercase the First Letter of a String in JavaScript
How to Use JSON stringify() and JSON parse() in JavaScript
How to Use for of and for in Loops in JavaScript
How to Check PHP Version
How to Create and Use Arrays in JavaScript
How to Center HTML Elements with CSS
How to Hash Passwords in PHP
How to Restart Linux/Ubuntu Server with Command Line
How to List Users in Linux
How to Add to an Array in PHP
How to Comment in PHP
How to Run a Script in Linux Command Line
How to Find Files Using the Command Line in Linux
How to Change Directory in Linux Using the Cd Command
How to Rename Files and Directories in Linux
How to Create MySQL Databases, User Accounts and Grant Privileges
How to Create Symbolic Links in Linux Using the LN Command
Useful Terminal Commands for Linux, macOS and Ubuntu
How to List Files in Linux using the Ls Command
How to Use Grep Command to Search Files in Linux
Sublime Text - How to Compare Two Files
How to Remove (Delete) Directory Using Linux Command Line
How to Use SCP Command to Securely Transfer Files
How to Unzip Files in Linux
How to Open, Save a File in Vim and Quit the Editor
How to Take a Screenshot and Record Screen on Mac
How to Open App from Unauthorised Developer on Mac
How To Use Linux Screen
List of Useful Mac Keyboard Shortcuts
How to Change File Permissions in Linux
Some Tips for Monitoring inbound HTTP/S Traffic on a Server
Sublime Text - How to Install Upgrade and Remove Packages
How to Install Laravel 7
How to Change the Public Directory Path in Laravel 7
How to Redirect HTTP to HTTPS and non-www to www on an Nginx Server
Best Alternative Search Engines to Google
How to Show & Edit Startup Apps on MacOS
How to edit the hosts file on a Mac
How to Reverse Mac Scroll Direction
How to Change the Default Search Engine in Safari Browser
How to Enable Night Light Mode on Windows 10
How to Clear & Save Disk Storage Space on a Mac
Encrypt Mac Hard Drive Using FileVault 2 to Secure Data
How to show Laravel Version