Explain Codes LogoExplain Codes Logo

Best Articles — Page 115

Testing Private method using mockito

java
test-engineering
mockito
reflection

Css/html: Create a Glowing Border Around an Input Field

html
responsive-design
css
best-practices

"mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

web-development
mixed-content
https-implementation
security-best-practices

Passing data to a bootstrap modal

javascript
prompt-engineering
event-listeners
modal-dialog

Lodash remove duplicates from an array

javascript
lodash
array
performance

How to include multiple js files using jQuery $.getScript() method

javascript
promises
callbacks
functions

Syntax for creating a two-dimensional array in Java

java
2d-arrays
array-initialization
java-best-practices

Detect when an HTML5 video finishes

html
video-playback
event-handling
video-attributes

What is the best way to initialize a JavaScript Date to midnight?

javascript
date-manipulation
javascript-best-practices
performance-optimization

How to make div fixed after you scroll to that div?

javascript
css-positioning
sticky-elements
intersection-observer-api

Get The Current Domain Name With Javascript (Not the path, etc.)

javascript
prompt-engineering
url-properties
regex-patterns

How to insert spaces/tabs in text using HTML/CSS

html
html-entities
css-whitespace
custom-spacing

How to use underscore.js as a template engine?

javascript
template-engineering
javascript-templates
template-settings

Generating a PNG with matplotlib when DISPLAY is undefined

python
matplotlib
backend
testing

Why do I get "A cursor with the name already exists"?

sql
cursor-management
sql-server
best-practices

Add hover text without javascript like we hover on a user's reputation

html
responsive-design
css
html-semantics

How to create a custom exception type in Java?

java
exception-handling
best-practices
custom-exceptions

Difference between toLocaleLowerCase() and toLowerCase()

javascript
case-conversion
locale-sensitive
javascript-methods

Do browsers send "\r\n" or "\n" or does it depend on the browser?

web-development
newline-normalization
cross-browser-compatibility
text-processing

What does a transaction around a single statement do?

sql
transactional-consistency
performance-overhead
data-integrity