On Mac:
brew install git # homebrew
sudo port install git-core +bash_completion+credential_osxkeychain # Macports
On other *NIX:
| body { | |
| background: #1a1a1a; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| header { | |
| padding: 12px 6px 12px 10px; | |
| margin: 24px 10px 0 18px ; | |
| width: 100%; |
| body { | |
| background: #1a1a1a; | |
| margin: 0; | |
| padding: 0; | |
| color: #EEE; | |
| } | |
| header { | |
| width: 100%; | |
| } |
| body { | |
| background: #1a1a1a; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| header { | |
| padding: 12px 6px 12px 10px; | |
| margin: 24px 10px 0 18px ; | |
| width: 100%; |
| /** | |
| * Shadows without images like a css3 freak | |
| */ | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| background: #EEE; | |
| color: #222; | |
| font-family: Verdana; | |
| } |
| /** | |
| * Shadows without images like a css3 freak | |
| */ | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| background: #EEE; | |
| color: #222; | |
| font-family: Verdana; | |
| } |
| @-webkit-keyframes swinging { | |
| from { | |
| -webkit-transform: rotate(-12deg); | |
| } | |
| to { | |
| -webkit-transform: rotate(32deg); | |
| } | |
| } | |
| @-moz-keyframes swinging { |
| /** | |
| * Fixes the rotation | |
| * of an image | |
| * (with Imagick) | |
| */ | |
| function autoImageRotate($img) { | |
| if(!$img) { | |
| return false; |
Original Blog Post about this topic
On click it toggles the visualize-style
just use the javascript code and add it as a bookmark:
| (function CalculateNewSizes(){ | |
| var width, height, nWidth, nHeight, tmp; | |
| tmp = prompt('Current dimensions 123x1234: ').split('x'); | |
| width = tmp[0]; | |
| height = tmp[1]; | |
| tmp = prompt('Set a new value for width. (prefix h for new Height)').replace(/ /g, ''); | |
| if(tmp.indexOf('h') !== -1) { | |
| nHeight = tmp.replace(/h/, ''); | |
| nWidth = parseInt(width*nHeight/height); | |
| } else { |