Any GitHub wiki can be cloned by appending wiki.git
to the repo url, so the clone url for
the repo https://myorg/myrepo/
is: git@github.com:myorg/myrepo.wiki.git
(for ssh) or https://github.com/my/myrepo.wiki.git
(for https).
You make edits, and commit and push your changes, like any normal repo. This wiki repo
is distinct from any clone of the project repo (the repo without wiki.get
appended).
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
Snake is a fun game to make as it doesn't require a lot of code (less than 100 lines with all comments removed). This is a basic implementation of the snake game, but it's missing a few things intentionally and they're left as further exploration for the reader.
- Score
- When the snake eats an apple, the score should increase by one. Use context.fillText() to display the score to the screen
Import-Module PSReadLine | |
Set-Alias git hub | |
Set-PSReadLineOption -BellStyle None | |
Import-Module posh-git | |
Set-Location C:\users\<username> | |
# Dracula readline configuration. Requires version 2.0, if you have 1.2 convert to `Set-PSReadlineOption -TokenType` | |
Set-PSReadLineOption -TokenKind Command -ForegroundColor Green | |
Set-PSReadLineOption -TokenKind Parameter -ForegroundColor Gray | |
Set-PSReadLineOption -TokenKind Operator -ForegroundColor Magenta | |
Set-PSReadLineOption -TokenKind Variable -ForegroundColor White |
7-Zip and unzipping from command line
e (Extract) command
x (Extract with full paths) command
-o (set Output directory) switch
7-zip can be used in powershell for extracting .zip file. To call 7-zip simply use:
> 7z