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
--- PKGBUILD 2010-09-23 05:09:14.000000000 -0700 | |
+++ PKGBUILD.new 2010-09-29 19:57:52.112939012 -0700 | |
@@ -18,12 +18,13 @@ | |
cd ${srcdir} | |
if [ -d ${srcdir}/$_gitname ] ; then | |
- cd $_gitname && git pull origin | |
+ cd $_gitname | |
+ git pull origin | |
else |
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
diff --git a/files/etc/apache2/vhosts.d/phpbb-www/phpbb.com.conf b/files/etc/apache2/vhosts.d/phpbb-www/phpbb.com.conf | |
index f57f087..e888d85 100644 | |
--- a/files/etc/apache2/vhosts.d/phpbb-www/phpbb.com.conf | |
+++ b/files/etc/apache2/vhosts.d/phpbb-www/phpbb.com.conf | |
@@ -22,6 +22,10 @@ | |
# phpBB specific settings | |
Include /var/www/phpbb.com/htdocs/.htdev | |
+ ProxyRequests off | |
+ ProxyPass /updatecheck http://version.phpbb.com/legacy |
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
diff --git a/cfengine/inputs/cf.classes b/cfengine/inputs/cf.classes | |
index 722c91c..313a023 100644 | |
--- a/cfengine/inputs/cf.classes | |
+++ b/cfengine/inputs/cf.classes | |
@@ -116,11 +116,12 @@ groups: | |
service_nginx = ( oooapps oooapps2 orvsd_dev yin load1 load2 ) | |
service_squid = ( nohost ) | |
service_varnish = ( brewer busybox deluge drupal_web_node | |
- denise_drupal_org efs | |
- grand hawthorn madrone mulgara noble occc |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDb8mIhrDs4wX7bBEV+anf7Gh3m98lQ0MQbyfSClNjwPIF4BHwczOct6m2mr+V4ft5I8JGUDk2ke20v3+bR5NIsEtGh3fRd+KeLOVPiboIPWADAAqm4WSuW10ow3IPF6BLWv/3RnAv1l8tVbCdUz3i1U/ryFcOHS9BLdTy+tprfc8amEfNfVrx/WpwSl4eXZImsOaQAKvzAPsCSDK/2DOQ0NPfUD1ECm0AqxVBWemDCITP3g+GRMueRRo1ui89BvhnK+B8bApJeUVMw3Ltw0cgps2fKfeGqKf9Ree9Twt6Mpkr04owVLXCdNMU4p2ilhcWmgvVJRQxAfH1yx519vAtv [email protected] |
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
# For project euler #2 -- http://projecteuler.net/index.php?section=problems&id=2 | |
def fib(n) | |
@result ||= [] | |
@result[n] ||= begin | |
if n <= 1 | |
n | |
else | |
fib(n-1) + fib(n-2) | |
end |
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
VFS: Cannot open root device "sda3" or unknown-block(0,0) | |
Please append a correct "root=" boot option: here are the available partitions: | |
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,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
msg = "Hi, there!" | |
for char in message: | |
sys.stdout.write(char) | |
pause() | |
sys.stdout.write("\n") |
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/python | |
import os | |
import json | |
import subprocess | |
def main(): | |
BASEPATH = "/home/mythmon/code/better-vacation" | |
USERPATH = os.path.join(BASEPATH, "users") |
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
PATH=/usr/local/bin:/usr/bin:/bin | |
MAILDIR=$HOME/Mail #youd better make sure it exists | |
LOGFILE=$MAILDIR/log #recommended | |
:0 | |
* ^X-Spam-Status: Yes | |
$MAILDIR/.Spam/ | |
:0 | |
* ^Subject: Undelivered Mail Returned to Sender |
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
$data = "abacaabf"; | |
@matches = $data =~ /a[^a]/g; | |
print "@matches\n"; | |
print "$matches[0]\n"; | |
print "$matches[1]\n"; | |
print "$matches[2]\n"; | |
OlderNewer