Update cheatsheets

This commit is contained in:
ivuorinen
2024-03-23 00:13:03 +00:00
parent 9f343b3402
commit ae71584b37
4 changed files with 4 additions and 4 deletions

View File

@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Show at most 100 changes in all branches:
` gitk --max-count={{100}} --all`
`gitk --max-count=100 --all`

View File

@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Generate client codes when a project is not in `$GOPATH`:
` kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}`
`kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}`
- Generate client codes with protobuf IDL:

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Copy files changed within the past 24 hours to a remote from the local machine, asking the user to confirm each file:
`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}} `
`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}}`
- Mirror a specific file or directory (Note: Unlike copy, sync removes files from the remote if it does not exist locally):

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Create a Python virtual environment:
` python -m venv {{path/to/virtual_environment}}`
`python -m venv {{path/to/virtual_environment}}`
- Activate the virtual environment (Linux and macOS):