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.
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); |
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.
The instructions and the sample-data file were moved to https://github.com/bajtos/loopback-workshop.
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/ |
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); |
version: 0.0 | |
os: linux | |
files: | |
- source: / | |
destination: /home/ec2-user/node | |
permissions: | |
- object: /home/ec2-user | |
owner: ec2-user | |
group: ec2-user | |
type: |