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
{ | |
"always_show_minimap_viewport": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"font_face": "Source Code Pro Light", | |
"font_size": 10, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Markdown", | |
"Vintage" |
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
"use strict"; | |
const axon = require("axon"), | |
rep = axon.socket("rep"); | |
rep.connect("tcp://127.0.0.1:7000"); | |
rep.on("message", function(msg, reply) { | |
reply("OK"); | |
console.log(msg); |
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
"use strict"; | |
const axon = require("axon"), | |
req = axon.socket("req"); | |
req.bind("tcp://127.0.0.1:7000"); | |
let count = 1; | |
const makeid = function() { | |
let text = ""; |
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
"use strict"; | |
const nano = require("nanomsg"), | |
rep = nano.socket("rep"); | |
rep.connect("tcp://127.0.0.1:7000"); | |
rep.on("message", function(buf) { | |
console.log(buf.toString()); | |
}); |
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
"use strict"; | |
const nano = require("nanomsg"), | |
req = nano.socket("req", { | |
reconn: 10, | |
linger: 1 | |
}); | |
req.bind("tcp://127.0.0.1:7000"); | |
let count = 1; |
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
"use strict"; | |
const nano = require("nanomsg"), | |
req = nano.socket("req", { | |
reconn: 1, | |
maxreconn: 2, | |
sndtimeo: 1, | |
linger: 1, | |
rcvtimeo: 1 | |
}); |
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
"use strict"; | |
const nano = require("nanomsg"), | |
req = nano.socket("rep"); | |
req.connect("tcp://127.0.0.1:7000"); | |
req.on("message", function(buf) { | |
console.log(buf.toString()); | |
}); |
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
"use strict"; | |
const nano = require("nanomsg"), | |
req = nano.socket("req"); | |
req.bind("tcp://127.0.0.1:7000"); | |
let count = 1; | |
var timer = setInterval(function() { |
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
// vue internals | |
var _ = require('../util') | |
var Path = require('../parsers/path') | |
// original implementation using native sort | |
var original = function (arr, sortKey, reverse) { | |
if (!sortKey) { | |
return arr | |
} | |
var order = 1 |
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
ioredis:redis write command[0] -> multi() +2s | |
ioredis:redis write command[0] -> lrange(processing_batch:pageviews,0,99) +0ms | |
ioredis:redis write command[0] -> ltrim(processing_batch:pageviews,100,-1) +0ms | |
ioredis:redis write command[0] -> exec() +0ms | |
ioredis:redis write command[0] -> multi() +0ms | |
ioredis:redis write command[0] -> lrange(processing_batch:devices,0,99) +0ms | |
ioredis:redis write command[0] -> ltrim(processing_batch:devices,100,-1) +0ms | |
ioredis:redis write command[0] -> exec() +0ms | |
ioredis:redis write command[0] -> multi() +0ms | |
ioredis:redis write command[0] -> lrange(processing_batch:events,0,99) +0ms |