Explain Codes LogoExplain Codes Logo

Best Articles — Page 91

Simple argparse example wanted: 1 argument, 3 results

python
argparse
command-line
input-validation

How can I increment a date by one day in Java?

java
date-increment
calendar
localdate

What causes error "No enclosing instance of type Foo is accessible" and how do I fix it?

java
inner-classes
static-nested-class
refactoring

Cannot change version of project facet Dynamic Web Module to 3.0?

html
web-module
maven
configuration

How do you use script variables in psql?

sql
variables
sql-injection
postgresql

Using DISTINCT and COUNT together in a MySQL Query

sql
distinct
count
subqueries

Junit 5: How to assert an exception is thrown?

java
exception-handling
junit
lambda

How do you check that a number is NaN in JavaScript?

javascript
nan
ecmascript
polyfill

How do I add a delay in a JavaScript loop?

javascript
settimeout
async-await
deferred-callbacks

How to subtract days from a plain Date?

javascript
date-manipulation
time-zones
momentjs

What do __init__ and self do in Python?

python
self
init
instance-variables

How do I redirect to another webpage?

javascript
redirects
user-navigation
single-page-applications

Ecmascript 6 arrow function that returns an object

javascript
arrow-functions
es6
destructuring

How do I sort a dictionary by key?

python
dictionary-sorting
lambda
sortedcontainers

How can I select an element by name with jQuery?

javascript
jquery
selectors
web-development

Changing cursor to waiting in javascript/jquery

javascript
cursor
jquery
ajax

File Upload without Form

javascript
file-upload
formdata
fetch-api

Java current machine name and logged in user?

java
system-properties
exception-handling
cross-platform

In SQL, what's the difference between count(column) and count(*)?

sql
count
nulls
joins

How do I make a time delay?

python
time-delay
asyncio
selenium