Explain Codes LogoExplain Codes Logo

Best Articles — Page 358

Group by date only on a Datetime column

sql
group-by
date-filtering
performance

Open URL in same window and in same tab

javascript
url-redirection
window-open
location-replace

How to line-break from CSS, without using <br />?

html
line-breaks
css-properties
responsive-design

What is "X-Content-Type-Options=nosniff"?

html
security
content-type
nosniff

How to use jQuery to select a dropdown option?

javascript
jquery
dropdown
event-simulation

Pretty-print JSON in Java

java
pretty-printing
json
gson

`meta charset="utf-8"` vs `meta http-equiv="Content-Type"`

html
character-encoding
utf-8
best-practices

How can I make a div not larger than its contents?

html
css
layout
responsive-design

Css: Control space between bullet and <li>

html
css
bullets
browser-compatibility

Using two values for one switch case statement

java
switch-case
string-objects
java-se-7

Print the contents of a DIV

javascript
print
dynamic-content
cross-browser

Mysql :: insert into table, data from another table?

sql
insert
data-migration
performance

What is a cross-platform way to get the home directory?

python
pathlib
file-operations
cross-platform

Avoid dropdown menu close on click inside

html
dropdown
bootstrap
event-handling

Href image link download on click

javascript
download
server-side
browser-compatibility

Class (static) variables and methods

python
class-variables
instance-attributes
descriptor-protocol

Measure execution time for a Java method

java
execution-time
profiling
performance

How do you round UP a number?

python
math
rounding
numpy

How to create a dictionary and add key value pairs dynamically in JavaScript

javascript
dictionary
dynamic-keys
object-methods

Java URL encoding of query string parameters

java
url-encoding
best-practices
character-sets