Skip to content

Instantly share code, notes, and snippets.

View bart9h's full-sized avatar

Rodolfo Borges bart9h

  • Rio de Janeiro, Brazil
View GitHub Profile
//{{{ button123.h
#ifndef button123_h_included
#define button123_h_included
/*
* Usage:
*
* Button123_State button1, button2;
*
* void start() {
#!/bin/bash
#
# Swap/Roll a logfile
#
# Usage: <old logfile> <new logfile> [ optional pids ]
# ./swap.sh /var/log/logfile /tmp/logfile [pids]
#
# Author: Robert McKay <rob...@mckay.com>
# Date: Tue Aug 14 13:36:35 BST 2007
#
# /* [ <!-- */ include <stdio.h> /* \
#{\
`""""true \\#{"\n#"}; \
\
if [ -n "$ZSH_VERSION" ]; then \
\
echo exec echo I\'m a zsh script.; \
\
elif [ -n "$BASH_VERSION" ]; then \
\