Explain Codes LogoExplain Codes Logo

Best Articles — Page 196

Check if a variable is a string in JavaScript

javascript
string-validation
best-practices
unit-testing

How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?

html
wget
downloads
bookmarklets

How to convert a LocalDate to an Instant?

java
localdate
instant
timezone

In Postgres, how do you restrict possible values for a particular column?

sql
check-constraints
enum-types
triggers

Is there an elegant way to Invert a Bit value in an SQL insert Statement?

sql
bit-inversion
null-handling
performance

Find full path of the Python interpreter?

python
sys-executable
virtual-environments
pathfinding

Running Bash commands in Python

python
subprocess
bash-commands
best-practices

How can I get the current stack trace in Java?

java
stack-trace
debugging
best-practices

Responsively change div size keeping aspect ratio

html
responsive-design
css
aspect-ratio

What is memoization and how can I use it in Python?

python
memoization
caching
functools

How to convert / cast long to String?

java
string-conversion
long-literals
number-format-exception

How to comment out a block of Python code in Vim

python
vim
commenting
efficiency

Get table column names in MySQL?

sql
column-names
wildcards
php

How do I convert from BLOB to TEXT in MySQL?

sql
blob
conversion
mysql-workbench

Oracle SQL - Date greater than statement

sql
date-format
nls-date-language
add-months

How do I speed up the gwt compiler?

java
gwt
compiler-optimization
best-practices

Mysql number of items within "in clause"

sql
in-clause
performance
optimization

Fastest way to check if a value exists in a list

python
performance
binary-search
sets

How to auto-scroll to end of div when data is added?

javascript
auto-scroll
ajax
performance

How to Simulate a Click with JavaScript?

javascript
click
event-delegation
custom-events