Skip to content

Commit

Permalink
Update data files
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Dec 2, 2017
1 parent 769ad31 commit d5743a0
Show file tree
Hide file tree
Showing 16 changed files with 217 additions and 4 deletions.
23 changes: 23 additions & 0 deletions data/common/mix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# mix

> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.

- Execute a particular file:

`mix run {{my_script.exs}}`

- Create a new project:

`mix new {{project_name}}`

- Compile project:

`mix compile`

- Run project tests:

`mix test`

- List all mix commands:

`mix help`
8 changes: 8 additions & 0 deletions data/common/where
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# where

> Reports all known instances of a command.
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.

- Find all instances of a command:

`where {{command}}`
23 changes: 23 additions & 0 deletions data/linux/mix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# mix

> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.

- Execute a particular file:

`mix run {{my_script.exs}}`

- Create a new project:

`mix new {{project_name}}`

- Compile project:

`mix compile`

- Run project tests:

`mix test`

- List all mix commands:

`mix help`
19 changes: 19 additions & 0 deletions data/linux/qsub
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# qsub

> Submits a script to the queue management system TORQUE.

- Submit a script with default settings (depends on TORQUE settings):

`qsub {{script.sh}}`

- Submit a script with a specified wallclock runtime limit of 1 hour, 2 minutes and 3 seconds:

`qsub -l walltime={{1}}:{{2}}:{{3}} {{script.sh}}`

- Submit a script that is executed on 2 nodes using 4 cores per node:

`qsub -l nodes={{2}}:ppn={{4}} {{script.sh}}`

- Submit a script to a specific queue. Note that different queues can have different maximum and minimum runtime limits:

`qsub -q {{queue_name}} {{script.sh}}`
8 changes: 8 additions & 0 deletions data/linux/where
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# where

> Reports all known instances of a command.
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.

- Find all instances of a command:

`where {{command}}`
19 changes: 19 additions & 0 deletions data/linux/whereis
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# whereis

> Locate the binary, source, and manual page files for a command.

- Locate binary, source and man pages for ssh:

`whereis {{ssh}}`

- Locate binary and man pages for ls:

`whereis -bm {{ls}}`

- Locate source of gcc and man pages for git:

`whereis -s {{gcc}} -m {{git}}`

- Locate binaries for gcc in /usr/bin/ only:

`whereis -b -B {{/usr/bin/}} -f {{gcc}}`
23 changes: 23 additions & 0 deletions data/osx/mix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# mix

> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.

- Execute a particular file:

`mix run {{my_script.exs}}`

- Create a new project:

`mix new {{project_name}}`

- Compile project:

`mix compile`

- Run project tests:

`mix test`

- List all mix commands:

`mix help`
8 changes: 8 additions & 0 deletions data/osx/where
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# where

> Reports all known instances of a command.
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.

- Find all instances of a command:

`where {{command}}`
23 changes: 23 additions & 0 deletions data/sunos/mix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# mix

> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.

- Execute a particular file:

`mix run {{my_script.exs}}`

- Create a new project:

`mix new {{project_name}}`

- Compile project:

`mix compile`

- Run project tests:

`mix test`

- List all mix commands:

`mix help`
8 changes: 8 additions & 0 deletions data/sunos/where
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# where

> Reports all known instances of a command.
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.

- Find all instances of a command:

`where {{command}}`
23 changes: 23 additions & 0 deletions data/windows/mix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# mix

> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.

- Execute a particular file:

`mix run {{my_script.exs}}`

- Create a new project:

`mix new {{project_name}}`

- Compile project:

`mix compile`

- Run project tests:

`mix test`

- List all mix commands:

`mix help`
8 changes: 8 additions & 0 deletions data/windows/where
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# where

> Reports all known instances of a command.
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.

- Find all instances of a command:

`where {{command}}`
6 changes: 5 additions & 1 deletion data_darwin.go

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion data_linux.go

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion data_solaris.go

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion data_windows.go

Large diffs are not rendered by default.

0 comments on commit d5743a0

Please sign in to comment.