<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
// a list of useful queries for profiler analysis. Starting with the most basic. | |
// 2.4 compatible | |
// | |
// output explained: | |
// | |
{ | |
"ts" : ISODate("2012-09-14T16:34:00.010Z"), // date it occurred | |
"op" : "query", // the operation type | |
"ns" : "game.players", // the db and collection |
curl -w "@curl-format.txt" -o /dev/null -s http://www.aduanacol.com |
http://pm2.keymetrics.io/docs/usage/use-pm2-with-cloud-providers/ |
// sending to sender-client only | |
socket.emit('message', "this is a test"); | |
// sending to all clients, include sender | |
io.emit('message', "this is a test"); | |
// sending to all clients except sender | |
socket.broadcast.emit('message', "this is a test"); | |
// sending to all clients in 'game' room(channel) except sender |
/* | |
Before run the example copy and paste this function into a browser console. | |
Example: | |
createBoundingBox($0); | |
createBoundingBox(document.getElementById('element-id')); | |
*/ | |
function createBoundingBox(parentEl) { | |
var body = document.body; | |
var pRect = parentEl.getBoundingClientRect(); | |
var box = document.createElement('div'); |
var net = require('net'); | |
var tunnel = null; | |
var target = null; | |
// tunnel server | |
var serverInfo = {port:8811, host:"public.server.com"}; | |
// target device we want to access on network where this script is running | |
var targetInfo = {port:1001, host:"ip.local.network"}; | |
function listen() |