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