Skip to content

Instantly share code, notes, and snippets.

View txgruppi's full-sized avatar
👨‍💻
Lets Go ;)

Tarcisio Gruppi txgruppi

👨‍💻
Lets Go ;)
View GitHub Profile
@txgruppi
txgruppi / dnsmasq OS X.md
Last active July 23, 2018 22:09 — forked from ogrrd/dnsmasq OS X.md
Setup dnsmasq on OS X

Never touch your local /etc/hosts file in OS X again

To setup your computer to work with *.localhost domains, e.g. wedpics.localhost, project.localhost, awesome.localhost and so on, without having to add to your hosts file each time.

Requirements

Install

type Nullable<A> = undefined | null | A;
interface MapFunction<A, B> {
(value: Nullable<A>): Maybe<B>,
}
interface FoldFunction<A, B> {
(value: Nullable<A>): Nullable<B>,
}

Keybase proof

I hereby claim:

  • I am txgruppi on github.
  • I am txgruppi (https://keybase.io/txgruppi) on keybase.
  • I have a public key whose fingerprint is 03CD 84B9 585B 3C43 C222 A242 36F5 005F CAF5 C057

To claim this, I am signing this object: