Skip to content

Instantly share code, notes, and snippets.

@jskswamy
jskswamy / pgbench.md
Last active September 3, 2020 14:16
Postgres Performance VM vs Docker
$ pgbench -i
$ pgbench -c 10

Machine info

            .-/+oossssoo+/-.               jskswamy@throwaway
        `:+ssssssssssssssssss+:`           ------------------

Keybase proof

I hereby claim:

  • I am jskswamy on github.
  • I am jskswamy (https://keybase.io/jskswamy) on keybase.
  • I have a public key ASCFU2hxpcdRywDWfn-UDEIAPfWsCWaLqSSPYTdqHnG-7Qo

To claim this, I am signing this object:

@jskswamy
jskswamy / Makefile
Created August 26, 2016 14:41 — forked from ajmazurie/Makefile
Generic Makefile used for my Python projects
PROJECT_NAME := $(shell python setup.py --name)
PROJECT_VERSION := $(shell python setup.py --version)
SHELL := /bin/bash
BOLD := \033[1m
DIM := \033[2m
RESET := \033[0m
.PHONY: all
// ATMEL ATMEGA16
//
// +---\/---+
// (D 0) PB0 1| |40 PA0 (AI 0 / D24)
// (D 1) PB1 2| |39 PA1 (AI 1 / D25)
// INT2 (D 2) PB2 3| |38 PA2 (AI 2 / D26)
// PWM (D 3) PB3 4| |37 PA3 (AI 3 / D27)
// /SS (D 4) PB4 5| |36 PA4 (AI 4 / D28)
// MOSI (D 5) PB5 6| |35 PA5 (AI 5 / D29)
// /MISO (D 6) PB6 7| |34 PA6 (AI 6 / D30)

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: