Skip to content

Instantly share code, notes, and snippets.

@valk
valk / small_vega_chart.json
Created October 1, 2020 22:41
Small series chart with Vega
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"height": 60,
"width": 120,
"padding": 0,
"autosize": "fit",
"description": "Google's stock price over time.",
"data": {
"url": "data/stocks.csv"
},
@valk
valk / HowTo: Sorted disk usage (du)
Created December 6, 2020 15:06 — forked from antespi/HowTo: Sorted disk usage (du)
List first level directories inside a directory, sorted by size. Useful when your disk is full and you are searching something to erase or move elsewhere.
du -k -d1 * | sort -nr | cut -f2 | xargs -d '\n' du -sh
@valk
valk / multiple_ssh_setting.md
Last active January 3, 2022 14:10 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

How to access multiple github accounts with different SSH Keys settings

Create different public keys

create different ssh keys according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"