Skip to content

Instantly share code, notes, and snippets.

View jto's full-sized avatar
🏠
Working from home

Julien Tournay jto

🏠
Working from home
View GitHub Profile
@puffnfresh
puffnfresh / Main.idr
Created October 14, 2016 10:49
Type-safe printf, using runtime provided strings. An extension on https://gist.github.com/puffnfresh/11202637
module Main
%default total
data Format
= FInt -- %d
| FString -- %s
| FOther Char -- [a-zA-Z0-9]
format : List Char -> List Format
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 23, 2024 05:34
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
fibs = 0 : 1 : zipWith (+) fibs (tail fibs)