Skip to content

Instantly share code, notes, and snippets.

View karmamaster's full-sized 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 June 24, 2021 19:43 — forked from DanDiplo/JS-LINQ.js
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// 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 November 26, 2017 08:56 — forked from creationix/chatServer.js
A simple TCP based chat server written in node.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