This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one
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
angular | |
.module(‘first’, []) | |
.filter(‘greet’, function() { | |
return function(name) { | |
return ‘Hello, ‘ + name + ‘!’; | |
} | |
}); |
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
angular | |
.module(‘second’, [‘first’]) | |
.filter(‘goodbye’, function() { | |
return function(name) { | |
return ‘Good bye, ‘ + name + ‘!’; | |
} | |
}); |
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
<script type=”text/javascript” src=”firstModule.js”></script> | |
<script type=”text/javascript” src=”secondModule.js”></script> |
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
define([‘angular’], function(angular) { | |
angular | |
.module(‘first’, []) | |
.filter(‘greet’, function() { | |
return function(name) { | |
return ‘Hello, ‘ + name + ‘!’; | |
} | |
}); | |
}); |
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
define(['angular'], function(angular) { | |
var settings = { moduleName: 'first' }; | |
angular | |
.module(settings.moduleName, []) | |
.filter('greet', function() { | |
return function(name) { | |
return 'Hello, ' + name + '!'; | |
} | |
}); | |
return settings; |
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
function (user, context, callback) { | |
// Check whether the Auth0 client is the one we want to apply this rule to | |
if(context.clientID === "CLIENT_ID") { | |
// Check out Discourse's SSO implementation requirements already in discourse-sso package | |
// at https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045#heading--implement | |
var discourse_sso = require('discourse-sso'); | |
// Setup sso_secret variable on your client variables on Auth0 so you don't need to have it inline in your code | |
var sso = new discourse_sso(context.clientMetadata.sso_secret); |
I hereby claim:
- I am leog on github.
- I am leog (https://keybase.io/leog) on keybase.
- I have a public key ASAniwQEwNNTLB5AR_-Lgqn7BZ221zzWX4xX0tACz_7uFAo
To claim this, I am signing this object:
This document concerns only the latest Helios v3.1 code, last updated on June 8th, 2011.
As of v3 beta (due in July 2010), Helios is no longer based on Google App Engine, but instead on a standard Django/Python + PostgreSQL stack. This document explains how to install Helios on a standard Linux machine, preferably Ubuntu 10.04.
Contributors: Ben Adida, Rodrigo Germán Fernández Gaete.
- Ubuntu Linux 10.04 (for these instructions, should be adaptable to other Linux distributions.)
- PostgreSQL 8.3+ (may work with other databases, uses Django modeling, but not tested yet.)
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
FROM debian | |
# Components version | |
ENV LF_CORE_VERSION 3.2.1 | |
ENV LF_FRND_VERSION 3.2.1 | |
ENV MOONBRIDGE_VERSION 1.0.1 | |
ENV WEBMCP_VERSION 2.0.3 | |
# Use baseimage-docker's init system. | |
CMD ["/sbin/my_init"] |
OlderNewer