Skip to content

Instantly share code, notes, and snippets.

View kuccello's full-sized avatar

Kristan Krispy Uccello kuccello

View GitHub Profile
.
|-- README
|-- lib
| |-- lightsource
| | |-- auth.rb
| | |-- model
| | | `-- model
| | | |-- xampl-gen.sh
| | | `-- xml
| | | `-- lightsource.xml
<div id='content'>
<div class='wide'>
<div class='top'></div>
<div class='txt'>
<div id='galleryPages'>
<div>
<script type='text/javascript'>
$().ready(function(){
jQuery("#itunesfeature").itunesFeature();
});
server {
listen 80 default;
server_name _;
access_log /var/log/nginx/engine.log;
server_name_in_redirect off;
location / {
proxy_pass http://127.0.0.1:8080/;
include /etc/nginx/proxy.conf;
}
}
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffers 32 4k;
Error: 500 Internal Server Error
Error: Template path "app/views/_js.html.ejs" not found
at Error. (/Users/kuccello/Development/SoldierOfCode/Projects/TaskMap/vendor/geddy-core/lib/errors.js:39:13)
at [object Object].partial (/Users/kuccello/Development/SoldierOfCode/Projects/TaskMap/vendor/geddy-core/lib/controller.js:343:15)
at Object.partial (/Users/kuccello/Development/SoldierOfCode/Projects/TaskMap/vendor/geddy-core/lib/controller.js:327:28)
at [object Object]. (eval at (/Users/kuccello/.node_libraries/geddy-core/lib/fleegix.js:1:13157))
at [object Object].process (/Users/kuccello/.node_libraries/geddy-core/lib/fleegix.js:1:13157)
at /Users/kuccello/Development/SoldierOfCode/Projects/TaskMap/vendor/geddy-core/lib/templates.js:92:13
at fs:81:13
taskmap.js
-------------
var sys = require('sys');
sys.puts("Loading taskmap...");
var Taskmap = function () {
this.respondsWith = ['html', 'json', 'txt'];
@kuccello
kuccello / terminal_ansicolors.rb
Created October 24, 2011 14:49 — forked from potomak/terminal_ansicolors.rb
Testing terminal colors
require 'rubygems'
require 'term/ansicolor'
COLORS = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white']
class String
include Term::ANSIColor
end
(0..15).each do |x|
@kuccello
kuccello / index.js
Created May 10, 2012 21:20 — forked from steeleforge/index.js
Simple node.js webserver with logging. Serves whatever files are reachable from the directory where node is running. [support for Node for Windows]
/*
* Fork & Refactor of https://gist.github.com/246761
* -> Credit: Noah Sloan <http://noahsloan.com>
*/
/**
* Simple webserver with logging. Serves whatever files are reachable from
* the directory where node is running. Supports Windows port of node.
*/
var fs = require('fs'),
@kuccello
kuccello / gist:2942786
Created June 16, 2012 23:08
Simple HTML
<html>
<head>
<title>Hello</title>
</head>
<body>
<h1>Hello World!</h1>
<p>Greetings from the internet!</p>
</body>
</html>