Explain Codes LogoExplain Codes Logo

Best Articles — Page 87

How to create a directory in Java?

java
directory-creation
exception-handling
nio

Can I catch multiple Java exceptions in the same catch clause?

java
multi-catch
exception-handling
code-organization

How can I create unique IDs with JavaScript?

javascript
unique-ids
dom-manipulation
event-driven

Error Code: 2013. Lost connection to MySQL server during query

sql
mysql
performance
timeout

Postgres manually alter sequence

sql
sequences
setval
database-performance

Initializing a Guava ImmutableMap

java
immutablemap
builder
performance

How to Right-align flex item?

html
flexbox
alignment
css-grid

How to check Django version

python
django
version-check
virtual-environment

Stop an input field in a form from being submitted

javascript
form-handling
user-experience
dynamic-inputs

How can I make a Python script standalone executable to run without ANY dependency?

python
packaging
pyinstaller
cross-platform

Html Input="file" Accept Attribute File Type (CSV)

html
file-upload
browser-compatibility
user-experience

New Line Issue when copying data from SQL Server 2012 to Excel

sql
new-line
excel
ssms

How to convert byte array to string and vice versa?

java
byte-array
string-conversion
utf-8

Importing files from different folder

python
sys-path
absolute-imports
best-practices

How do I query between two dates using MySQL?

sql
date-queries
date-format
string-to-date

Bootstrap 3 Flush footer to bottom, not fixed

html
footer
flexbox
css

Why is reading lines from stdin much slower in C++ than Python?

career
performance
buffering
profiling

How do I remove all HTML tags from a string without knowing which tags are in it?

html
html-parsing
regex
string-manipulation

How to create an object property from a variable value in JavaScript?

javascript
object-properties
es6
bracket-notation

Should a retrieval method return `null` or throw an exception when it can't produce the return value?

java
null-checks
error-handling
optional