OPTIONS /bobthecow/mustache.php HTTP/1.1
User-Agent: SVN/1.7.7 neon/0.29.6
Connection: TE
TE: trailers
composition.addBindingHandler('timeago',{ | |
init: function(element, valueAccessor) { | |
var value = ko.utils.unwrapObservable(valueAccessor()); | |
var $this = $(element); | |
$this.attr($.timeago.isTime($this) ? 'datetime' : 'title', value); | |
$this.timeago(); | |
}, | |
update: function(element, valueAccessor) { |
# Install the prereqs. | |
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev | |
# Make sure there are no old versions lying around... | |
sudo apt-get remove -y ruby1.8 ruby1.9.1 ruby-1.9.3 | |
mkdir /tmp/ruby && cd /tmp/ruby | |
curl --progress ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz | tar xz | |
cd ruby-2.0.0-p247 | |
./configure |
2012-12-10 14:48:44 --- CRITICAL: ErrorException [ 8 ]: Undefined property: Model_ActionPlan::$status ~ MODPATH\baloo\classes\Model\ActionPlan.php [ 78 ] in <APP DIRECTORY>\modules\baloo\classes\Model\ActionPlan.php:78 | |
2012-12-10 14:48:44 --- DEBUG: #0 C:\Web\CMSC435-game\branches\gameplay\modules\baloo\classes\Model\ActionPlan.php(78): Kohana_Core::error_handler(8, 'Undefined prope...', 'C:\Web\CMSC435-...', 78, Array) | |
#1 <APP DIRECTORY>\modules\baloo\classes\Model\ActionPlan.php(32): Model_ActionPlan->close(Object(Model_Game), Object(Model_User), 'failure') | |
#2 <APP DIRECTORY>\modules\mongodb\classes\Mongo\Document.php(868): Model_ActionPlan->after_load() | |
#3 <APP DIRECTORY>\modules\mongodb\classes\Mongo\Document.php(992): Mongo_Document->load_values(Array, true) | |
#4 <APP DIRECTORY>\modules\mongodb\classes\Mongo\Document.php(561): Mongo_Document->load() | |
#5 <APP DIRECTORY>\modules\baloo\classes\Model\Question.php(285): Mongo_Document->__get('status') | |
#6 <APP DIRECTORY>\modules\baloo\classes\Model\Game.php(68): |
<?php defined('SYSPATH') OR die('No direct access allowed.'); | |
class Model_ActionPlan extends Mongo_Document | |
{ | |
/** | |
* The name of the collection within the database. | |
* | |
* @var string | |
*/ | |
protected $name; |
( function ( window, undefined ) { | |
var Aloha = window.Aloha || ( window.Aloha = {} ); | |
Aloha.settings = { | |
logLevels: { 'error': true, 'warn': true, 'info': true, 'debug': false, 'deprecated': true }, | |
errorhandling: false, | |
ribbon: false, | |
locale: 'en', | |
floatingmenu: { | |
width: 630, |
mmkatz@hyperion:/tmp/mmkatz/fuse-test/redis/src$ ./redis-server | |
13958:C 11 Sep 21:03:08.268 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf | |
13958:M 11 Sep 21:03:08.270 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. | |
13958:M 11 Sep 21:03:08.270 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted. | |
13958:M 11 Sep 21:03:08.270 # Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. | |
_._ | |
_.-``__ ''-._ | |
_.-`` `. `_. ''-._ Redis 2.9.999 (f5efa9bb/0) 64 bit | |
.-`` .-```. ```\/ _.,_ ''-._ | |
( ' , .-` | `, ) Running in standalone mode |
Installing atom-color-highlight to C:\Users\moshe\.atom\packages failed | |
> oniguruma@2.0.0 install C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma | |
> node-gyp rebuild | |
C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma>node "C:\Chocolatey\lib\Atom.0.117.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
regposix.c | |
regposerr.c |
#Dada Mail (or any other CGI) on Nginx
DISCLAIMER: DO NOT rely on this for production (yet)! I'm not done testing it out.
Nginx does not have built in support for traditional CGI applications (of which Dada Mail is one), so it won't work out of the box.
To make a very long story short, here are a Plack wrapper script and nginx configuration that I have found seem to work.
Notes:
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml | |
index 59075ab..c2af1b1 100644 | |
--- a/app/views/projects/show.html.haml | |
+++ b/app/views/projects/show.html.haml | |
@@ -2,10 +2,16 @@ | |
.row | |
.col-md-9 | |
- = render "events/event_last_push", event: @last_push | |
- = render 'shared/event_filter' |