This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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); |
- Local commits
- Local branching (with local merging)
- Doesn't create a folder for every branch, smaller file size on disk
- Distributed (every user has their own repo and not forced to work against a central repo)
- Access to the whole history without being connected to the internets
- Stashing (put away WIP and apply when needed)
- Simple tag-management
- Possible to push several commits at once
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout --orphan emptybranch |
Take screenshots with PhantomJS
Usage:
$ phantomjs screenshot.js http://your-url.com/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |