Andrew | pastyche.herokuapp.com |
---|---|
Arvind | getmeprepped.herokuapp.com |
# This Python file uses the following encoding: utf-8 | |
import json | |
from types import NoneType | |
def type_to_string(typ): | |
"""Return a custom Type name for python Type | |
:param typ: The python Type | |
:type typ: type. | |
:raises: TypeError |
var http = require('http'), | |
httpProxy = require('http-proxy'); | |
// | |
// A simple round-robin load balancing strategy. | |
// | |
// First, list the servers you want to use in your rotation. | |
// | |
var forwarding = { | |
"s.paddle.to" : { | |
target: "http://localhost:8001" |
import datetime | |
import xlrd | |
from pprint import PrettyPrinter | |
def trim_nones(li): | |
""" remove trailing Nones from a list """ | |
while li and li[-1] is None: | |
li.pop() |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
FROM ubuntu:14.04 | |
MAINTAINER Jean-Tiare Le Bigot "jt@lebigot.net" | |
ENV DEBIAN_FRONTEND noninteractive | |
# Grab all dependencies | |
RUN apt-get update \ | |
&& apt-get -y upgrade \ | |
&& apt-get -y install curl libx11-dev libxtst-dev libxcomposite-dev \ | |
libxdamage-dev libxkbfile-dev python-all-dev \ |
Below are a small collection of React examples to get anyone started using React. They progress from simpler to more complex/full featured.
- React documentation
- Flux architecture using Reflux (see this blog post for more)
- React routing with react-router
Revised date: 07/11/2012
Between us [company name] and you [customer name]
We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.
<!DOCTYPE html> | |
<head> | |
<title>Example Checkout w/ Google Analytics Tracking</title> | |
</head> | |
<body> | |
<!-- Need this included just once on any page you're selling something. Best to probably globally include it. --> | |
<script type="text/javascript" src="https://www.simplegoods.co/assets/embed.js"></script> | |
<!-- You probably already have jQuery included in your site. Here for completeness --> |
<snippet> | |
<content><![CDATA[ | |
var ${2:${1/.*\/([^\.]+)[\.]?(.*)/$1/g}} = require('${1:lib}'); | |
]]></content> | |
<tabTrigger>req</tabTrigger> | |
<scope>source.js</scope> | |
</snippet> |