Skip to content

Instantly share code, notes, and snippets.

View choroba's full-sized avatar
🐫
open source

E. Choroba choroba

🐫
open source
  • Prague, Czech Republic
View GitHub Profile
@choroba
choroba / quine
Last active January 9, 2020 09:15
a Perl quine
$_=q!print'$_=q*'.$_.'*;';s/\52/\41/g;print!;print'$_=q!'.$_.'!;';s/\52/\41/g;print
@choroba
choroba / git-rebase.sh
Created February 28, 2020 14:40
Git rebase with copy
#!/bin/bash
set -eu
tmp=$(mktemp -d)
cd "$tmp"
git init
git config user.email abc@example.com
echo file a > a.txt
echo file b > b.txt