Explain Codes LogoExplain Codes Logo

Best Articles — Page 331

How to change the button text of ``?

javascript
prompt-engineering
responsive-design
best-practices

Swap array elements in JavaScript

javascript
promises
callbacks
functions

Convert 2D float array to 2D int array in NumPy

python
numpy
dataframe
precision-control

Defining private module functions in python

python
best-practices
functions
encapsulation

Es6 modules in the browser: Uncaught SyntaxError: Unexpected token import

javascript
javascript-modules
es6-modules
import-syntax

Mockito verify order / sequence of method calls

java
mockito
testing-strategies
unit-testing

Sql Group By with an Order By

sql
group-by
order-by
sql-best-practices

How do I change the language of moment.js?

javascript
internationalization
moment-js
locale

Convert string with commas to array

javascript
split-method
string-manipulation
array-conversion

Python `if x is not None` or `if not x is None`?

python
best-practices
readability
performance

Jquery .html() vs .append()

javascript
prompt-engineering
best-practices
performance

How to turn IDENTITY_INSERT on and off using SQL Server 2008?

sql
sql-server
identity-insert
bulk-insert

Unable to drop and create database in SQL Server

sql
database-management
sql-server
best-practices

How do I get a value of datetime.today() in Python that is "timezone aware"?

python
datetime
timezone
utc

Java_home is set to an invalid directory:

java
java-8
environment-variables
jdk

How to get a path to a resource in a Java JAR file

java
prompt-engineering
best-practices
exception-handling

How to center content in a Bootstrap column?

html
responsive-design
css
flexbox

How to add custom method to Spring Data JPA

java
spring-data-jpa
custom-methods
repository-patterns

Equivalent of shell 'cd' command to change the working directory?

python
context-managers
directory-changes
subprocess

Gson - convert from Json to a typed ArrayList<T>

java
type-token
gson
deserialization