Skip to content

Instantly share code, notes, and snippets.

@nachiket
nachiket / download-buidl-and-install-ghdl.sh
Last active June 17, 2019 13:53 — forked from mathieucaroff/download-buidl-and-install-ghdl.sh
Download build and install GHDL on Ubuntu 18.04 (tested 2018-09-28)
#!/bin/sh
#
# download-buidl-and-install-ghdl.sh
#
# It took about 5 minutes on my desktop (2019-06-17).
sudo apt update
sudo apt install -y git make gnat-4.9 zlib1g-dev
git clone https://github.com/ghdl/ghdl
cd ghdl
@nachiket
nachiket / datehist.py
Last active May 26, 2019 00:04 — forked from tkf/datehist.py
#!/usr/bin/env python
# Minor update to use day/hour notation for xlabels.
# Install this to /usr/local/bin (Mac OSX, Ubuntu)
"""
Plot histogram from list of dates
Usage
=====
Feed newline separated unix time via STDIN.