- Grunt
- grunt-stylus + Stylus
- grunt-imgo + imgo
- grunt-sweet (not published yet) + Sweet
This file contains hidden or 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
| <a href="#">I am link!</a> |
This file contains hidden or 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
| <a href="#">I am link!</a> |
This file contains hidden or 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
| # Simple script for site deployment | |
| # | |
| # Required environment variables: | |
| # * HUBOT_DEPLOY_DIR - Directory with projects | |
| # | |
| # Project directory structure: | |
| # * HUBOT_DEPLOY_DIR/ | |
| # * site | |
| # * deploy.sh | |
| # * htdocs, etc. |
This file contains hidden or 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
| /** | |
| * Controls | |
| * | |
| * <span data-trigger="slider-next" data-recipient=".portfolio">Next</span> | |
| */ | |
| $(document).click(function(e) { | |
| var target = e.target; | |
| if (target.getAttribute('data-trigger') && target.getAttribute('data-recipient')) { | |
| target = $(target); | |
| $(target.data('recipient')).trigger(target.data('trigger')); |
This file contains hidden or 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
| /** | |
| How to build this project? | |
| 1. Install Grunt: | |
| npm install grunt -g | |
| mkdir node_modules | |
| npm install grunt-stylus | |
| 2. Build: | |
| grunt |
This file contains hidden or 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
| /** | |
| * imgo task for Grunt | |
| * | |
| * @author Artem Sapegin (http://sapegin.me) | |
| */ | |
| /*jshint node:true */ | |
| module.exports = function(grunt) { | |
| 'use strict'; |
This file contains hidden or 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
| (+(d=new Date)-d.setMonth(0,256))/864e5||'Happy programmers day' |