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
| /****** | |
| Concatinate css and js | |
| *******/ | |
| concat: { | |
| js: { | |
| src: 'src/js/*.js', | |
| dest: 'dest/js/concat.js' | |
| }, | |
| css: { |
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
| upstream app_website { | |
| server 127.0.0.1:3000; // Port your node app is running on | |
| } | |
| # the nginx server instance | |
| server { | |
| listen 80; | |
| server_name website.com; | |
| return 301 http://www.website.com; | |
| } |
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
| Windows | |
| ------- | |
| DEBUG=appname:* npm start | |
| Linux | |
| ------- | |
| Terminal 1 | |
| node-inspector |
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
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| sass: { | |
| dist: { | |
| options: { | |
| includePaths: require('node-bourbon').includePaths, | |
| includePaths: require('node-neat').includePaths | |
| }, | |
| files: { | |
| 'public/css/style.css': 'public/scss/style.scss' |
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
| var path = require('path'); | |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| sass: { | |
| dist: { | |
| options: { | |
| includePaths: require('node-refills').includePaths | |
| }, | |
| files: { |
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
| { | |
| "name": "bitcointestnetfaucet", | |
| "version": "0.0.0", | |
| "private": true, | |
| "scripts": { | |
| "start": "node ./bin/www" | |
| }, | |
| "dependencies": { | |
| "express": "~4.9.0", | |
| "body-parser": "~1.8.1", |
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
| npm install <package> --msvs_version=<.net version> |
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
| http://jsfiddle.net/v7tmu6ss/3/ |
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
| http://jsfiddle.net/kb3gN/8968/ |
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
| var ViewModel = { | |
| inputValue : ko.observable() | |
| }; | |
| ko.applyBindings(ViewModel); | |
| var value = $('#text').data('value'); | |
| ViewModel.inputValue(value); |
OlderNewer