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
-pbp # Start with Perl Best Practices | |
-w # Show all warnings | |
-iob # Ignore old breakpoints | |
-l=0 # Unlimited characters per line | |
-mbl=2 # No more than 2 blank lines | |
-i=4 # Indentation is 4 columns | |
-ci=0 # Continuation indentation is 0 columns | |
-vt=0 # Less vertical tightness | |
-vtc=0 # Always break a line before a closing token | |
-pt=2 # High parenthesis tightness |
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/bash | |
# originally from: http://code.google.com/p/openmeetings/wiki/OpenOfficeConverter | |
# openoffice.org headless server script | |
# | |
# chkconfig: 2345 80 30 | |
# description: headless openoffice server script | |
# processname: openoffice | |
# | |
# Author: Vic Vijayakumar | |
# Modified by Federico Ch. Tomasczik |
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
// module dependencies | |
const http = require('http'); | |
const url = require('url'); | |
/** | |
* request - Wraps the http.request function making it nice for unit testing APIs. | |
* | |
* @param {string} reqUrl The required url in any form | |
* @param {object} options An options object (this is optional) | |
* @param {Function} cb This is passed the 'res' object from your request | |
* |