http://help.rr.com/AA/rrwho.aspx?resetDiv=true&ReturnUrl=%2fhmslogic%2fnetwork_status.aspx
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
configure_option "--with-fpm" | |
configure_option "--enable-fpm" | |
configure_option "--with-apc" | |
configure_option "--enable-apc" | |
install_package "http://www.php.net/distributions/php-5.3.13.tar.bz2" | |
install_pyrus | |
install_xdebug "2.2.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
#!/usr/bin/env php | |
<?php | |
$words = array(); | |
while ($line = fgets(STDIN)) { | |
$word = explode("-", $line); | |
$words[$word[0]][] = trim($word[1]); | |
} | |
foreach ( $words as $word => $pages ) { |
haproxy ssl support
Measure bang for the buck - not a normal practice... :(
http://www.harthoover.com/#757/twitter http://www.slideshare.net/harthoover/architecting-wordpress-on-the-rackspace-cloud
Partitioning a machine: systemd, cgroups
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
#cloud-config | |
apt_sources: | |
- source: "ppa:brightbox/puppet" | |
packages: | |
- puppet-git-receiver | |
- rubygems | |
runcmd: | |
- cp -ar /home/ubuntu/.ssh /var/lib/puppet-git-receiver/ | |
- chown -R puppet-git.puppet-git /var/lib/puppet-git-receiver/.ssh | |
- gem install librarian-puppet --no-ri --no-rdoc |
(See: Notes)
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^/app | |
RewriteRule ^(/?)(.*) /app/$2 [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ app/index.php [L] | |
</IfModule> |
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 | |
# Originally from: http://ubuntuforums.org/showthread.php?p=8247224#post8247224 | |
# amixer options | |
mute_switch="Master" # For Asus EEE, this is iSpeaker | |
channel="Master" # usually Master. You can set this to PCM to keep headphone volume unchanged. | |
card=1; | |
VOL_STEP=2 # amount to increase / decrease volume | |
# osd_cat options | |
POS=bottom # top, middle or bottom |