The instructions and the sample-data file were moved to https://github.com/bajtos/loopback-workshop.
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
version: 0.0 | |
os: linux | |
files: | |
- source: / | |
destination: /home/ec2-user/node | |
permissions: | |
- object: /home/ec2-user | |
owner: ec2-user | |
group: ec2-user | |
type: |
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
var loopback = require('loopback'); | |
var explorer = require('loopback-component-explorer'); | |
var app = module.exports = loopback(); | |
app.set('host', '0.0.0.0'); | |
app.set('port', '3000'); | |
app.set('restApiRoot', '/api'); | |
app.set('legacyExplorer', false); |
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
Join the channel you want to register. Make sure you're an op (either the first to join, or someone who is an op there sets you to +o). | |
/join #newchannel | |
/msg chanserv register #newchannel | |
/msg chanserv set #newchannel mlock +cnt-s | |
/msg chanserv set #newchannel guard on | |
/msg chanserv set #newchannel secure on | |
/msg chanserv set #newchannel topiclock on | |
/msg chanserv set #newchannel keeptopic on | |
/msg chanserv set #newchannel url http://example.org/ |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
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
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |