git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
| // Get a reference to the image element | |
| var elephant = document.getElementById("elephant"); | |
| // Take action when the image has loaded | |
| elephant.addEventListener("load", function () { | |
| var imgCanvas = document.createElement("canvas"), | |
| imgContext = imgCanvas.getContext("2d"); | |
| // Make sure canvas is as big as the picture | |
| imgCanvas.width = elephant.width; |
| /* | |
| The original files are 960x319. | |
| Image sizes to save: | |
| * 800x266 - Retina for 480x320 resolution (400 logical pixel wide panel areas) | |
| * 740x246 - Desktop and iPad | |
| * 616x205 - Retina for 320x480 resolution (308 logical pixel wide panel areas) | |
| * 400x133 - 480x320 resolution | |
| * 308x102 - 320x480 resolution |
| /* | |
| The original files are 960x319. | |
| Image sizes to save: | |
| * 800x266 - Retina for 480x320 resolution (400 logical pixel wide panel areas) | |
| * 740x246 - Desktop and iPad | |
| * 616x205 - Retina for 320x480 resolution (308 logical pixel wide panel areas) | |
| * 400x133 - 480x320 resolution | |
| * 308x102 - 320x480 resolution |