Skip to content

Instantly share code, notes, and snippets.

/etc/apache2/mods-enabled/proxy.conf
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
Allow from localhost
<VirtualHost *:80>
DocumentRoot "/var/www"
ProxyRequests off
<Directory proxy:http://localhost>
Order Allow,Deny
Allow from all
</Directory>
ProxyPass /pnp4nagios !
# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET http://www.google.com HTTP/1.0
HTTP/1.1 303 See Other
Date: Sat, 09 Mar 2013 23:35:11 GMT
Server: PasteWSGIServer/0.5 Python/2.6.5
Content-Length: 0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>11D51</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>iPhone Simulator</string>
Started POST "/users/sign_in" for xx.xx.xx.xx at 2013-04-22 15:38:51 +0200
Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"kejlzke5jvlkzjvalkj/alsdkfjasldkfj=", "user"=>{"email"=>"foo@bar.com", "password"=>"[FILTERED]", "remember
_me"=>"1"}}
Completed 500 Internal Server Error in 5155ms
ActiveRecord::StatementInvalid (SQLite3::BusyException: database is locked: commit transact
ion):
app/controllers/application_controller.rb:26:in `reject_blocked!'
Completed 500 Internal Server Error in 62ms
Completed 500 Internal Server Error in 60ms
Completed 500 Internal Server Error in 26ms
Completed 500 Internal Server Error in 3ms
Completed 500 Internal Server Error in 10118ms
Completed 500 Internal Server Error in 10158ms
Completed 500 Internal Server Error in 10062ms
Completed 500 Internal Server Error in 155ms
Completed 500 Internal Server Error in 26ms
Completed 500 Internal Server Error in 152ms
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ex6.serverkommune.de
X-Spam-Level: **
X-Spam-Status: No, score=2.0 required=5.0 tests=DATE_IN_PAST_12_24,NO_RELAYS,
SUBJECT_NEEDS_ENCODING,SUBJ_ILLEGAL_CHARS autolearn=no version=3.3.1
Received: by smtp.serverkommune.de (Postfix, from userid 5001)
id 47A93809A3; Thu, 23 May 2013 02:03:07 +0200 (CEST)
Received: from localhost by ex6.serverkommune.de
with SpamAssassin (version 3.3.1);
Thu, 23 May 2013 02:03:07 +0200
From: ndigge@rmy.emory.edu
http://harmattan-dev.nokia.com/docs/library/html/qt4/unix-signals.html
g++ -c -m64 -pipe -Wall -fpermissive -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp
g++ -m64 -Wl,-O1 -o QFuse main.o QFuse.o wrap.o MyDaemon.o moc_QFuse.o moc_MyDaemon.o -L/usr/lib/x86_64-linux-gnu -lfuse -lQtGui -lQtCore -lpthread
MyDaemon.o: In function `MyDaemon::MyDaemon(QObject*)':
nixos-rebuild switch
building Nix...
building the system configuration...
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/h0g36scrqhdc2a8h7xdw4mvvjg3gmx8z.narinfo’ after 5 seconds...
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/gzj94iqxv71s03q9zc85wg6nr4fg7gij.narinfo’ after 5 seconds...
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/v1z72daryg066i2z13cwfp3xm38lapjq.narinfo’ after 5 seconds...
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/d2mawgwbrqgq2dpz17y218p38h3nc48m.narinfo’ after 5 seconds...
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/xlcy1y34w2ix2f5z75n81hnss5s6bkvd.narinfo’ after 5 seconds...
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/4wnw05x3p0yfdqcr0s0l86m8q5s8lb5l.narinfo’ after 5 seconds...
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/zspdixfyb2zcvajw3b3s1wvnsarimd9n.narinfo’ after 5 seconds...
======= what i have =======
phases="$prePhases unpackPhase patchPhase $preConfigurePhases configurePhase $preBuildPhases buildPhase checkPhase $preInstallPhases installPhase fixupPhase installCheckPhase $preDistPhases distPhase $postPhases";
======= what i want =======
export phases="unpackPhase patchPhase configurePhase buildPhase checkPhase installPhase fixupPhase installCheckPhase distPhase"
======= what i tried =======
typeset -f genericBuild | grep 'phases=' | sed -e 's/\$[^ ]*//g' | sed -e 's/ //g' | awk '{print $0 " \"" }'
phases=" unpackPhase patchPhaseconfigurePhasebuildPhase checkPhaseinstallPhase fixupPhase installCheckPhasedistPhase "