Skip to content

Instantly share code, notes, and snippets.

View ammaskartik's full-sized avatar

Kartik Venkatesh ammaskartik

  • London, UK
View GitHub Profile
@Gurpartap
Gurpartap / maybe.go
Created October 9, 2016 14:29
Maybe Monad in Go
// https://play.golang.org/p/P5DDZrcXZB
package main
import "fmt"
type Monad interface {
Bind(func(interface{}, Monad) Monad) Monad
Return(interface{}) Monad
}
@monicao
monicao / react.md
Last active February 23, 2021 19:07
React Lifecycle Cheatsheet

React Component Lifecycle

  • getInitialState
  • getDefaultProps
  • componentWillMount
  • componentDidMount
  • shouldComponentUpdate (Update only)
  • componentWillUpdate (Update only)
  • componentWillReceiveProps (Update only)
  • render
@tixastronauta
tixastronauta / facebook_leads.md
Last active May 8, 2024 09:57
Receiving Facebook Leads on a Webhook
@jgravois
jgravois / _webserver.md
Last active April 12, 2024 00:21
a simple guide for getting a local web server set up

Do I have a web server running?


having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html, .js etc.) in a browser via http://.

if you're not sure whether or not you have a web server running, no problem! its easy to confirm.

what happens when you visit http://localhost/?