Skip to content

Instantly share code, notes, and snippets.

View andreadellacorte's full-sized avatar
🎯
Focusing

Andrea Della Corte andreadellacorte

🎯
Focusing
View GitHub Profile
@andreadellacorte
andreadellacorte / System Design.md
Created January 24, 2021 16:34 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@andreadellacorte
andreadellacorte / aliases.zsh
Last active May 27, 2020 23:37 — forked from inhji/.zshrc
zsh aliases
alias help='cat ~/.oh-my-zsh/custom/aliases.zsh'
alias aliases='vim ~/.oh-my-zsh/custom/aliases.zsh'
if [[ $OSTYPE == darwin* ]]; then
alias browse="open -a /Applications/Google\ Chrome.app"
alias wp='cd ~/Documents/Github'
elif [[ $OSTYPE == linux-gnu* ]]; then
alias wp='cd /mnt/c/Users/Andrea/Documents/Github/'
fi
#!/bin/bash
# Make a PDF look scanned.
# Extracted from https://github.com/baicunko/scanyourpdf and modified for smaller output files (compression lower density).
# Project requires ImageMagick and GhostScript. This will do the trick on Ubuntu:
# sudo apt-get install ghostscript
# sudo apt-get install imagemagick
#!/bin/zsh
echo "Start Export Process"
echo "Log into Keybase..."
keybase login
echo "Exporting your PGP keys..."
keybase pgp export -o keybase.public.key
keybase pgp export -s -o keybase.private.key