Sheeraz Gul avatar Sheeraz Gul avatar

About Sheeraz Gul

LinkedIn Facebook

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

  1. Array of Strings in PowerShell
  2. PowerShell ForEach Export-CSV
  3. Copy-Item Excluding Folder in PowerShell
  4. How to Rename AD Group in PowerShell
  5. How to Check if User Exists in PowerShell
  6. How to Compare Folders in PowerShell
  7. How to Get the Size of the Folder Including the Subfolders in PowerShell
  8. How to Listen on Port in PowerShell
  9. How to Reset PowerShell Colors
  10. How to Switch User Using PowerShell
  11. How to Take a Screenshot Using PowerShell
  12. PowerShell Alias With Parameters

Linux Howtos

  1. Bash Associative Array
  2. How to Bash md5sum Command
  3. How to Change the User in Bash
  4. How to Find All Files With an Extension in Bash
  5. How to Loop Through Directories Recursively in Bash
  6. How to Multiply Variables in Bash
  7. How to Remove Newline From String in Bash
  8. How to Wait for Background Process in Bash

C++ Howtos

  1. C++ Profiling Tools
  2. C++ Anonymous Struct
  3. C++ Helper Function in Class
  4. C++ Template Multiple Types
  5. Const at the End of Function in C++
  6. How to Download a File in C++
  7. Red Black Tree in C++
  8. Vector Iterator in C++
  9. How to Get Mouse Position in C++

R Howtos

  1. R Cannot Allocate Vector of Size
  2. Undefined Control Sequence Latex Using R
  3. pch in R
  4. How to Perform Piecewise Regression in R
  5. How to Rotate Axis Labels in R
  6. The table() Function in R
  7. How to Check Variable Data Types in R
  8. How to Delete Multiple Columns in R
  9. How to Find Row Number in R
  10. How to Set Up R Portable
  11. scale_fill_continuous in R
  12. Contingency Table in R
  13. How to Plot Normal Probability in R
  14. How to Multiply Matrix in R
  15. How to Perform Lasso Regression in R
  16. T Distribution in R
  17. How to Create Empty Matrix in R
  18. How to Export Data Frame to CSV in R
  19. How to Extract Rows From a Data Frame in R
  20. How to Perform Normal Distribution in R
  21. paste0() Function in R
  22. Random Forest in R
  23. How to Get the Number of Columns in R
  24. Plot Background Color in R
  25. How to Add Confidence Interval to Ggplot2 in R
  26. How to Concatenate Two Columns in R
  27. How to Create Empty Data Frame in R
  28. How to Implement the Train() Function in R
  29. How to Increase the Memory for R Processes
  30. How to Install rtools in Windows
  31. How to Inverse a Matrix in R
  32. How to Omit NA in R
  33. How to Perform Polynomial Regression in R
  34. How to Read XML in R
  35. How to Select Columns by Index in R
  36. The fread() Function in R
  37. How to Concatenate Strings in R
  38. How to Convert Strings to Lower Case in R
  39. How to Perform Binomial Distribution in R
  40. How to Perform Levene Test in R
  41. How to Perform Logistic Regression in R
  42. How to Remove Rows With NA in One Column in R
  43. How to Sort Data Frame by Column in R
  44. How to Drop Column by Name in R

Java Howtos

  1. How to Force Garbage Collection in Java
  2. Java OCR
  3. Background Colors in Java
  4. How to Count Repeated Elements in an Array in Java
  5. How to Remove a Node From a Linked List in Java
  6. Method Chaining in Java
  7. Roman Numerals in Java
  8. StdDraw Java Import
  9. How to Split a List Into Chunks in Java
  10. Sonar Java Binaries
  11. How to Create Java Inline Function
  12. Binary Number Addition in Java
  13. How to Distinct by Property in Java 8 Stream
  14. How to Get Day of Week in Java
  15. Allergy Class in Java
  16. How to Solve Eight Queens Problem in Java
  17. Java Spelling Check
  18. How to Convert Number to Words in Java
  19. How to Switch Multiple Case in Java
  20. Java Date vs. LocalDate
  21. Trie Data Structure in Java
  22. Default Garbage Collector for Java 8
  23. How to Throw Runtime Exception in Java
  24. Alphabetic Telephone Number Translator in Java
  25. FileFilter in Java
  26. How to Create A Roster Application in Java
  27. How to Create Excel File in Java
  28. Circular Buffer in Java
  29. How to Use Mockito to Mock Static Method in Java
  30. How to Convert Enum to Int in Java
  31. Java Lang Runtime exec() Method in Java
  32. 5 Best Image Processing Libraries in Java
  33. File Separator in Java
  34. How to Call Python Script From Java Code
  35. How to Get File Size in Java
  36. How to Read Bytes From a File in Java
  37. How to Serialize Object to JSON in Java
  38. How to Filter List in Java
  39. How to Use cURL in Java
  40. Interface Default Method in Java
  41. Java getActionCommand() Method
  42. SerialVersionUID in Java
  43. Trim() vs Strip() in Java
  44. How to Convert OutputStream to String in Java
  45. How to Extend Enums in Java
  46. How to Deserialize JSON in Java
  47. SMS API in Java
  48. Working of StdOut in Java
  49. An Existing Connection Was Forcibly Closed by the Remote Host on Minecraft
  50. How to Set Library Path in Java
  51. How to Set System Property in Java
  52. How to Use the wait() and notify() Methods in Java
  53. WebSocket Client in Java
  54. How to Fix Error Occurred During Initialization of VM Java/Lang/Noclassdeffounderror: Java/Lang/Object
  55. How to Fix Java Error Operation Not Allowed After ResultSet Closed
  56. How to Fix the Java.Text.ParseException: Unparseable Date Error in Java
  57. How to Resolve the Java.Lang.NoClassDefFoundError: Org/Apache/Commons/Logging/LogFactory Error
  58. How to Solve the Java.Sql.SQLException: No Suitable Driver Error in Java
  59. How to Solve the Unreachable Statement Error in Java
  60. How to Fix the $' ': Command Not Found Error in Java
  61. How to Fix the Java.Net.SocketException: Permission Denied in Java
  62. Cannot Determine a Valid Java Home
  63. How to Fix Eclipse Error: The Selection Cannot Be Launched
  64. How to Fix Error: Could Not Reserve Enough Space for Object Heap Minecraft Error in Java
  65. How to Fix Java Could Not Initialize Class org.codehaus.groovy.vmplugin.v7.java7
  66. How to Fix Java.Lang.ClassNotFoundeException: Sun.Jdbc.Odbc.JdbcOdbcDriver
  67. How to Fix java.lang.NumberFormatException: Null Error in Java
  68. How to Fix java.net.ConnectException Error in Java
  69. How to Fix the Java.Net.BindException: Address Already in Use: Bind
  70. Java Gateway Process Exited Before Sending Its Port Number
  71. Invalid LOC Header (Bad Signature) Error in Java
  72. How to Fix Java.Lang.StringIndexOutOfBoundsException: String Index Out of Range
  73. How to Fix Java.Net.UnknownHostException
  74. How to Fix the java.lang.UnsupportedClassVersionError
  75. How to Fix the Javax.Net.SSL.SSLHandshakeException Error
  76. How to Fix the Unexpected Type Error in Java
  77. A Java Exception Has Occurred When Opening a JAR File
  78. How to Fix Java.IO.Ioexception
  79. How to Fix Java.SQL.SQLException: Access Denied for User Root@Localhost
  80. How to Solve the Java VM EXCEPTION_ACCESS_VIOLATION
  81. How to Solve the Java.Lang.OutOfMemoryError: GC Overhead Limit Exceeded
  82. How to Fix Error: No Such Element Exception While Using Scanner in Java
  83. How to Fix Java Was Started but Returned Exit Code=1
  84. How to Fixe Error: Java Char Cannot Be Dereferenced
  85. InvocationTargetException in JavaFX
  86. How to Fix Error: The System Cannot Find the File Specified in Java
  87. How to Fix Exception in Thread Main Java.Util.NoSuchElementException: No Line Found
  88. How to Address Already in Use JVM_Bind Error in Java
  89. How to Attempt to Invoke Virtual Method on a Null Object Reference Error in Java
  90. How to Fix Error: Javac Cannot Find Symbol Error in Java
  91. How to Fix Error: Javac Is Not Recognized on Windows 10
  92. How to Fix Error: Non-Static Variable Count Cannot Be Referenced From a Static Context in Java
  93. How to Fix Error: Not on FX Application Thread in Java
  94. How to Fix The Superclass Javax.Servlet.Http.HttpServlet Was Not Found on the Java Build Path
  95. How to Fix Tomcat 404 Error
  96. The Method Is Undefined for the Type Error in Java
  97. How to Fix Java.Lang.IllegalMonitorStateException
  98. How to Fix java.net.SocketException: Software Caused Connection Abort: Recv Failed in Java
  99. How to Fix Error: Unable to Instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
  100. How to Fix the Error: Could Not Find Java SE Runtime Environment
  101. How to Fix Exception in Thread AWT-EventQueue-0 java.lang.NullPointerException
  102. How to Fix Java.IO.IOException: Connection Reset by Peer
  103. How to Fix Java.IO.StreamCorruptedException: Invalid Stream Header
  104. How to Fix Error:Java: Javactask: Source Release 1.8 Requires Target Release 1.8
  105. How to Fix Unsupported Major Minor Version Error in Java
  106. How to Create Square in JavaFX
  107. How to Display Text in JavaFX
  108. How to Format Text Field Number Format in JavaFX
  109. How to Rotate Text in JavaFX
  110. JavaFX setFill() Method
  111. JavaFX Square Button
  112. How to Center Text in a Pane in JavaFX
  113. How to Wrap Text in JavaFX TextArea
  114. JavaFX Region vs Pane
  115. File Chooser in Java
  116. How to Center a JLabel in Swing
  117. How to Change the JLabel Text in Java Swing
  118. How to Get Selected Item From a ChoiceBox in JavaFX
  119. Java Swing Date
  120. How to Create a Temperature Converter in Java
  121. AES 256 in Java
  122. How to Create an HTTP Proxy Server in Java
  123. How to Create Button Click Event in Java
  124. How to Make a BMI Calculator in Java
  125. How to Serialize Object to String in Java
  126. List of Rule Engines in Java
  127. Caesar Cipher in Java
  128. Embedded Database in Java
  129. Finite State Machine in Java
  130. How to Calculate Distance Between Two Points in Java
  131. How to Convert Decimal to Binary in Java
  132. How to Create File if Not Exists in Java
  133. How to Generate All Possible Combinations in Java
  134. How to Overwrite a File in Java
  135. How to Unzip Files in Java
  136. Weak Reference Class in Java
  137. How to Pretty Print XML in Java
  138. How to Zip Files in Java
  139. How to Align Text in Java
  140. How to Convert Hex to String in Java
  141. How to Convert Java Codes to UML Diagram
  142. How to Read Integers From a File in Java
  143. JAVA_OPTS Environment Variable
  144. Class Constant in Java
  145. How to Create a Mouse Listener in Java
  146. How to Fill a 2D Array in Java
  147. The Angle Bracket in Java
  148. How to Compare Content of Two Files in Java
  149. How to Read File From Classpath in Java
  150. Character Ignore Case in Java
  151. How to Set Java Logger Levels
  152. Friend Class in Java
  153. How to Create Alert Popup in Java
  154. How to Create an HTTPS Server in Java
  155. How to Get the Subset of an Array in Java
  156. Invalid Input Exception in Java
  157. Abstract Class Constructor in Java
  158. Button Group in Java
  159. Idempotent in Java
  160. Private Methods in Java
  161. Anonymous Comparator in Java
  162. How to Increase Virtual Memory in Java
  163. Java Empty Constructor
  164. Java Labels
  165. Java Not InstanceOf
  166. Java Serial Ports
  167. Java switch Statement on Strings
  168. Autoboxing and Unboxing in Java
  169. How to Get Size of SQL ResultSet in Java
  170. How to Read Binary Files in Java
  171. How to Set One Array Equal to Another in Java
  172. How to Write XML in Java
  173. String Pool in Java
  174. How to Get IP Address of the Current Device in Java
  175. How to Implement Java while Loop With User Input
  176. Delegation as a Substitute for Inheritance in Java
  177. How to Assign Custom Values to Enums in Java
  178. How to Create User-Defined Custom Exception in Java
  179. How to Print Pyramid of Stars in Java
  180. How to Run Java .Class Files From Command Line
  181. Java Radix Sort Algorithm
  182. How to Check if a Number Is Prime in Java
  183. How to Fix java.lang.IllegalStateException in Java
  184. How to Handle FileNotFoundException in Java
  185. How to Handle OutOfMemoryError Exception in Java
  186. How to Implement Dijkstra's Algorithm in Java
  187. Java getContentPane()
  188. Java Out Parameter
  189. PriorityQueue Comparator in Java
  190. JavaFX Themes
  191. JavaFX vs Swing
  192. Selection Sort Algorithm in Java
  193. How to Get Maximum Value From A Priority queue in Java
  194. How to Send HTTP Requests in Java
  195. Regular Expression \\s in Java
  196. Differences Between Java SE/EE/ME
  197. How to Create Image Icons in Java
  198. How to Turn Off Automatic Updates in Java
  199. How to Use System.gc() for Garbage Collection in Java
  200. How to Write Error Log Into Files in Java
  201. String[] in Java
  202. How to Convert Java Codes to C# Codes
  203. How to Create Animation in Java
  204. Multiple Inheritance in Java
  205. Stack Trace in Java
  206. How to Create Generators in Java
  207. How to Render LaTeX in Java
  208. How to Use assertTrue in Java
  209. How to Create a Concurrent Set in Java
  210. How to Create Callback Functions in Java
  211. How to Calculate Logarithm in Java
  212. How to Compress Strings in Java
  213. How to Declare a Constant String in Java
  214. How to Download Applets in Java
  215. How to Reverse an Integer in Java
  216. How to Run Command Line in Java
  217. How to Use Notepad++ to Compile and Run Java Programs
  218. How to Use the Suffix F in Java
  219. Huffman Code in Java
  220. Difference Between break and continue Statements in Java
  221. How to Draw Rectangle in JavaFX

MySQL Howtos

  1. How to Restart MySQL Server on Windows
  2. How to Get Max of Two Values in MySQL
  3. How to Rebuild Index in MySQL
  4. How to Restore Database From SQL File in MySQL

jQuery Howtos

  1. How to Capitalize First Letter in jQuery
  2. How to Convert String to Number in jQuery
  3. How to Toggle Visibility in jQuery
  4. How to Check if the Input Field Is Empty Using jQuery
  5. How to Download File in jQuery
  6. How to Generate Random Number in jQuery
  7. How to Get Selected Dropdown Value on Change Event Using jQuery
  8. How to Play Audio in jQuery
  9. How to Replace Class in jQuery
  10. How to Run jQuery After Page Load
  11. How to Select Sibling in jQuery
  12. jQuery Global Variable
  13. jQuery Sortable Table
  14. How to Check if an Element Exists Using jQuery
  15. How to Disable and Enable Input in jQuery
  16. How to Get Class in jQuery
  17. How to Move Elements Using jQuery
  18. How to Remove Class in jQuery
  19. How to Reset HTML Form Using jQuery
  20. jQuery Local Storage
  21. How to Create an On-Page Load Event in jQuery
  22. How to Display a Tooltip Message on Hover Using jQuery
  23. How to Replace Text and DOM Elements in jQuery
  24. How to Use the for Loop in jQuery
  25. How to Use the NPM jQuery Module
  26. jQuery ID Selector
  27. jQuery keyup
  28. jQuery remove() Method
  29. How to Hide Div Element in jQuery
  30. How to Set Input Value in jQuery
  31. How to Add Attributes in jQuery
  32. How to Create Elements in jQuery
  33. How to Get Element by ID in jQuery
  34. How to Use the delay() Method in jQuery
  35. is(:visible) in jQuery
  36. map() vs each() Functions in jQuery
  37. The resize() Method in jQuery
  38. How to Check if a String Contains a Substring in jQuery
  39. How to Import jQuery
  40. How to Pass Request Headers in jQuery AJAX
  41. How to Use the get() Method With Ajax jQuery
  42. jQuery AJAX Data
  43. Window.onload vs $(document).ready in jQuery
  44. $.Ajax Data Type in jQuery

PHP Howtos

  1. PHP Warning Invalid Argument Supplied for foreach()
  2. How to Convert Military Time to Standard Time in PHP
  3. How to Ignore Case Sensitivity When Comparing Strings in PHP
  4. PHP Anonymous Class
  5. PHP Artisan Clear Cache
  6. PHP Post Max Size
  7. PHP Validate ExecutablePath in VSCode
  8. PHP Video Player
  9. Abstract Class vs. Interface in PHP
  10. Categories Cat_ID in WordPress PHP
  11. Constant Arrays in PHP
  12. How to Divide Integer in PHP
  13. How to Reverse Array in PHP
  14. New York Timezone in PHP
  15. PHP Socket IO
  16. PHP Spaceship Operator
  17. PHP Spread Operator
  18. 8 Best PHP Code Obfuscators
  19. How to Round Floating-Point Numbers in PHP
  20. How to Set the Timezone in PHP
  21. PHP Abstract Class
  22. PHP Heredoc Syntax
  23. PHP Shortcode
  24. PHP URL Decoding
  25. PHP Variables Pass by Reference
  26. How to Show PHP Configuration Information on Localhost
  27. PHP AES Encrypt Decrypt
  28. PHP Upload Image
  29. How to Generate UUID in PHP
  30. How to Get Headers in PHP
  31. How to Flatten Array in PHP
  32. How to Display Array Values in PHP
  33. How to Send Email Using Mail Form in PHP
  34. File Download With CURL in PHP
  35. How to Add Element to an Associative Array in PHP
  36. How to Change Font Size and Color in PHP
  37. How to Concat PHP Arrays
  38. How to Generate Image using PHP
  39. How to Group Arrays in PHP
  40. How to Resize Image Resize Upload in PHP
  41. How to Serialize Function in PHP
  42. How to Validate Phone Number in PHP
  43. Lambda Functions in PHP
  44. PHP Session Encode Decode
  45. PHP UTF-8 Conversion
  46. PHP Zip Extension
  47. How to Call Function From String in PHP
  48. How to Check if Function Exists in PHP
  49. How to Convert an Array Into a CSV File in PHP
  50. How to Get the PHP Version
  51. Object Operator in PHP
  52. How to Merge PDFs in PHP
  53. PHP Switch Version on Ubuntu
  54. PHP 301 Redirect
  55. PHP Private Function
  56. How to Go Back to an Article Tag With an ID From the Action Page
  57. PHP Array Sum
  58. PHP Authenticate
  59. PHP Proxy
  60. PHP Template String
  61. How to Alert Message Using PHP
  62. How to Check if Array Contains a Value in PHP
  63. How to Double Question Mark in PHP
  64. The continue Statement in PHP
  65. var_dump() PHP Built-In Function

Go Howtos

  1. GoLang RWMutex
  2. How to Convert JSON to Struct in Go
  3. How to Enable CORS in GoLang
  4. How to Install GoLang Using Brew
  5. How to Create a GUI Using Electron API in Go
  6. How to Copy Slice in Go
  7. How to Uninstall GoLang
  8. GoLang Map of Maps
  9. How to Compare Strings in Go
  10. How to Generate Random Number in Go
  11. How to Install Package in GoLang
  12. How to Reverse A String in Golang
  13. How to Sort Slice of Structs in Go
  14. How to Use assert in Go
  15. How to Validate Email in Go
  16. How to Set Log Levels in Go
  17. Golang Array of Structs
  18. How to Convert Interface to String in Go
  19. How to Merge Two Maps in Golang

Matlab Howtos

  1. How to Reset Color Order in MATLAB
  2. How to Swap Rows and Columns in MATLAB
  3. Masking in MATLAB
  4. How to Plot Graph Using the for Loop in MATLAB
  5. MATLAB Machine Epsilon
  6. Modulo in MATLAB
  7. How to Check Whether an Array or Matrix Is Empty or Not in MATLAB
  8. How to Print Output in Command Window in Matlab
  9. How to Run MATLAB Script From Command Line
  10. How to Solve Quadratic Equations in MATLAB
  11. How to Use Kronecker Delta in MATLAB