Coding Ref

Coding Ref

Articles about programming, web development, databases, statistics, and cloud computing.

exit(0) and exit(1) in C

c

Updates were rejected because the tip of your current branch is behind

git

What is GraphQL enum?

sql

Filtering in GraphQL

sql

GraphQL Mutations

graphql

RGB color codes

html

Could not find module '@angular-devkit/build-angular'

javascriptangular

Cannot use import statement outside a module in JavaScript

javascript

ReferenceError: document is not defined in JavaScript

javascript

Returning multiple values in JavaScript

javascript

Sort dates in JavaScript

javascript

Unexpected token u in JSON at position 0 Error

javascript

How to create a 3D plot in MATLAB

matlab

How to plot a Bode in MATLAB

matlab

MATLAB linspace

matlab

How to plot colors in MATLAB

matlab

How to plot a legend in MATLAB

matlab

How to plot a line in MATLAB

matlab

Plot markers in MATLAB

matlab

How to plot points in MATLAB

matlab

How to create a scatter plot in MATLAB

matlab

MATLAB subplot

matlab

How to create a surface plot in MATLAB

matlab

SUBSTR function in Oracle SQL

oracle-sql

How to Fix “Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress” Error

phpwordpressmysql

How to comment and uncomment in PostgreSQL

postgres

The difference between add-content and set-content

powershell

Add-Content in PowerShell

powershell

How to add a user to a group in PowerShell

powershell

How to create an alias in PowerShell

powershell

How to append content to a file in PowerShell

powershell

Boolean literals in PowerShell

powershell

Everything about certificates in PowerShell

powershell

What are classes in PowerShell?

powershell

How to use -Contains in PowerShell

powershell

How to count objects in PowerShell

powershell

How to create a directory in PowerShell

powershell

How to get the current directory in PowerShell

powershell

Dictionaries in PowerShell

powershell

Do Until in PowerShell

powershell

PowerShell do-while loop

powershell

What is Echo in PowerShell?

powershell

How to check for equality in PowerShell

powershell

How to use ErrorAction in PowerShell

powershell

How to use PowerShell exit codes

powershell

The difference between -ExpandProperty and -Property in PowerShell

powershell

What is PowerShell ExpandProperty?

powershell

What are the different PowerShell file types?

powershell

How to find special characters in PowerShell

powershell

How to install PowerShell on Mac

powershell

How to use Format-Table in PowerShell

powershell

How to exclude multiple folders using Get-ChildItem in PowerShell

powershell

How to use -filter in Get-ChildItem in PowerShell

powershell

Get the full path of ChildItem in PowerShell

powershell

What is PowerShell Get-ChildItem?

powershell

How to get the date in PowerShell

powershell

How to get the host or computer name in PowerShell

powershell

How to get processes in PowerShell

powershell

How to find the Windows version from the PowerShell command line

powershell

How to declare global variables in PowerShell

powershell

What is PowerShell Grep?

powershell

What is a PowerShell Hashtable?

powershell

What is IEX in PowerShell?

powershell

How to use If Else in PowerShell

powershell

How to join a domain in PowerShell

powershell

How to stop Windows PowerSHell from randomly popping up

powershell

How to list all installed modules in PowerShell

powershell

What is PowerShell logging?

powershell

What is `ls` for PowerShell?

powershell

How to make a directory in PowerShell

powershell

How to move items in PowerShell

powershell

How to write multiple-line comments in PowerShell

powershell

How to create new items in PowerShell

powershell

Not equal to in PowerShell

powershell

What is null in PowerShell?

powershell

Using -Or in PowerShell

powershell

How to order a hashtable in PowerShell

powershell

How to copy and paste into PowerShell

powershell

How to pause in PowerShell

powershell

How to ping in PowerShell

powershell

Piping in PowerShell

powershell

How to print output in PowerShell

powershell

What is read-host in PowerShell?

powershell

How to rename a computer in PowerShell

powershell

How to rename a file in PowerShell

powershell

How to rename a folder in PowerShell

powershell

How to restart a service in PowerShell

powershell

How to use Robocopy in PowerShell

powershell

How to run a .bat file in PowerShell

powershell

What is a Scriptblock in PowerShell?

powershell

How to select an object in PowerShell

powershell

How to use SFTP in PowerShell

powershell

How to Sign a PowerShell Script

powershell

How to sort and filter data in PowerShell

powershell

How to sort in PowerShell

powershell

How to use Start-Job in PowerShell

powershell

How to use String Contains in PowerShell

powershell

String formatting in PowerShell

powershell

String Interpolation in PowerShell

powershell

How to get the string length of a variable in PowerShell

powershell

Substrings in PowerShell

powershell

Switch statement in PowerShell

powershell

How to trim text in PowerShell

powershell

How to unzip a file in Powershell

powershell

What are verbs in PowerShell?

powershell

PowerShell vs. Bash

powershell

How to wait in PowerShell

powershell

What is WhatIf in PowerShell?

powershell

While loops in PowerShell

powershell

What is Write-Host in PowerShell?

powershell

How to find elements by class in BeautifulSoup

beautiful soup

How to fix: Can only use .str accessor with string values, which use np.object_ dtype in pandas

python

Delete Conda environment

pythonconda

Convert JSON to CSV in Python

python

Flatten a list in Python

python

How to fix: IndentationError expected an indented block in Python

python

How to fix: Unindent does not match any outer indentation level in Python

python

IndexError: list index out of range

python

ModuleNotFoundError: No module named 'cv2' in Python

python

ModuleNotFoundError: No module named 'matplotlib' in Python

python

ModuleNotFoundError: No module named 'numpy' in Python

pythonnumpy

ModuleNotFoundError: No module named 'pandas' in Python

python

ModuleNotFoundError: No module named 'requests' in Python

python

ModuleNotFoundError: No module named 'pip' in Python

python

What does numpy.arrange() do?

numpy

How to use numpy.clip() in Python

numpy

How to use numpy.exp() in Python

numpy

How to use numpy.ndarray.flatten() in Python

numpy

How to use numpy.hstack() in Python

numpy

How to use numpy.linspace() in Python

numpy

NumPy: np.arrange()

numpy

How to use numpy.percentile() in Python

numpy

How to use numpy.random.uniform() in Python

numpy

How to use numpy.ravel() in Python

numpy

How to use numpy.round() in Python

numpy

NumPy numpy.transpose()

numpy

How to use numpy.vstack() in Python

numpy

How to use numpy.zeros() in Python

numpy

How to get the absolute value for a column in Pandas

pandas

How to add an empty column to a Pandas DataFrame

pandas

How to apply a function to multiple columns in Pandas

pandas

How to use applymap() in Pandas

pandas

How to use astype() in Pandas

pandas

How to create a bar chart in Pandas

pandas

How to fix: ValueError: pandas cannot reindex from a duplicate axis

pandas

What is categorical data in Pandas?

pandas

How to change the order of columns in Pandas

pandas

How to concatenate in Pandas

pandas

How to convert string to float in Pandas

pandas

What does Count() do in Pandas?

pandas

How to calculate covariance in Pandas

pandas

How to make a crosstab in Pandas

pandas

What is Pandas Cumsum()?

pandas

What is date_range() in Pandas?

pandas

What does Diff() do in Pandas?

pandas

How to drop duplicate columns in Pandas

pandas

How to drop duplicate rows in Pandas

pandas

How to drop an index column in Pandas

pandas

How to use ewm() in Pandas

pandas

What does factorize() do in Pandas?

pandas

How to use ffill() in Pandas

pandas

fillna() in Pandas

pandas

How to filter a Pandas DataFrame

pandas

How to create a freqeuncy table in Pandas

pandas

How to get the first row in Pandas

pandas

How to GroupBy Index in Pandas

pandas

How to groupby mean in Pnadas

pandas

How to groupby, then sort within groups in Pandas

pandas

What does Head() do in Pandas?

pandas

What is idxmax() in Pandas?

pandas

How to convert a Pandas Index to a List

pandas

What is insert() in Pandas?

pandas

What is isna() in Pandas?

pandas

How to use intertuples() in Pandas

pandas

How to join two DataFrames in Pandas

pandas

How to give multiple conditions in loc() in Pandas

pandas

How to use pandas map() function

pandas

How to find the minimum in Pandas

pandas

How to find the mode in a Pandas DataFrame

pandas

How to fix: AttributeError module 'pandas' has no attribute 'dataframe'

pandas

What is nlargest() in Pandas?

pandas

How to normalize a column in Pandas

pandas

What is .notnull in Pandas?

pandas

How to get the number of columns in a Pandas DataFrame

pandas

How to use nunique() in Pandas

pandas

How to print a specific row in a Pandas DataFrame?

pandas

How to use qcut() in Pandas

pandas

Pandas read SQL

sqlpandas

How to read a TSV file in Pandas

pandas

How to reorder columns in Pandas

pandas

How to reset index in a Pandas DataFrame

pandas

How to reshape a Pandas DataFrame

pandas

How to round in Pandas

pandas

How to select multiple columns in Pandas

pandas

How to sort a series in Pandas

pandas

How to convert a series to a list in Pandas

pandas

How to convert a series to a NumPy array in Pandas

pandas

How to shuffle data in Pandas

pandas

How to sort by two columns in Pandas

pandas

How to split a Pandas DataFrame by a column value

pandas

How to stack two Pandas DataFrames

pandas

How to calculate the standard deviation in Pandas DataFrame

pandas

How to use str.contains() in Pandas

pandas

How to use str.split() in Pandas

pandas

How to use Timedelta in Pandas

pandas

How to convert Pandas timestamp to datetime

pandas

How to write a Pandas DataFrame to SQL

pandas

How to calculate the variance in Pandas DataFrame

pandas

How to use where() in Pandas

pandas

Syntax Error: invalid syntax

python

SyntaxError: unexpected EOF while parsing

python

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

python

TypeError: a bytes-like object is required, not 'str'

python

TypeError: only integer scalar arrays can be converted to a scalar index

python

TypeError: string indices must be integers

python

How to fix: pandas data cast to numpy dtype of object. Check input data with np.asarray(data)

python

ValueError: setting an array element with a sequence

python

$ operator is invalid for atomic vectors in R

r

Error in file(file, "rt") : cannot open the connection

r

Error in plot.new() : figure margins too large

r

Non-numeric argument to binary operator error in R

r

R: the condition has length > 1 and only the first element will be used

r

What does Spark SQL shuffle partitions do?

spark-sql

Splunk commands

splunk

How to extract a field in Splunk

splunk

Splunk vs. Datadog

splunk

ABS function in SQL

sql

SQL aliases

sql

What is SQL ALL?

sql

How to fix the 'Ambiguous Column Name' error in SQL

sql

What is an anti join in SQL?

sql

What is SQL ANY?

sql

What is the AS statement in SQL?

sql

Calculating averages in SQL

sql

How to use between inclusive in SQL?

sql

What is a blind SQL injection?

sql

Block comments in SQL

sql

What is cardinality in SQL?

sql

How to combine two columns in SQL

sql

SQL Comments

sql

How to concatenate strings in SQL

sql

What is the unique constraint in SQL?

sql

How to get the day of the week in SQL

sql

Find column names in SQL

sql

What is bulk insert in SQL?

sql-server

What is CAST function in SQL?

sql