-
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
769ad31
commit d5743a0
Showing
16 changed files
with
217 additions
and
4 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
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` |
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,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}}` |
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 @@ | ||
# 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` |
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 @@ | ||
# 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}}` |
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,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}}` |
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 @@ | ||
# 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}}` |
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 @@ | ||
# 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` |
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,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}}` |
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 @@ | ||
# 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` |
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,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}}` |
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 @@ | ||
# 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` |
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,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}}` |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.