mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 16:26:04 +02:00
mass change: apply snake case to tokens (#2518)
This commit is contained in:
parent
9a9265c672
commit
18370557b2
11 changed files with 20 additions and 20 deletions
|
@ -17,12 +17,12 @@
|
|||
|
||||
- Execute a command on a group of hosts by invoking command module with arguments:
|
||||
|
||||
`ansible {{group}} -m command -a '{{my command}}'`
|
||||
`ansible {{group}} -m command -a '{{my_command}}'`
|
||||
|
||||
- Execute a command with administrative privileges:
|
||||
|
||||
`ansible {{group}} --become --ask-become-pass -m command -a '{{my command}}'`
|
||||
`ansible {{group}} --become --ask-become-pass -m command -a '{{my_command}}'`
|
||||
|
||||
- Execute a command using a custom inventory file:
|
||||
|
||||
`ansible {{group}} -i {{inventory_file}} -m command -a '{{my command}}'`
|
||||
`ansible {{group}} -i {{inventory_file}} -m command -a '{{my_command}}'`
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
- Create an entry:
|
||||
|
||||
`arp -s {{address}} {{mac address}}`
|
||||
`arp -s {{address}} {{mac_address}}`
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- Create local alias for director:
|
||||
|
||||
`bosh alias-env {{environment-name}} -e {{ip address or url}} --ca-cert {{ca_certificate}}`
|
||||
`bosh alias-env {{environment_name}} -e {{ip_address|url}} --ca-cert {{ca_certificate}}`
|
||||
|
||||
- List environments:
|
||||
|
||||
|
@ -24,11 +24,11 @@
|
|||
|
||||
- Ssh into virtual machine:
|
||||
|
||||
`bosh -e {{environment}} ssh {{virtual machine}} -d {{deployment}}`
|
||||
`bosh -e {{environment}} ssh {{virtual_machine}} -d {{deployment}}`
|
||||
|
||||
- Upload stemcell:
|
||||
|
||||
`bosh -e {{environment}} upload-stemcell {{stemcell file or url}}`
|
||||
`bosh -e {{environment}} upload-stemcell {{stemcell_file|url}}`
|
||||
|
||||
- Show current cloud config:
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- Add a package as a dependency for this project, adding it to `composer.json`:
|
||||
|
||||
`composer require {{user/package-name}}`
|
||||
`composer require {{user/package_name}}`
|
||||
|
||||
- Install all the dependencies in this project's `composer.json`:
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
- Uninstall a package from this project, removing it as a dependency from `composer.json`:
|
||||
|
||||
`composer remove {{user/package-name}}`
|
||||
`composer remove {{user/package_name}}`
|
||||
|
||||
- Update all the dependencies in this project's `composer.json`:
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- Create a cordova project:
|
||||
|
||||
`cordova create {{path}} {{package.name}} {{project.name}}`
|
||||
`cordova create {{path}} {{package_name}} {{project_name}}`
|
||||
|
||||
- Display the current workspace status:
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
- List available tests, filtered by a given search pattern:
|
||||
|
||||
`cppcheck --errorlist | grep "{{search pattern}}"`
|
||||
`cppcheck --errorlist | grep "{{search_pattern}}"`
|
||||
|
||||
- Check a given file, ignoring specific tests:
|
||||
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
- Change the password of the current user:
|
||||
|
||||
`passwd {{new password}}`
|
||||
`passwd {{new_password}}`
|
||||
|
||||
- Change the password of the specified user:
|
||||
|
||||
`passwd {{username}} {{new password}}`
|
||||
`passwd {{username}} {{new_password}}`
|
||||
|
||||
- Get the current status of the user:
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
- Authenticate the CLI client against the Vault server, using an authentication token:
|
||||
|
||||
`vault auth {{authentication-token}}`
|
||||
`vault auth {{authentication_token}}`
|
||||
|
||||
- Store a new secret in the vault, using the generic back-end called "secret":
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
- Add a remote source:
|
||||
|
||||
`flatpak remote-add --if-not-exists {{remote-name}} {{remote-url}}`
|
||||
`flatpak remote-add --if-not-exists {{remote_name}} {{remote_url}}`
|
||||
|
||||
- List all configured remote sources:
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
- Trace a process and filter output by system call:
|
||||
|
||||
`strace -p {{pid}} -e {{system call name}}`
|
||||
`strace -p {{pid}} -e {{system_call_name}}`
|
||||
|
||||
- Count time, calls, and errors for each system call and report a summary on program exit:
|
||||
|
||||
|
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
- Set Wacom area to specific screen. Get name of the screen with `xrandr`:
|
||||
|
||||
`xsetwacom set "{{device name}}" MapToOutput {{screen}}`
|
||||
`xsetwacom set "{{device_name}}" MapToOutput {{screen}}`
|
||||
|
||||
- Set mode to relative (like a mouse) or absolute (like a pen) mode:
|
||||
|
||||
`xsetwacom set "{{device name}}" Mode "{{Relative|Absolute}}"`
|
||||
`xsetwacom set "{{device_name}}" Mode "{{Relative|Absolute}}"`
|
||||
|
||||
- Rotate the input (useful for tablet-PC when rotating screen) by 0|90|180|270 degrees from "natural" rotation:
|
||||
|
||||
`xsetwacom set "{{device name}}" Rotate {{none|half|cw|ccw}}`
|
||||
`xsetwacom set "{{device_name}}" Rotate {{none|half|cw|ccw}}`
|
||||
|
||||
- Set button to only work when the tip of the pen is touching the tablet:
|
||||
|
||||
`xsetwacom set "{{device name}}" TabletPCButton "on"`
|
||||
`xsetwacom set "{{device_name}}" TabletPCButton "on"`
|
||||
|
|
Loading…
Add table
Reference in a new issue