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
[mrb@mrb] ~ ➜ curl -I -L http://plein-8.nl | |
HTTP/1.1 301 Moved Permanently | |
Date: Tue, 20 Aug 2013 12:09:45 GMT | |
Server: Apache/2.2.22 (Debian) | |
Location: http://karu.nl/ | |
Cache-Control: max-age=1209600 | |
Expires: Tue, 03 Sep 2013 12:09:45 GMT | |
Vary: Accept-Encoding | |
Content-Type: text/html; charset=iso-8859-1 |
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
Welcome to the Emacs shell | |
~/.outlet $ curl -I -L http://plein-8.nl | |
HTTP/1.1 302 Found | |
Date: Tue, 20 Aug 2013 12:13:41 GMT | |
Server: Apache/2.2.22 (Debian) | |
X-Powered-By: PHP/5.3.9-1 | |
Location: http://plein-8.nl/install.php | |
Cache-Control: no-cache | |
Vary: Accept-Encoding |
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
sh-4.2$ ./bin/gmg dbupdate | |
Traceback (most recent call last): | |
File "./bin/gmg", line 9, in <module> | |
load_entry_point('mediagoblin==0.5.0.dev', 'console_scripts', 'gmg')() | |
File "/usr/local/mediagoblin/mediagoblin/mediagoblin/gmg_commands/__init__.py", line 92, in main_cli | |
setup_func = import_component(command_struct['setup']) | |
File "/usr/local/mediagoblin/mediagoblin/mediagoblin/tools/common.py", line 34, in import_component | |
__import__(module_name) | |
File "/usr/local/mediagoblin/mediagoblin/mediagoblin/gmg_commands/reprocess.py", line 22, in <module> | |
from mediagoblin.submit.lib import run_process_media |
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
RewriteRule ^masdelft/(.*) http://blah.com/$1 [R=301,L] |
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/lib/liberalstomp.php b/lib/liberalstomp.php | |
index 70c22c1..3a2358c 100644 | |
--- a/lib/liberalstomp.php | |
+++ b/lib/liberalstomp.php | |
@@ -77,7 +77,7 @@ class LiberalStomp extends Stomp | |
if (!$this->hasFrameToRead()) { | |
return false; | |
} | |
- | |
+ |
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/lib/activityobject.php b/lib/activityobject.php | |
index 741aefd..3efb36c 100644 | |
--- a/lib/activityobject.php | |
+++ b/lib/activityobject.php | |
@@ -633,7 +633,7 @@ class ActivityObject | |
if ($source->created) { | |
$object->date = $source->created; | |
} | |
$object->extra[] = array('status_net', array('source_code' => $source->code)); |
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
2013-09-21 13:03:44 LOG_NOTICE: [o.mrblog.nl:queuedaemon.php:16254] OStatusPlugin: Not queueing notice 3291970 for OStatus because it's not local. | |
2013-09-21 13:03:56 LOG_ERR: [o.mrblog.nl:queuedaemon.php:16254] HTTPClient: HTTP POST http://sn.postblue.info/main/salmon/group/1795 - 500 Internal Server Error | |
2013-09-21 13:03:56 LOG_ERR: [o.mrblog.nl:queuedaemon.php:16254] Salmon (MagicEnvelope) at http://sn.postblue.info/main/salmon/group/1795 returned status 500: <!DOCTYPE html> | |
<html> | |
<head> | |
<title>Error</title> | |
<style> | |
body { | |
width: 35em; | |
margin: 0 auto; |
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
commit eca10aee6f4232d84f91a9b764bb7d73943228df | |
Author: Marcel van der Boom <[email protected]> | |
Date: Mon Sep 23 12:32:30 2013 +0200 | |
Wrong call signature used for Event::handle | |
Call needs 2nd parameter to be array. | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
actions/profilecompletion.php | 2 +- |
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
- nr of workers := 1 + #cores*2 | |
- each process can handle only one request at a time | |
- what is the cost of having a worker? | |
- additional step is using a load balancer to distribute requests | |
- each worker has 2 connections to a database | |
- each worker can service multiple databases (but not at once) | |
- http://wiki.postgresql.org/wiki/Tuning_Your_PostgresSQL_Server | |
- suggested tool for performance monitoring: munin | |
- munin has postgres plugins | |
- postgresql.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
# Define our upstream host(s) | |
# Upstream means in this case the port where the pump.io application runs | |
# as it is all on the same machine. | |
upstream pumpbackend { | |
server 127.0.0.1:9999 max_fails=3; | |
} | |
# Only select next_upstream host on error | |
proxy_next_upstream error; | |
# define $connection_upgrade to be either |