This file contains hidden or 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
| array[~i] gets the equivalent from the end | |
| so if i = 0, n[~i] is len(n) - 1 and so on. | |
| def loopbothways(n): | |
| i = 0 | |
| while i < len(n) // 2: | |
| print(n[i]) | |
| print(n[~i]) | |
| i += 1 |
This file contains hidden or 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
| edit reconciled.nf.config to change the new reports version | |
| ./.command.sh |
This file contains hidden or 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
| g++ hello.cpp -o hello | |
| ./hello |
This file contains hidden or 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
| hg pull | |
| hg rebase -d default | |
| hg resolve --mark filename | |
| hg rebase continue | |
| hg amend | |
| arc diff and then delete the diferential revision line |
This file contains hidden or 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
| DELETE from table WHERE CAST("index" AS INT) > 500; |
This file contains hidden or 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
| npx webpack-cli init |
This file contains hidden or 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
| export FLASK_APP=hello.py | |
| flask run | |
| flask run --host=0.0.0.0 |
This file contains hidden or 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
| aws s3 ls s3://hermes-test-ilmn --profile hermes_s3 --recursive | |
| aws s3 ls s3://hermes-test-ilmn --profile oelixir_s3 --recursive |
This file contains hidden or 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
| go run main.go | |
| go get github.com/ClaudiuCreanga/algorithms-in-go |
This file contains hidden or 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
| tmux new -s hermessession | |
| ctrb c | |
| ctrlb 0 | |
| ctrlb d to detach from a session | |
| tmux a -t hermessession |
NewerOlder