This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'mini_magick' | |
BLANK = 'blank.png' # 1x1px white png | |
$text = 'hello, world' # text to write | |
img = MiniMagick::Image.from_file(BLANK) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### P0wn1e now lives in http://github.com/hellekin/p0wn1e | |
#!/usr/bin/env ruby1.8 | |
# | |
# p0wn1e is the hackerspaces.org notifier. | |
# It reads an ATOM feed and send updates to identi.ca | |
# | |
################################################################################ | |
### BEGIN CONFIGURATION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Easy OGG stream to shoutcast using Gstreamer | |
usage() | |
{ | |
echo "$(basename $0) host[:port] password [mount]" | |
echo " Defaults: port 8000, mount $(hostname -s).ogg" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun php-mode-elgg-hook () | |
(setq indent-tabs-mode t | |
tab-width 4 | |
c-basic-offset 4 | |
c-insert-tab-function 'insert-tab) | |
) | |
(add-hook 'php-mode-hook 'php-mode-elgg-hook) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## NginX VirtualHost Configuration for elgg.example.org | |
# | |
# Copyright 2010 Lorea.org | |
# This file is part of Lorea Node. | |
# License: GNU Affero General Public License | |
# | |
server { | |
listen 80; | |
server_name elgg.example.org; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# == Mail::Address extensions | |
# | |
# Add support for local extension: [email protected] | |
# | |
module Mail | |
class Address | |
def local_user | |
local.to_s.split('+', 2).first | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ZSH Raster -- Spice up your .zshrc | |
# | |
# {{{ Copyright 2011 Hellekin O. Wolf <hellekinλcepheide*org> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- sh-mode -*- | |
# | |
## ZSH PROMPT | |
# | |
# {{{ PROMPT SETTINGS | |
PROMPT_SUBST=1 # Enable prompt expansion | |
PROMPT_BANG=1 # Enable ! as history event number | |
PROMPT_PERCENT=1 # Enable % parameter expansion |
OlderNewer