Skip to content

Instantly share code, notes, and snippets.

View khushmeeet's full-sized avatar
🎯
Focusing

Khushmeet Singh khushmeeet

🎯
Focusing
View GitHub Profile
@alphacentory
alphacentory / setup.sh
Last active January 14, 2017 20:53
go api bash script set up
#!/bin/bash
cd ${HOME}
if [[ $unamestr == "Darwin" ]]; then
echo "installing... homebrew..."
if ! which brew > /dev/null; then
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
echo "installing... git... go..."
brew install git go
fi
@staltz
staltz / introrx.md
Last active March 24, 2026 13:52
The introduction to Reactive Programming you've been missing
@nitaku
nitaku / README.md
Last active August 4, 2025 01:28
Minimal JSON HTTP server in python

A minimal HTTP server in python. It sends a JSON Hello World for GET requests, and echoes back JSON for POST requests.

python server.py 8009
Starting httpd on port 8009...
curl http://localhost:8009
{"received": "ok", "hello": "world"}
@isaacs
isaacs / comma-first-var.js
Created April 6, 2010 19:24
A better coding convention for lists and object literals in JavaScript
// See comments below.
// This code sample and justification brought to you by
// Isaac Z. Schlueter, aka isaacs
// standard style
var a = "ape",
b = "bat",
c = "cat",
d = "dog",