Take screenshots with PhantomJS
Usage:
$ phantomjs screenshot.js http://your-url.com/| -- The shellscript: | |
| -- #!/bin/sh | |
| -- sudo mount_nfs -P 192.168.0.1:sharename ~/localPath | |
| tell application "Terminal" | |
| do shell script "~/.shellscript.sh" password "yourpassword" with administrator privileges | |
| quit | |
| end tell |
Take screenshots with PhantomJS
Usage:
$ phantomjs screenshot.js http://your-url.com/| git checkout --orphan emptybranch |
| @import "compass"; | |
| @import "icons/*.png"; | |
| // Specifika ikoner från din sprite | |
| // Höjd/bredd kalkyleras ut automagiskt | |
| .login { | |
| @include icon-sprite(login); | |
| } | |
| .home { | |
| @include icon-sprite(home); |
| module.exports = function (grunt) { | |
| // Require all grunt-tasks instead of manually initialize them. | |
| require('load-grunt-tasks')(grunt); | |
| // The magic | |
| grunt.initConfig({ | |
| watch: { | |
| scripts: { | |
| files: ['public/js/*.js'], |