<div ><input type="button" value="bigger" id="bigger"></input></div>
<div><input type="button" value="normal" id="smaller"></input></div>
<div><input type="button" value="smaller" id="normal"></input></div>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
gulp.task('default', function() { | |
gulp.start('copy_files'); | |
}); | |
gulp.task('copy_files', function() { | |
gulp.src('./public/**') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Andrew | pastyche.herokuapp.com |
---|---|
Arvind | getmeprepped.herokuapp.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<thead> | |
<tr class="header"> | |
<th style="text-align: left;">Cohort</th> | |
<th style="text-align: left;">2011</th> | |
<th style="text-align: left;">2012</th> | |
<th style="text-align: left;">2013</th> | |
<th style="text-align: left;">2014</th> | |
</tr> | |
</thead> |
- Download compressed file - https://pypi.python.org/packages/source/s/setuptools/setuptools-5.7.tar.gz#md5=81f980854a239d60d074d6ba052e21ed
- Extract
- Navigate to the driectory:
cd setuptools-5.7
- Install:
sudo python ez_setup.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ |
OlderNewer