This file contains hidden or 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
# $Id: Portfile 66285 2010-04-08 08:09:09Z [email protected] $ | |
# Tweaked upstream privoxy Portfile to install the latest CVS | |
# version that fixes hang bugs in the 3.0.16 release -- while | |
# retaining IPv6 support :-). | |
# | |
# [email protected] - Fri Jul 30 18:14:38 CEST 2010 | |
# | |
PortSystem 1.0 |
This file contains hidden or 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
/** | |
* Usage: | |
* | |
* js> "some:string.you?wanna-escape".escapeChars(/[:\.\?-]/g); | |
* ==> "some%3Astring%2Eyou%3Fwanna%2Descape" | |
* | |
* The full power of regexes is in your hands, use it for good! | |
* | |
* - [email protected] | |
* Fri Aug 6 21:26:20 CEST 2010 |
This file contains hidden or 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
# HTML to RTF conversion routine | |
# Requires panmind-rtf gem, version 0.4.1 and up | |
# Really quick & dirty, needs love and documentation | |
# Injects a .to_rtf method into any Nokogiri NodeSet | |
# and returns an RTF::Document instance | |
# | |
# If you find this code useful, contribute back to the | |
# panmind-rtf gem! http://github.com/Panmind/rtf | |
# | |
# (C) 2010 mind2mind.is, spinned off http://panmind.org/ |
This file contains hidden or 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
# CouchDB replication configuration restore, | |
# after a restart via the init script. | |
# Configure your replicas in a plain text file: | |
-----8<------------------------------------------------------->8------ | |
# Credentials to access the database, | |
# in the username:password format. | |
# |
This file contains hidden or 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
# Keywords: Rails 2.3, Ruby 1.9 | |
# Error: invalid byte sequence in US-ASCII | |
# Error: incompatible character encodings: UTF-8 and ASCII-8BIT | |
# | |
# This patch overwrites every ActionView::Helpers::TagHelper | |
# method and the "value" and "value_before_type_cast" methods | |
# of ActionView::Helpers::InstanceTag, to force the UTF8 | |
# encoding on their return value, if applicable. | |
# | |
# This is done because the source encoding of Rails' files is |
This file contains hidden or 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
# Wanna debug who the hell is requiring that damn gem | |
# you don't wanna see on earth? Here we go! :-) | |
# | |
# debugger rescue nil is required (ha ha) because, if | |
# you require ruby-debug, the debugger method will be | |
# defined *before* all debugger components are loaded | |
# | |
# Please note that, because this method is defined in |
This file contains hidden or 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 | |
# System startup script for Redis for OpenSUSE >= 11.4 | |
# | |
# Author: Marcello Barnaba <[email protected]> | |
# Tue Jul 31 17:32:27 CEST 2012 | |
# | |
# LSB-compatible service control script; see http://www.linuxbase.org/spec/ | |
# Install it in /etc/init.d/redis and run insserv /etc/init.d/redis | |
# Define configurations in /etc/init.d/redis/NAME.conf |
This file contains hidden or 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
# | |
# mmm m m mmm mmm mmm mmmmm mmm | |
# " # "m m m" #" # # " #" "# # # # #" # | |
# m"""# #m#m# #"""" """m # # # # # #"""" | |
# "mm"# # # "#mm" "mmm" "#m#" # # # "#mm" | |
# | |
# nginx configuration For Ruby/Rack web applications | |
# | |
# Cooked up with style, care and a bit of *secret* | |
# nerdy spice. :-) |
This file contains hidden or 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
<?php | |
/** | |
* Awesome IMAP authentication backend | |
* | |
* Set in conf/dokuwiki.php: | |
* | |
* $conf['authtype'] = 'imap'; | |
* $conf['authdomain'] = 'example.com'; // The default domain for IMAP-created users | |
* $conf['authserver'] = '{127.0.0.1:143/imap/novalidate-cert}'; // The IMAP server to which authenticate to | |
* |
This file contains hidden or 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 | |
# System startup script for the almighty God - http://god.rubyforge.org/ | |
# | |
# Install: save as /etc/init.d/god and run insserv /etc/init.d/god | |
# | |
# Author: Marcello Barnaba <[email protected]> | |
# | |
# - vjt Wed Feb 2 17:56:03 CET 2011 | |
# |