Skip to content

Instantly share code, notes, and snippets.

View sasha7's full-sized avatar

Sasa Macakanja sasha7

View GitHub Profile
@sasha7
sasha7 / curl.md
Created November 7, 2018 07:32 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@sasha7
sasha7 / Instructions.md
Created November 26, 2018 04:44 — forked from pgilad/Instructions.md
Generate SSL Certificate for use with Webpack Dev Server (OSX)

Generate private key

$ openssl genrsa -out private.key 4096

Generate a Certificate Signing Request

openssl req -new -sha256 \
@sasha7
sasha7 / combinators.js
Created March 15, 2019 14:13 — forked from Avaq/combinators.js
Common combinators in JavaScript
const I = x => x;
const K = x => y => x;
const A = f => x => f(x);
const T = x => f => f(x);
const W = f => x => f(x)(x);
const C = f => y => x => f(x)(y);
const B = f => g => x => f(g(x));
const S = f => g => x => f(x)(g(x));
const P = f => g => x => y => f(g(x))(g(y));
const Y = f => (g => g(g))(g => f(x => g(g)(x)));

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@sasha7
sasha7 / keybase.md
Last active February 1, 2022 13:38

Keybase proof

I hereby claim:

  • I am sasha7 on github.
  • I am sasanettbil (https://keybase.io/sasanettbil) on keybase.
  • I have a public key ASBmkP1MLtmONHL_IPvQHayKigRXF7aD-QxcMOCGnoCVGwo

To claim this, I am signing this object: