- WYSIWYG HTML
- integrates with MoxieManager for file management (PHP only)
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 invokee1 = function(err, callback) { | |
| // cant change this function | |
| callback(); | |
| }; | |
| var invokee2 = function(err, optional1, optional2, callback) { | |
| // work with optional 1 or optional 2 | |
| console.log(optional1); | |
| console.log(optional2); | |
| // cant change this function |
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 dust = require('dustjs-linkedin'), | |
| express = require('express'), | |
| cons = require('consolidate'); | |
| app.engine('dust', cons.dust); | |
| app.set('view engine', 'dust'); | |
| app.set('views', __dirname + '/theme/dust'); | |
| app.use(express.static(__dirname + '/theme')); |
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
| // the test fails but there is no description about what happened | |
| request.post('/endpoint').expect(200).end(function(err, res) { | |
| if (err) return done(err); | |
| res.body.email.should.be.a('string'); | |
| res.body.email.should.equal('[email protected]'); | |
| done(); | |
| }); |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
- What is a Landing Page
- Call To Action Copy
- Design Two Buttons, then Stop.
- How to Hook New Customers with Your Explainer Video
- Landing Page Success
- The anatomy of a perfect Landing Page
- 5 Tested Conversion Design Tactics You Should Put to Work. Right Now.
- The Most Dangerous Landing Page Mistakes & How You Can Fix Them
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 composer = new Hapi.Composer(nconf.get('manifest')); | |
| composer.compose(function(err) { | |
| if (err) { | |
| console.log('Failed composing.'); | |
| console.log(err); | |
| exit(1); | |
| } | |
| composer.start(function() { |
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 lib = require('mongodb'); | |
| var MongoClient = require('mongodb').MongoClient; | |
| var ObjectID = require('mongodb').ObjectID; | |
| var _ = require('lodash'); | |
| exports.register = function(plugin, options, next) { | |
| MongoClient.connect(options.url, function(err, db) { | |
| if(err) return next(new Error('Could not connect to the mongodb: ' + err)); |