Skip to content

Instantly share code, notes, and snippets.

Avatar
🤖
Automating & Testing on Apps

SkyDragonz karmamaster

🤖
Automating & Testing on Apps
  • Rynan Tech; Kraken Tech
  • Somewhere in London
View GitHub Profile
@karmamaster
karmamaster / JS-LINQ.js
Created Jun 24, 2021 — forked from DanDiplo/JS-LINQ.js
JavaScript equivalents of some common C# LINQ methods. To help me remember!
View JS-LINQ.js
// JS array equivalents to C# LINQ methods - by Dan B.
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
{ name: "Judy", age: 42 },
{ name: "Tim", age: 8 }
@karmamaster
karmamaster / chatServer.js
Created Nov 26, 2017 — forked from creationix/chatServer.js
A simple TCP based chat server written in node.js
View chatServer.js
// Load the TCP Library
net = require('net');
// Keep track of the chat clients
var clients = [];
// Start a TCP Server
net.createServer(function (socket) {
// Identify this client