Skip to content

Instantly share code, notes, and snippets.

View alextucker's full-sized avatar
🙏

Alex Tucker alextucker

🙏
View GitHub Profile
@alextucker
alextucker / gist:848266
Created February 28, 2011 23:24
Selecting Kohana enviroment
<?php
if ($_SERVER['SERVER_NAME'] == 'localhost' ) {
Kohana::$environment = Kohana::DEVELOPMENT;
} else {
Kohana::$environment = Kohana::PRODUCTION;
}
@alextucker
alextucker / gist:675778
Created November 14, 2010 00:25
./configure on Ubuntu 10.10 EC2 Instance
Traceback (most recent call last):
File "/home/ubuntu/node/tools/waf-light", line 158, in <module>
Scripting.prepare(t, cwd, VERSION, wafdir)
File "/home/ubuntu/node/tools/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/home/ubuntu/node/tools/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/home/ubuntu/node/tools/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/home/ubuntu/node/tools/wafadmin/Scripting.py", line 241, in configure