Sheeraz is a Doctorate fellow in Computer Science at Northwestern Polytechnical University, Xian, China. He has 7 years of Software Development experience in AI, Web, Database, and Desktop technologies. He writes tutorials in Java, PHP, Python, GoLang, R, etc., to help beginners learn the field of Computer Science.
Articles by Sheeraz Gul
PowerShell Howtos
- Array of Strings in PowerShell
- PowerShell ForEach Export-CSV
- Copy-Item Excluding Folder in PowerShell
- How to Rename AD Group in PowerShell
- How to Check if User Exists in PowerShell
- How to Compare Folders in PowerShell
- How to Get the Size of the Folder Including the Subfolders in PowerShell
- How to Listen on Port in PowerShell
- How to Reset PowerShell Colors
- How to Switch User Using PowerShell
- How to Take a Screenshot Using PowerShell
- PowerShell Alias With Parameters
Linux Howtos
- Bash Associative Array
- How to Bash md5sum Command
- How to Change the User in Bash
- How to Find All Files With an Extension in Bash
- How to Loop Through Directories Recursively in Bash
- How to Multiply Variables in Bash
- How to Remove Newline From String in Bash
- How to Wait for Background Process in Bash
C++ Howtos
- C++ Profiling Tools
- C++ Anonymous Struct
- C++ Helper Function in Class
- C++ Template Multiple Types
- Const at the End of Function in C++
- How to Download a File in C++
- Red Black Tree in C++
- Vector Iterator in C++
- How to Get Mouse Position in C++
R Howtos
- R Cannot Allocate Vector of Size
- Undefined Control Sequence Latex Using R
- pch in R
- How to Perform Piecewise Regression in R
- How to Rotate Axis Labels in R
- The table() Function in R
- How to Check Variable Data Types in R
- How to Delete Multiple Columns in R
- How to Find Row Number in R
- How to Set Up R Portable
- scale_fill_continuous in R
- Contingency Table in R
- How to Plot Normal Probability in R
- How to Multiply Matrix in R
- How to Perform Lasso Regression in R
- T Distribution in R
- How to Create Empty Matrix in R
- How to Export Data Frame to CSV in R
- How to Extract Rows From a Data Frame in R
- How to Perform Normal Distribution in R
- paste0() Function in R
- Random Forest in R
- How to Get the Number of Columns in R
- Plot Background Color in R
- How to Add Confidence Interval to Ggplot2 in R
- How to Concatenate Two Columns in R
- How to Create Empty Data Frame in R
- How to Implement the Train() Function in R
- How to Increase the Memory for R Processes
- How to Install rtools in Windows
- How to Inverse a Matrix in R
- How to Omit NA in R
- How to Perform Polynomial Regression in R
- How to Read XML in R
- How to Select Columns by Index in R
- The fread() Function in R
- How to Concatenate Strings in R
- How to Convert Strings to Lower Case in R
- How to Perform Binomial Distribution in R
- How to Perform Levene Test in R
- How to Perform Logistic Regression in R
- How to Remove Rows With NA in One Column in R
- How to Sort Data Frame by Column in R
- How to Drop Column by Name in R
Java Howtos
- How to Force Garbage Collection in Java
- Java OCR
- Background Colors in Java
- How to Count Repeated Elements in an Array in Java
- How to Remove a Node From a Linked List in Java
- Method Chaining in Java
- Roman Numerals in Java
- StdDraw Java Import
- How to Split a List Into Chunks in Java
- Sonar Java Binaries
- How to Create Java Inline Function
- Binary Number Addition in Java
- How to Distinct by Property in Java 8 Stream
- How to Get Day of Week in Java
- Allergy Class in Java
- How to Solve Eight Queens Problem in Java
- Java Spelling Check
- How to Convert Number to Words in Java
- How to Switch Multiple Case in Java
- Java Date vs. LocalDate
- Trie Data Structure in Java
- Default Garbage Collector for Java 8
- How to Throw Runtime Exception in Java
- Alphabetic Telephone Number Translator in Java
- FileFilter in Java
- How to Create A Roster Application in Java
- How to Create Excel File in Java
- Circular Buffer in Java
- How to Use Mockito to Mock Static Method in Java
- How to Convert Enum to Int in Java
- Java Lang Runtime exec() Method in Java
- 5 Best Image Processing Libraries in Java
- File Separator in Java
- How to Call Python Script From Java Code
- How to Get File Size in Java
- How to Read Bytes From a File in Java
- How to Serialize Object to JSON in Java
- How to Filter List in Java
- How to Use cURL in Java
- Interface Default Method in Java
- Java getActionCommand() Method
- SerialVersionUID in Java
- Trim() vs Strip() in Java
- How to Convert OutputStream to String in Java
- How to Extend Enums in Java
- How to Deserialize JSON in Java
- SMS API in Java
- Working of StdOut in Java
- An Existing Connection Was Forcibly Closed by the Remote Host on Minecraft
- How to Set Library Path in Java
- How to Set System Property in Java
- How to Use the wait() and notify() Methods in Java
- WebSocket Client in Java
- How to Fix Error Occurred During Initialization of VM Java/Lang/Noclassdeffounderror: Java/Lang/Object
- How to Fix Java Error Operation Not Allowed After ResultSet Closed
- How to Fix the Java.Text.ParseException: Unparseable Date Error in Java
- How to Resolve the Java.Lang.NoClassDefFoundError: Org/Apache/Commons/Logging/LogFactory Error
- How to Solve the Java.Sql.SQLException: No Suitable Driver Error in Java
- How to Solve the Unreachable Statement Error in Java
- How to Fix the $' ': Command Not Found Error in Java
- How to Fix the Java.Net.SocketException: Permission Denied in Java
- Cannot Determine a Valid Java Home
- How to Fix Eclipse Error: The Selection Cannot Be Launched
- How to Fix Error: Could Not Reserve Enough Space for Object Heap Minecraft Error in Java
- How to Fix Java Could Not Initialize Class org.codehaus.groovy.vmplugin.v7.java7
- How to Fix Java.Lang.ClassNotFoundeException: Sun.Jdbc.Odbc.JdbcOdbcDriver
- How to Fix java.lang.NumberFormatException: Null Error in Java
- How to Fix java.net.ConnectException Error in Java
- How to Fix the Java.Net.BindException: Address Already in Use: Bind
- Java Gateway Process Exited Before Sending Its Port Number
- Invalid LOC Header (Bad Signature) Error in Java
- How to Fix Java.Lang.StringIndexOutOfBoundsException: String Index Out of Range
- How to Fix Java.Net.UnknownHostException
- How to Fix the java.lang.UnsupportedClassVersionError
- How to Fix the Javax.Net.SSL.SSLHandshakeException Error
- How to Fix the Unexpected Type Error in Java
- A Java Exception Has Occurred When Opening a JAR File
- How to Fix Java.IO.Ioexception
- How to Fix Java.SQL.SQLException: Access Denied for User Root@Localhost
- How to Solve the Java VM EXCEPTION_ACCESS_VIOLATION
- How to Solve the Java.Lang.OutOfMemoryError: GC Overhead Limit Exceeded
- How to Fix Error: No Such Element Exception While Using Scanner in Java
- How to Fix Java Was Started but Returned Exit Code=1
- How to Fixe Error: Java Char Cannot Be Dereferenced
- InvocationTargetException in JavaFX
- How to Fix Error: The System Cannot Find the File Specified in Java
- How to Fix Exception in Thread Main Java.Util.NoSuchElementException: No Line Found
- How to Address Already in Use JVM_Bind Error in Java
- How to Attempt to Invoke Virtual Method on a Null Object Reference Error in Java
- How to Fix Error: Javac Cannot Find Symbol Error in Java
- How to Fix Error: Javac Is Not Recognized on Windows 10
- How to Fix Error: Non-Static Variable Count Cannot Be Referenced From a Static Context in Java
- How to Fix Error: Not on FX Application Thread in Java
- How to Fix The Superclass Javax.Servlet.Http.HttpServlet Was Not Found on the Java Build Path
- How to Fix Tomcat 404 Error
- The Method Is Undefined for the Type Error in Java
- How to Fix Java.Lang.IllegalMonitorStateException
- How to Fix java.net.SocketException: Software Caused Connection Abort: Recv Failed in Java
- How to Fix Error: Unable to Instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
- How to Fix the Error: Could Not Find Java SE Runtime Environment
- How to Fix Exception in Thread AWT-EventQueue-0 java.lang.NullPointerException
- How to Fix Java.IO.IOException: Connection Reset by Peer
- How to Fix Java.IO.StreamCorruptedException: Invalid Stream Header
- How to Fix Error:Java: Javactask: Source Release 1.8 Requires Target Release 1.8
- How to Fix Unsupported Major Minor Version Error in Java
- How to Create Square in JavaFX
- How to Display Text in JavaFX
- How to Format Text Field Number Format in JavaFX
- How to Rotate Text in JavaFX
- JavaFX setFill() Method
- JavaFX Square Button
- How to Center Text in a Pane in JavaFX
- How to Wrap Text in JavaFX TextArea
- JavaFX Region vs Pane
- File Chooser in Java
- How to Center a JLabel in Swing
- How to Change the JLabel Text in Java Swing
- How to Get Selected Item From a ChoiceBox in JavaFX
- Java Swing Date
- How to Create a Temperature Converter in Java
- AES 256 in Java
- How to Create an HTTP Proxy Server in Java
- How to Create Button Click Event in Java
- How to Make a BMI Calculator in Java
- How to Serialize Object to String in Java
- List of Rule Engines in Java
- Caesar Cipher in Java
- Embedded Database in Java
- Finite State Machine in Java
- How to Calculate Distance Between Two Points in Java
- How to Convert Decimal to Binary in Java
- How to Create File if Not Exists in Java
- How to Generate All Possible Combinations in Java
- How to Overwrite a File in Java
- How to Unzip Files in Java
- Weak Reference Class in Java
- How to Pretty Print XML in Java
- How to Zip Files in Java
- How to Align Text in Java
- How to Convert Hex to String in Java
- How to Convert Java Codes to UML Diagram
- How to Read Integers From a File in Java
- JAVA_OPTS Environment Variable
- Class Constant in Java
- How to Create a Mouse Listener in Java
- How to Fill a 2D Array in Java
- The Angle Bracket in Java
- How to Compare Content of Two Files in Java
- How to Read File From Classpath in Java
- Character Ignore Case in Java
- How to Set Java Logger Levels
- Friend Class in Java
- How to Create Alert Popup in Java
- How to Create an HTTPS Server in Java
- How to Get the Subset of an Array in Java
- Invalid Input Exception in Java
- Abstract Class Constructor in Java
- Button Group in Java
- Idempotent in Java
- Private Methods in Java
- Anonymous Comparator in Java
- How to Increase Virtual Memory in Java
- Java Empty Constructor
- Java Labels
- Java Not InstanceOf
- Java Serial Ports
- Java switch Statement on Strings
- Autoboxing and Unboxing in Java
- How to Get Size of SQL ResultSet in Java
- How to Read Binary Files in Java
- How to Set One Array Equal to Another in Java
- How to Write XML in Java
- String Pool in Java
- How to Get IP Address of the Current Device in Java
- How to Implement Java while Loop With User Input
- Delegation as a Substitute for Inheritance in Java
- How to Assign Custom Values to Enums in Java
- How to Create User-Defined Custom Exception in Java
- How to Print Pyramid of Stars in Java
- How to Run Java .Class Files From Command Line
- Java Radix Sort Algorithm
- How to Check if a Number Is Prime in Java
- How to Fix java.lang.IllegalStateException in Java
- How to Handle FileNotFoundException in Java
- How to Handle OutOfMemoryError Exception in Java
- How to Implement Dijkstra's Algorithm in Java
- Java getContentPane()
- Java Out Parameter
- PriorityQueue Comparator in Java
- JavaFX Themes
- JavaFX vs Swing
- Selection Sort Algorithm in Java
- How to Get Maximum Value From A Priority queue in Java
- How to Send HTTP Requests in Java
- Regular Expression \\s in Java
- Differences Between Java SE/EE/ME
- How to Create Image Icons in Java
- How to Turn Off Automatic Updates in Java
- How to Use System.gc() for Garbage Collection in Java
- How to Write Error Log Into Files in Java
- String[] in Java
- How to Convert Java Codes to C# Codes
- How to Create Animation in Java
- Multiple Inheritance in Java
- Stack Trace in Java
- How to Create Generators in Java
- How to Render LaTeX in Java
- How to Use assertTrue in Java
- How to Create a Concurrent Set in Java
- How to Create Callback Functions in Java
- How to Calculate Logarithm in Java
- How to Compress Strings in Java
- How to Declare a Constant String in Java
- How to Download Applets in Java
- How to Reverse an Integer in Java
- How to Run Command Line in Java
- How to Use Notepad++ to Compile and Run Java Programs
- How to Use the Suffix F in Java
- Huffman Code in Java
- Difference Between break and continue Statements in Java
- How to Draw Rectangle in JavaFX
MySQL Howtos
- How to Restart MySQL Server on Windows
- How to Get Max of Two Values in MySQL
- How to Rebuild Index in MySQL
- How to Restore Database From SQL File in MySQL
jQuery Howtos
- How to Capitalize First Letter in jQuery
- How to Convert String to Number in jQuery
- How to Toggle Visibility in jQuery
- How to Check if the Input Field Is Empty Using jQuery
- How to Download File in jQuery
- How to Generate Random Number in jQuery
- How to Get Selected Dropdown Value on Change Event Using jQuery
- How to Play Audio in jQuery
- How to Replace Class in jQuery
- How to Run jQuery After Page Load
- How to Select Sibling in jQuery
- jQuery Global Variable
- jQuery Sortable Table
- How to Check if an Element Exists Using jQuery
- How to Disable and Enable Input in jQuery
- How to Get Class in jQuery
- How to Move Elements Using jQuery
- How to Remove Class in jQuery
- How to Reset HTML Form Using jQuery
- jQuery Local Storage
- How to Create an On-Page Load Event in jQuery
- How to Display a Tooltip Message on Hover Using jQuery
- How to Replace Text and DOM Elements in jQuery
- How to Use the for Loop in jQuery
- How to Use the NPM jQuery Module
- jQuery ID Selector
- jQuery keyup
- jQuery remove() Method
- How to Hide Div Element in jQuery
- How to Set Input Value in jQuery
- How to Add Attributes in jQuery
- How to Create Elements in jQuery
- How to Get Element by ID in jQuery
- How to Use the delay() Method in jQuery
- is(:visible) in jQuery
- map() vs each() Functions in jQuery
- The resize() Method in jQuery
- How to Check if a String Contains a Substring in jQuery
- How to Import jQuery
- How to Pass Request Headers in jQuery AJAX
- How to Use the get() Method With Ajax jQuery
- jQuery AJAX Data
- Window.onload vs $(document).ready in jQuery
- $.Ajax Data Type in jQuery
PHP Howtos
- PHP Warning Invalid Argument Supplied for foreach()
- How to Convert Military Time to Standard Time in PHP
- How to Ignore Case Sensitivity When Comparing Strings in PHP
- PHP Anonymous Class
- PHP Artisan Clear Cache
- PHP Post Max Size
- PHP Validate ExecutablePath in VSCode
- PHP Video Player
- Abstract Class vs. Interface in PHP
- Categories Cat_ID in WordPress PHP
- Constant Arrays in PHP
- How to Divide Integer in PHP
- How to Reverse Array in PHP
- New York Timezone in PHP
- PHP Socket IO
- PHP Spaceship Operator
- PHP Spread Operator
- 8 Best PHP Code Obfuscators
- How to Round Floating-Point Numbers in PHP
- How to Set the Timezone in PHP
- PHP Abstract Class
- PHP Heredoc Syntax
- PHP Shortcode
- PHP URL Decoding
- PHP Variables Pass by Reference
- How to Show PHP Configuration Information on Localhost
- PHP AES Encrypt Decrypt
- PHP Upload Image
- How to Generate UUID in PHP
- How to Get Headers in PHP
- How to Flatten Array in PHP
- How to Display Array Values in PHP
- How to Send Email Using Mail Form in PHP
- File Download With CURL in PHP
- How to Add Element to an Associative Array in PHP
- How to Change Font Size and Color in PHP
- How to Concat PHP Arrays
- How to Generate Image using PHP
- How to Group Arrays in PHP
- How to Resize Image Resize Upload in PHP
- How to Serialize Function in PHP
- How to Validate Phone Number in PHP
- Lambda Functions in PHP
- PHP Session Encode Decode
- PHP UTF-8 Conversion
- PHP Zip Extension
- How to Call Function From String in PHP
- How to Check if Function Exists in PHP
- How to Convert an Array Into a CSV File in PHP
- How to Get the PHP Version
- Object Operator in PHP
- How to Merge PDFs in PHP
- PHP Switch Version on Ubuntu
- PHP 301 Redirect
- PHP Private Function
- How to Go Back to an Article Tag With an ID From the Action Page
- PHP Array Sum
- PHP Authenticate
- PHP Proxy
- PHP Template String
- How to Alert Message Using PHP
- How to Check if Array Contains a Value in PHP
- How to Double Question Mark in PHP
- The continue Statement in PHP
- var_dump() PHP Built-In Function
Go Howtos
- GoLang RWMutex
- How to Convert JSON to Struct in Go
- How to Enable CORS in GoLang
- How to Install GoLang Using Brew
- How to Create a GUI Using Electron API in Go
- How to Copy Slice in Go
- How to Uninstall GoLang
- GoLang Map of Maps
- How to Compare Strings in Go
- How to Generate Random Number in Go
- How to Install Package in GoLang
- How to Reverse A String in Golang
- How to Sort Slice of Structs in Go
- How to Use assert in Go
- How to Validate Email in Go
- How to Set Log Levels in Go
- Golang Array of Structs
- How to Convert Interface to String in Go
- How to Merge Two Maps in Golang
Matlab Howtos
- How to Reset Color Order in MATLAB
- How to Swap Rows and Columns in MATLAB
- Masking in MATLAB
- How to Plot Graph Using the for Loop in MATLAB
- MATLAB Machine Epsilon
- Modulo in MATLAB
- How to Check Whether an Array or Matrix Is Empty or Not in MATLAB
- How to Print Output in Command Window in Matlab
- How to Run MATLAB Script From Command Line
- How to Solve Quadratic Equations in MATLAB
- How to Use Kronecker Delta in MATLAB