Skip to content

Instantly share code, notes, and snippets.

View rewdt's full-sized avatar
🏠
Working from home

Andrew Bamidele rewdt

🏠
Working from home
View GitHub Profile
@rewdt
rewdt / index.js
Created October 2, 2019 19:23 — forked from ryanflorence/index.js
const { createServer } = require('http');
createServer((req, res) => {
res.writeHead(200, {
Connection: 'Transfer-Encoding',
'Content-Type': 'text/html; charset=utf-8',
'Transfer-Encoding': 'chunked'
});
res.write(`
@rewdt
rewdt / array_dupplicate_counter.js
Created April 26, 2019 17:46 — forked from ralphcrisostomo/array_dupplicate_counter.js
Javascript: Count duplicates in an array
/**
Problem:
You have a javascript array that likely has some duplicate values and you would like a count of those values.
Solution:
Try this schnippet out.
*/