-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17e3b55
commit 32642d0
Showing
227 changed files
with
4,585 additions
and
137 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# babel | ||
|
||
> A transpiler which converts code from JavaScript ES6/ES7 syntax to ES5 syntax. | ||
|
||
- Transpile a specified input file and output to stdout: | ||
|
||
`babel {{path/to/file}}` | ||
|
||
- Transpile a specified input file and output to a specific file: | ||
|
||
`babel {{path/to/input_file}} --out-file {{path/to/output_file}}` | ||
|
||
- Transpile the input file every time it is changed: | ||
|
||
`babel {{path/to/input_file}} --watch` | ||
|
||
- Transpile a whole directory of files: | ||
|
||
`babel {{path/to/input_directory}}` | ||
|
||
- Ignore specified comma-separated files in a directory: | ||
|
||
`babel {{path/to/input_directory}} --ignore {{ignored_files}}` | ||
|
||
- Transpile and output as minified JavaScript: | ||
|
||
`babel {{path/to/input_file}} --minified` | ||
|
||
- Choose a set of presets for output formatting: | ||
|
||
`babel {{path/to/input_file}} --presets {{presets}}` | ||
|
||
- Output all available options: | ||
|
||
`babel --help` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# beanstalkd | ||
|
||
> A simple and generic work-queue server. | ||
|
||
- Start beanstalkd, listening on port 11300: | ||
|
||
`beanstalkd` | ||
|
||
- Start beanstalkd listening on a custom port and address: | ||
|
||
`beanstalkd -l {{ip_address}} -p {{port_number}}` | ||
|
||
- Persist work queues by saving them to disk: | ||
|
||
`beanstalkd -b {{path/to/persistence_directory}}` | ||
|
||
- Sync to the persistence directory every 500 milliseconds: | ||
|
||
`beanstalkd -b {{path/to/persistence_directory}} -f {{500}}` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# box | ||
|
||
> A PHP application for building and managing Phars. | ||
|
||
- Build a new Phar file: | ||
|
||
`box build` | ||
|
||
- Build a new Phar file using a specific config file: | ||
|
||
`box build -c {{path/to/config}}` | ||
|
||
- Display information about the PHAR PHP extension: | ||
|
||
`box info` | ||
|
||
- Display information about a specific Phar file: | ||
|
||
`box info {{path/to/phar_file}}` | ||
|
||
- Validate the first found config file in the working directory: | ||
|
||
`box validate` | ||
|
||
- Verify the signature of a specific Phar file: | ||
|
||
`box verify {{path/to/phar_file}}` | ||
|
||
- Display all available commands and options: | ||
|
||
`box help` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# case | ||
|
||
> Branch based on the value of an expression. | ||
|
||
- Match a variable against string literals to decide which command to run: | ||
|
||
`case {{$tocount}} in {{words}}) {{wc -w README}}; ;; {{lines}}) {{wc -l README}}; ;; esac` | ||
|
||
- Combine patterns with |, use * as a fallback pattern: | ||
|
||
`case {{$tocount}} in {{[wW]|words}}) {{wc -w README}}; ;; {{[lL]|lines}}) {{wc -l README}}; ;; *) {{echo "what?"}}; ;; esac` |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# forever | ||
|
||
> Server-side JavaScript application that makes sure Node.js applications run indefinitely (restarts after exit). | ||
|
||
- Start running a file forever (as a daemon): | ||
|
||
`forever {{script}}` | ||
|
||
- List running "forever" processes (along with IDs and other details of "forever" processes): | ||
|
||
`forever list` | ||
|
||
- Stop a running "forever" process: | ||
|
||
`forever stop {{ID|pid|script}}` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# git sizer | ||
|
||
> Computes various Git repository size metrics and alerts you to any that might cause problems or inconvenience. | ||
|
||
- Report only statistics that have a level of concern greater than 0: | ||
|
||
`git sizer` | ||
|
||
- Report all statistics: | ||
|
||
`git sizer -v` | ||
|
||
- See additional options: | ||
|
||
`git sizer -h` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# gitk | ||
|
||
> A graphical git repository browser. | ||
|
||
- Show the repository browser for the current git repository: | ||
|
||
`gitk` | ||
|
||
- Show repository browser for a specific file or folder: | ||
|
||
`gitk {{path/to/file_or_folder}}` | ||
|
||
- Show commits made since 1 week ago: | ||
|
||
`gitk --since={{"1 week ago"}}` | ||
|
||
- Show commits older than 1/1/2016: | ||
|
||
`gitk --until={{"1/1/2015"}}` | ||
|
||
- Show at most 100 changes in all branches: | ||
|
||
` gitk --max-count={{100}} --all` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# grunt | ||
|
||
> A JavaScript task runner for automating processes. | ||
|
||
- Run the default task process: | ||
|
||
`grunt` | ||
|
||
- Run one or more specific space-separated task(s): | ||
|
||
`grunt {{task_name}}` | ||
|
||
- Specify an alternative configuration file: | ||
|
||
`grunt --gruntfile {{path/to/file}}` | ||
|
||
- Specify an alternative base path for relative files: | ||
|
||
`grunt --base {{path/to/directory}}` | ||
|
||
- Specify an additional directory to scan for tasks in: | ||
|
||
`grunt --tasks {{path/to/directory}}` | ||
|
||
- Perform a dry-run without writing any files: | ||
|
||
`grunt --no-write` | ||
|
||
- List all available options: | ||
|
||
`grunt --help` |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# imapsync | ||
|
||
> Email IMAP tool for syncing, copying and migrating email mailboxes between two imap servers, one way, and without duplicates. | ||
|
||
- Synchronize imap account between host1 and host2: | ||
|
||
`imapsync --host1 {{host1}} --user1 {{user1}} --password1 {{secret1}} --host2 {{host2}} --user2 {{user2}} --password2 {{secret2}}` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# iperf3 | ||
|
||
> Traffic generator for testing network bandwidth. | ||
|
||
- Run iperf3 as a server: | ||
|
||
`iperf3 -s` | ||
|
||
- Run an iperf3 server on a specific port: | ||
|
||
`iperf3 -s -p{{port}}` | ||
|
||
- Start bandwidth test: | ||
|
||
`iperf3 -c{{server}}` | ||
|
||
- Run iperf3 in multiple parallel streams: | ||
|
||
`iperf3 -c{{server}} -P{{streams}}` | ||
|
||
- Reverse direction of the test. Server sends data to the client: | ||
|
||
`iperf3 -c{{server}} -R` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# json5 | ||
|
||
> A command-line tool for converting JSON5 files to JSON. | ||
|
||
- Convert JSON5 stdin to JSON stdout: | ||
|
||
`echo {{input}} | json5` | ||
|
||
- Convert a JSON5 file to JSON and output to stdout: | ||
|
||
`json5 {{path/to/input_file.json5}}` | ||
|
||
- Convert a JSON5 file to the specified JSON file: | ||
|
||
`json5 {{path/to/input_file.json5}} --out-file {{path/to/output_file.json}}` | ||
|
||
- Validate a JSON5 file: | ||
|
||
`json5 {{path/to/input_file.json5}} --validate` | ||
|
||
- Specify the number of spaces to indent by (or "t" for tabs): | ||
|
||
`json5 --space {{indent_amount}}` | ||
|
||
- View available options: | ||
|
||
`json5 --help` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# kak | ||
|
||
> Kakoune is a mode-based code editor implementing the "multiple selections" paradigm. | ||
> Data can be selected and simultaneously edited in different locations, using multiple selections; users can also connect to the same session for collaborative editing. | ||
|
||
- Open a file and enter normal mode, to execute commands: | ||
|
||
`kak {{path/to/file}}` | ||
|
||
- Enter insert mode from normal mode, to write text into the file: | ||
|
||
`i` | ||
|
||
- Escape insert mode, to go back to normal mode: | ||
|
||
`<Escape>` | ||
|
||
- Replace all instances of "foo" in the current file with "bar": | ||
|
||
`%s{{foo}}<Enter>c{{bar}}<Escape>` | ||
|
||
- Un-select all secondary selections, and keep only the main one: | ||
|
||
`<Space>` | ||
|
||
- Search for numbers and select the first two: | ||
|
||
`/\d+<Enter>N` | ||
|
||
- Insert the contents of a file: | ||
|
||
`!cat {{path/to/file}}<Enter>` | ||
|
||
- Save the current file: | ||
|
||
`:w<Enter>` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# laravel | ||
|
||
> A command line installer for the Laravel framework. | ||
|
||
- Create a new Laravel application: | ||
|
||
`laravel new {{name}}` | ||
|
||
- Use the latest development release: | ||
|
||
`laravel new {{name}} --dev` | ||
|
||
- Overwrite if the directory already exists: | ||
|
||
`laravel new {{name}} --force` | ||
|
||
- List the available installer commands: | ||
|
||
`laravel list` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# lebab | ||
|
||
> A JavaScript modernizer for transpiling code to ES6/ES7. | ||
> Transformations must be provided for all examples. | ||
|
||
- Display a list of the available transformations: | ||
|
||
`lebab --help` | ||
|
||
- Transpile using one or more comma-separated transformations: | ||
|
||
`lebab --transform {{transformation}}` | ||
|
||
- Transpile a file to stdout: | ||
|
||
`lebab {{path/to/input_file}}` | ||
|
||
- Transpile a file to the specified output file: | ||
|
||
`lebab {{path/to/input_file}} --out-file {{path/to/output_file}}` | ||
|
||
- Replace all `.js` files in-place in the specified directory, glob or file: | ||
|
||
`lebab --replace {{directory|glob|file}}` |
Oops, something went wrong.