This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render() { | |
var content = [ | |
"content 1", "content 2", "content 3", "content 4", "content 5", | |
"content 6", "content 7", "content 8", "content 9", "content 10" | |
]; | |
var groupSize = 3; | |
var rows = content.map(function(content) { | |
// map content to html elements | |
return <div className="col-md-4">{content}</div>; | |
}).reduce(function(r, element, index) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
admin > connections > + | |
conn_type = s3 | |
conn_name = local_minio | |
Extra: a JSON object with the following properties: | |
{ | |
"aws_access_key_id":"your_minio_access_key", | |
"aws_secret_access_key": "your_minio_secret_key", | |
"host": "http://127.0.0.1:9000" |