git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| /** | |
| * 1. Original JS Implementation by Jeff Greenberg 2/2001 - http://home.earthlink.net/~kendrasg/info/js_opt/ | |
| * 2. (fast duff's device) from an anonymous donor to Jeff Greenberg's site | |
| * 3. (faster duff's defice) by Andrew King 8/2002 for WebSiteOptimization.com | |
| * 4. bug fix (for iterations<8) by Andrew B. King April 12, 2003 | |
| */ | |
| function duffsDevice (iterations) { | |
| var testVal = 0, | |
| n = iterations % 8; |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
| var iterations = Math.floor(values.length / 8); | |
| var leftover = values.length % 8; | |
| var i = 0; | |
| if ( leftover > 0 ) | |
| { | |
| do { | |
| process( values[i++] ); | |
| } while ( --leftover > 0 ); | |
| } | |
| do { |