Skip to content

Instantly share code, notes, and snippets.

@emech-en
emech-en / find-anagram-md5.ts
Last active February 19, 2020 23:26
MD5 Challenge
import { createInterface } from 'readline';
import { createReadStream } from 'fs';
import { isEqual } from 'lodash';
import { createHash } from 'crypto';
type AnagramMap = { [k in string]?: number };
export const md5 = (contents: string) => {
return createHash('md5')
.update(contents)
@emech-en
emech-en / GitConfigHttpProxy.md
Created April 5, 2018 07:32 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

##In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like: