This Gist: http://is.gd/dokkudjango
DigitalOcean: https://www.digitalocean.com/
Dokku: https://github.com/progrium/dokku
Dokku-Postgres: https://github.com/Kloadut/dokku-pg-plugin
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 |
<?php | |
if ($_SERVER['SERVER_NAME'] == 'localhost' ) { | |
Kohana::$environment = Kohana::DEVELOPMENT; | |
} else { | |
Kohana::$environment = Kohana::PRODUCTION; | |
} |
<?php | |
if (Kohana::$environment == Kohana::DEVELOPMENT) { | |
Kohana::init(array( | |
'base_url' => '/yourapp/', | |
'profile' => TRUE, | |
'caching' => FALSE, | |
'index_file' => TRUE, | |
)); | |
} else { | |
//In Production |
package test; | |
import java.util.Scanner; | |
public class Example { | |
private int numQuestions; | |
/** | |
* @param args |
<img src="http://www.holder.io/face/male"> | |
<img src="http://www.holder.io/face/female"> |
// Get UI Context | |
var ui = DocumentApp.getUi(); | |
function onOpen(){ | |
ui.createMenu('Stocks').addItem('Add Stock Info', 'addStockInfo_').addToUi(); | |
} | |
// Handle Menu Item | |
function addStockInfo_(){ | |
// Prompt user and get result |
This Gist: http://is.gd/dokkudjango
DigitalOcean: https://www.digitalocean.com/
Dokku: https://github.com/progrium/dokku
Dokku-Postgres: https://github.com/Kloadut/dokku-pg-plugin
ssh [email protected] |
wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash |