https://hub.docker.com/_/mysql/
- Dump using
mysqlpump
.
$ mysqlpump -h your.host.db.com -u user_name -p --skip-definer --set-gtid-purged=OFF database_name > my_dump_file.sql
https://hub.docker.com/_/mysql/
mysqlpump
.$ mysqlpump -h your.host.db.com -u user_name -p --skip-definer --set-gtid-purged=OFF database_name > my_dump_file.sql
npx strapi console
command function changePassword(useremail, password) {
strapi.admin.services.user.findOne({ email: useremail })
.then((u) => {
if (u) {
#!/bin/bash | |
############################################################ | |
# Help # | |
############################################################ | |
Help() | |
{ | |
# Display Help | |
echo "Add description of the script functions here." | |
echo | |
echo "Syntax: scriptTemplate [-g|h|v|V]" |
I hereby claim:
To claim this, I am signing this object:
This document aims to define some structural guidelines to be used when designing REST API design.
camelCase
in URI sectionscontent-type
header.http://api.company-xyz.com/clients
instead http://api.company-xyz.com/client
HTTP GET - http://api.company-xyz.com/getAgent/:agentId
instead use something like HTTP GET - http://api.company-xyz.com/agents/:agentId
./houses?city=San%20Francisco&page=2&size=30&order=desc
This guide considers only Javacript/Typescript projects, since the main library used on it detects dead code in this language.
There is a lib that provide this functionality and some recommended configs for it. The lib searches for code that is exported and not imported in other files and list them. It is also easy to ignore some directories and/or files that are ok to contain dead code.