Skip to content

Instantly share code, notes, and snippets.

View athos's full-sized avatar
🤷‍♂️
I know the value and cost of nothing

Shogo Ohta athos

🤷‍♂️
I know the value and cost of nothing
View GitHub Profile
@athos
athos / Portfile
Created July 10, 2009 07:37
a MacPorts Portfile for tmux 0.9
# $Id: $
PortSystem 1.0
name tmux
version 0.9
categories sysutils
maintainers athos
description terminal multiplexer
long_description \
@athos
athos / gist:120598
Created May 30, 2009 18:32
this script enables gosh to call the external commands as a function without any definitions.
#!/usr/bin/env gosh
(use gauche.process)
(use srfi-1)
(use srfi-13)
(define (tree-filter f tree)
(define (rec t s)
(cond [(null? t) s]
[(pair? t) (rec (car t) (rec (cdr t) s))]