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
# Copyright 2011 Hakan Kjellerstrand [email protected] | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
"""Glop example: the Stigler diet.""" | |
from google.apputils import app | |
from ortools.linear_solver import pywraplp | |
def main(_): | |
# Commodity, Unit, 1939 price (cents), Calories, Protein (g), Calcium (g), Iron (mg), Vitamin A (IU), Thiamine (mg), Riboflavin (mg), Niacin (mg), Ascorbic Acid (mg) | |
data = [ | |
['Wheat Flour (Enriched)', '10 lb.', 36, 44.7, 1411, 2, 365, 0, 55.4, 33.3, 441, 0], |
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
"""Glop simple example.""" | |
from google.apputils import app | |
from ortools.linear_solver import pywraplp | |
def main(_): | |
# Instantiate a Glop solver, naming it SolveSimpleSystem. | |
solver = pywraplp.Solver('SolveSimpleSystem', |
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:12.04 | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-6-jdk curl git-core build-essential bzr | |
RUN mkdir -p /tmp/downloads | |
# install go | |
RUN curl -sf -o /tmp/downloads/go1.1.1.linux-amd64.tar.gz -L https://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz | |
RUN mkdir -p /opt && cd /opt && tar xfz /tmp/downloads/go1.1.1.linux-amd64.tar.gz | |
# install jenkins | |
RUN curl -sf -o /opt/jenkins-1.523.war -L http://mirrors.jenkins-ci.org/war/1.523/jenkins.war |
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
#!/usr/bin/env node | |
//please requist your app token from | |
//https://trello.com/1/connect?key=yourkey&name=git-hook&expiration=never&response_type=token&scope=read,write | |
var key = "your key"; | |
var token = "your token"; | |
//https://trello.com/board/-/4e9003324a517dad44465056 | |
var board_id = "4e9003324a517dad44465056"; | |
var Trello = require("node-trello"); |
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
Name: play | |
Version: 1.2.3 | |
Release: 1%{?dist} | |
Summary: Play Framework | |
Group: System Environment/Daemons | |
License: Apache License, Version 2 | |
URL: http://www.playframework.org/ | |
Source0: http://download.playframework.org/releases/%{name}-%{version}.zip | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
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
<fields> | |
<field name="id" type="string" indexed="true" stored="true" required="true" /> | |
<field name="title" indexed="true" stored="true" type="text" /> | |
<field name="desc" indexed="true" stored="true" type="text" /> | |
<field name="_version_" type="long" indexed="true" stored="true"/> | |
</fields> | |
<uniqueKey>id</uniqueKey> |
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
<requestHandler name="/update" class="solr.UpdateRequestHandler" > | |
<lst name="defaults"> | |
<str name="update.chain">uuid</str> | |
</lst> | |
</requestHandler> | |
<updateRequestProcessorChain name="uuid"> | |
<processor class="solr.UUIDUpdateProcessorFactory"> | |
<str name="fieldName">id</str> | |
</processor> | |
<processor class="solr.RunUpdateProcessorFactory" /> |
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
Name: jruby | |
Version: 1.6.4 | |
#Version: 1.7.3 | |
Release: 1%{?dist} | |
Summary: Pure-Java Implementation of the Ruby Programming Language | |
Group: Development/System | |
License: Multiple | |
URL: http://www.jruby.org | |
Source0: http://jruby.org.s3.amazonaws.com/downloads/%{version}/%{name}-bin-%{version}.tar.gz |
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
Merge.class.php | |
Util.class.php | |
WSSoapClient.class.php | |
.svn |
NewerOlder