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
'use strict'; | |
// npm install inbox -save | |
// npm install stream -save | |
var inbox = require('inbox'), | |
Stream = require('stream'); | |
var client = inbox.createConnection(false, 'mail.bar.es', { | |
secureConnection: true, |
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
(function(){}( | |
/* | |
* Define an application module which needs external directives (someDirectives.js). | |
* The application should set the $interpolateProvider start and end syntax, like : #{foo.bar} | |
* It will need to be minified later. | |
*/ | |
var app = angular.module('myApp', ['someDirectives'], | |
['$interpolateProvider', function($interpolateProvider) { | |
$interpolateProvider.startSymbol('#{'); |
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 express = require('express'), | |
consolidate = require('consolidate'); | |
var app = express(); | |
app.engine("html", consolidate.swig); // setup template engine Swig | |
app.set('view engine', 'html'); // the Swig engine will render HTML | |
app.set('views', __dirname); // and the HTML views are in this folder | |
/* |
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
/* | |
* Android API Guide | |
* http://developer.android.com/guide/topics/ui/actionbar.html | |
* Android Design Guide | |
* http://developer.android.com/design/patterns/actionbar.html | |
* Titanium Mobile will support someday | |
* https://jira.appcelerator.org/browse/TIMOB-2371 | |
*/ | |
var osName = Ti.Platform.osname, | |
isAndroid = osName==='android', |
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
<?php | |
/** | |
* This is a driver for the watermarks creating | |
* | |
* LICENSE: | |
* The PHP License, version 3.0 | |
* | |
* Copyright (c) 1997-2005 The PHP Group | |
* |