Skip to content

Instantly share code, notes, and snippets.

View alexleventer's full-sized avatar
💭

Alex Leventer alexleventer

💭
View GitHub Profile
[beta-prspct.rhcloud.com repo]\> node server.js
ççWarning: require('react/addons') is deprecated. Access using require('react-addons-{addon}') instead.
/var/lib/openshift/562d7e6c0c1e6601c10000d9/app-deployments/2015-10-31_19-09-52.208/repo/public/components/Dropdown.js:28
<div key={"menu-component"} onClick={this.handleClick} className="menu-w
^
SyntaxError: Unexpected token <
at Module._compile (module.js:439:25)
at Object.require.extensions.(anonymous function) [as .js] (/var/lib/openshift/562d7e6c0c1e6601c10000d9/app-deployments/2015-10-31_19-09-52.208/repo/node_modules/node-jsx/index.js:26:12)
at Module.load (module.js:356:32)
@alexleventer
alexleventer / github-integration-marketing-guidelines.md
Last active October 27, 2015 23:27
Distelli GitHub Integration Listing
var React = require('react');
var MainLayout = require('./layouts/main');
var $ = require('jquery');
var dashboard = React.createClass({
componentWillMount: function(){
$.ajax({
url: 'localhost:3000/ga',
type: 'GET',
dataType: 'json',
gametime/gametime-ios:
PkgInclude:
-'*'
Build:
- 'trap ''e=$?;[ $e = 0 ] || echo ""FAILED: $BASH_COMMAND"" 1>&2;exit $e'' EXIT'
- sudo ios profiles:download:all --type distribution
@alexleventer
alexleventer / gist:b9bc2cfb5cc29444d66f
Last active August 29, 2015 14:21
Ruby CentOS Distelli Manifest Provision
<username>/RubyCentOSPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: CentOS
#
Env:
- PORT: 8003
- STAGE: production
@alexleventer
alexleventer / gist:198e4c87770bb1d7319d
Last active August 29, 2015 14:21
Python Ubuntu Distelli Manifest Provision
<username>/PythonUbuntuPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: Ubuntu
# Installed Packages:
# Python >= 2.5 [sudo apt-get update]
# [sudo apt-get install python]
# Pip >= 1.4 (python-pip) [sudo apt-get install python-pip]
# virtualenv >= 1.9 [sudo apt-get install python-virtualenv]
@alexleventer
alexleventer / gist:5cef27b1e5cb054d09a9
Last active August 29, 2015 14:21
Python CentOS Distelli Manifest Provision
<username>/PythonCentOSPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: CentOS7
# Installed Packages:
# Python >= 2.5 [sudo yum install python]
# Pip >= 1.4 (python-pip) [sudo rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm]
# [sudo yum update]
# [sudo yum install python-pip]
@alexleventer
alexleventer / gist:8f5f6b9ccf8de75902a9
Last active August 29, 2015 14:21
NodeJS Centos Distelli Manifest Provision
<username>/NodeCentOSPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
PkgInclude:
- server.js
PkgExclude:
- node_modules/
PreInstall:
- echo "PreInstall Starting."
@alexleventer
alexleventer / gist:9f99a0f98ff12a503e0a
Last active August 29, 2015 14:21
NodeJS Ubuntu Distelli Manifest Provision
<username>/NodeUbuntuPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: Ubuntu
# Installed Packages:
# nodejs >= 0.9 [sudo apt-get install nodejs]
# npm >= 1.1 [sudo apt-get install npm]
#