Skip to content

Commit d5743a0

Browse files
Update data files
1 parent 769ad31 commit d5743a0

File tree

16 files changed

+217
-4
lines changed

16 files changed

+217
-4
lines changed

data/common/mix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# mix
2+
3+
> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
4+
5+
- Execute a particular file:
6+
7+
`mix run {{my_script.exs}}`
8+
9+
- Create a new project:
10+
11+
`mix new {{project_name}}`
12+
13+
- Compile project:
14+
15+
`mix compile`
16+
17+
- Run project tests:
18+
19+
`mix test`
20+
21+
- List all mix commands:
22+
23+
`mix help`

data/common/where

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# where
2+
3+
> Reports all known instances of a command.
4+
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.
5+
6+
- Find all instances of a command:
7+
8+
`where {{command}}`

data/linux/mix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# mix
2+
3+
> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
4+
5+
- Execute a particular file:
6+
7+
`mix run {{my_script.exs}}`
8+
9+
- Create a new project:
10+
11+
`mix new {{project_name}}`
12+
13+
- Compile project:
14+
15+
`mix compile`
16+
17+
- Run project tests:
18+
19+
`mix test`
20+
21+
- List all mix commands:
22+
23+
`mix help`

data/linux/qsub

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# qsub
2+
3+
> Submits a script to the queue management system TORQUE.
4+
5+
- Submit a script with default settings (depends on TORQUE settings):
6+
7+
`qsub {{script.sh}}`
8+
9+
- Submit a script with a specified wallclock runtime limit of 1 hour, 2 minutes and 3 seconds:
10+
11+
`qsub -l walltime={{1}}:{{2}}:{{3}} {{script.sh}}`
12+
13+
- Submit a script that is executed on 2 nodes using 4 cores per node:
14+
15+
`qsub -l nodes={{2}}:ppn={{4}} {{script.sh}}`
16+
17+
- Submit a script to a specific queue. Note that different queues can have different maximum and minimum runtime limits:
18+
19+
`qsub -q {{queue_name}} {{script.sh}}`

data/linux/where

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# where
2+
3+
> Reports all known instances of a command.
4+
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.
5+
6+
- Find all instances of a command:
7+
8+
`where {{command}}`

data/linux/whereis

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# whereis
2+
3+
> Locate the binary, source, and manual page files for a command.
4+
5+
- Locate binary, source and man pages for ssh:
6+
7+
`whereis {{ssh}}`
8+
9+
- Locate binary and man pages for ls:
10+
11+
`whereis -bm {{ls}}`
12+
13+
- Locate source of gcc and man pages for git:
14+
15+
`whereis -s {{gcc}} -m {{git}}`
16+
17+
- Locate binaries for gcc in /usr/bin/ only:
18+
19+
`whereis -b -B {{/usr/bin/}} -f {{gcc}}`

data/osx/mix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# mix
2+
3+
> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
4+
5+
- Execute a particular file:
6+
7+
`mix run {{my_script.exs}}`
8+
9+
- Create a new project:
10+
11+
`mix new {{project_name}}`
12+
13+
- Compile project:
14+
15+
`mix compile`
16+
17+
- Run project tests:
18+
19+
`mix test`
20+
21+
- List all mix commands:
22+
23+
`mix help`

data/osx/where

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# where
2+
3+
> Reports all known instances of a command.
4+
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.
5+
6+
- Find all instances of a command:
7+
8+
`where {{command}}`

data/sunos/mix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# mix
2+
3+
> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
4+
5+
- Execute a particular file:
6+
7+
`mix run {{my_script.exs}}`
8+
9+
- Create a new project:
10+
11+
`mix new {{project_name}}`
12+
13+
- Compile project:
14+
15+
`mix compile`
16+
17+
- Run project tests:
18+
19+
`mix test`
20+
21+
- List all mix commands:
22+
23+
`mix help`

data/sunos/where

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# where
2+
3+
> Reports all known instances of a command.
4+
> It could be an executable in the PATH environment variable, an alias, or a shell builtin.
5+
6+
- Find all instances of a command:
7+
8+
`where {{command}}`

0 commit comments

Comments
 (0)