Skip to content

Instantly share code, notes, and snippets.

View mignev's full-sized avatar

Marian Ignev mignev

View GitHub Profile
@mignev
mignev / _usage
Created November 25, 2013 14:17 — forked from subosito/_usage
curl https://raw.github.com/gist/3342482/57d1f618104185aa89044f934c4f86cb74e11553/rbenv-openshift.sh | bash
@mignev
mignev / example.com
Created September 12, 2013 13:19
Django deployment with Nginx and Tornado Web
upstream tornadoFrontends {
server 127.0.0.1:8000;
server 127.0.0.1:8001;
server 127.0.0.1:8002;
server 127.0.0.1:8003;
}
server {
listen 80;
@mignev
mignev / index.html
Created March 25, 2012 15:44
SpineJS JavaScript api fix: Simple example for properties in spinejs models, controllers and etc.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>App</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1; maximum-scale=1.0; user-scalable=0;"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<link rel="stylesheet" href="/application.css" type="text/css" charset="utf-8">
@mignev
mignev / gist:1683387
Created January 26, 2012 15:46
Simple example of webview in appcelerator
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
// create tab group
var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
//