-
Set up the repository : PUBLIC & initialize the repository with a readme file
-
Clone it and navigate to the repository folder
$ git clone https://github.com/user/repository
$ cd repository/
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParentCreate a new repository, or reuse an existing one.
Generate a new SSH key:
ssh-keygen -t rsa -C "your_email@example.com"
Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings (https://github.com/settings/keys).
Test SSH key:
| <script> | |
| console.log("--- HARP Debugger --"); | |
| console.log(<%- JSON.stringify(inspect) %>); | |
| // Just check your console in chrome to see and inspect the variable. | |
| </script> |
| function transfer | |
| if test (count $argv) -eq 0 | |
| echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
| return 1 | |
| end | |
| ## get temporarily filename, output is written to this file show progress can be showed | |
| set tmpfile ( mktemp -t transferXXX ) | |
| ## upload stdin or file |
| function captureImage(fileName, document, clipRect) { | |
| var fileOutput = new File("/tmp/exportpng/" + fileName); | |
| var imageCaptureOptions = new ImageCaptureOptions(); | |
| imageCaptureOptions.resolution = 300; | |
| imageCaptureOptions.transparency = true; | |
| document.imageCapture(fileOutput, clipRect, imageCaptureOptions); | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.