Explain Codes LogoExplain Codes Logo

Best Articles — Page 239

Truncate (not round) decimal places in SQL Server

sql
truncation
round
best-practices

Switch Statement for Multiple Cases in JavaScript

javascript
switch-statement
higher-order-functions
best-practices

How can I vertically align elements in a div?

html
flexbox
grid
vertical-alignment

How to return only the Date from a SQL Server DateTime datatype

sql
date-formatting
performance
null-handling

Scrollintoview Scrolls just too far

javascript
scrolling
css-properties
smooth-scroll

Using Python's os.path, how do I go up one directory?

python
path-manipulation
cross-platform
reusable-functions

Testing HTML email rendering

html
email-rendering
responsive-design
email-testing

How do I make a delay in Java?

java
scheduledexecutorservice
lambda
thread-sleep

How to display pandas DataFrame of floats using a format string for columns?

python
pandas
dataframe
formatting

What is the most efficient/elegant way to parse a flat table into a tree?

sql
recursive-queries
closure-tables
path-enumeration

Postgresql - query from bash script as database user 'postgres'

sql
bash-scripting
dynamic-sql
error-handling

How to randomize two ArrayLists in the same fashion?

java
randomization
data-integrity
fisher-yates

What does functools.wraps do?

python
decorators
functools
debugging

Creation timestamp and last update timestamp with Hibernate and MySQL

java
localdatetime
hibernate
timestamps

Centering the pagination in bootstrap

html
bootstrap
responsive-design
pagination

Creating a new dictionary in Python

python
dictionaries
comprehensions
defaultdict

What is the difference between HAVING and WHERE in SQL?

sql
having
where
query-optimization

Copy array by value

javascript
array-cloning
shallow-copy
deep-copy

What does 'synchronized' mean?

java
synchronized
thread-safety
java-memory-model

Jquery form serialize - empty string

html
form-serialization
input-validation
javascript-errors