Skip to content

Instantly share code, notes, and snippets.

View pcoutin's full-sized avatar

Pedro L C pcoutin

View GitHub Profile
@pcoutin
pcoutin / README.md
Last active February 5, 2019 23:23 — forked from SlashScreen/README.md
SCRIPT-8
@pcoutin
pcoutin / tmux_local_install.sh
Last active June 14, 2017 11:42 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.5
@pcoutin
pcoutin / xmlify.rkt
Last active November 15, 2015 09:35 — forked from themattchan/xmlify.rkt
;; converted from racket to r5rs by pcoutin
;; originally by themattchan
;; Requires Oleg's match-case-simple
;; TODO: Probably craps out with numbers or symbols as values rather than keys.
;; Because string-append isn't (~a ...) nor (format "~a" ...)
;;
;; Simplified SXML grammar
;; <Element> ::= (<Symbol> <Children>...)
;; | (<Symbol> <AttribList> <Children>...)
;; <Children> ::= <Element> | <Value>