fb: mysql cheats
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
# Mercurial
|
# Mercurial
|
||||||
|
|
|
|
||||||
-|-
|
-|-
|
||||||
hg book <bookmark name> | temporary branch
|
hg book <bookmark name> | temporary branch
|
||||||
hg pull/hg rebase -d master | git pull --rebase
|
hg pull/hg rebase -d master | git pull --rebase
|
||||||
hg revert <file> | git co -f <file>
|
hg revert <file> | git co -f <file>
|
||||||
hg commit | git ci
|
hg commit | git ci
|
||||||
|
|
||||||
|
|
||||||
# Jelly Fish
|
# Jelly Fish
|
||||||
@@ -23,6 +23,12 @@ buck test @mode/dev-nosan local/path/... | run all tests
|
|||||||
# On deman DB
|
# On deman DB
|
||||||
|
|
|
|
||||||
-|-
|
-|-
|
||||||
ondemand devdb new | new dev DB
|
ondemand devdb new | new dev DB
|
||||||
ondemand devdb list | list dev DBs
|
ondemand devdb list | list dev DBs
|
||||||
ondemand devdb connect --name <name of the ephemeral xdb shard> | connect to dev DB
|
ondemand devdb connect --name <name of the ephemeral xdb shard> | connect to dev DB
|
||||||
|
|
||||||
|
# MySQL
|
||||||
|
SHOW DATABASES; |
|
||||||
|
-|-
|
||||||
|
SHOW DATABASES LIKE 'open%'; |
|
||||||
|
SHOW SCHEMAS; |
|
||||||
|
|||||||
Reference in New Issue
Block a user