MySQL Cheat Sheet - Quick Reference Guide
A concise MySQL cheat sheet providing a quick reference guide for common MySQL commands, database and table operations, data manipulation, and more.
Strings functions in Golang
List of Golang string functions tested example and short description.
The strings
package provides many useful string-related functions.
How to split a string into slice in Golang
How to split a string into slice using Golang. For a simple split by a singular character you can use Split()
method from strings
package. For more complex rules the regexp.Split()
method can be used.
How to split a string in Java
How to split a string in Java using both variants of the split() method: split(String regex)
and split(String regex, int limit)
.
How to export and import a .sql file in MySQL from command line
How to export and import a .sql file in MySQL from command line. Simple commands with multiple parameters.
How to generate tables from entities using EclipseLink
How to generate entities from tables using EclipseLink. Simple example using one-to-one database relationship. @MappedSuperclass example included