| 更新: | 2013-11-01 |
|---|---|
| バージョン: | 0.0.1 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
概要
| FROM ubuntu | |
| MAINTAINER Derek Hohls <[email protected]> | |
| # make sure the package repository is up to date | |
| RUN apt-get update | |
| # general | |
| RUN apt-get install -y gcc patch wget curl nano | |
| # Install Subversion 1.8 and Apache |
| # Sets up | |
| FROM ubuntu:precise | |
| # Install Subversion 1.8 and Apache | |
| RUN apt-get install -y wget | |
| RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ precise universe' >> /etc/apt/sources.list | |
| RUN sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/WANdisco.list' | |
| RUN wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | apt-key add - | |
| RUN apt-get update -y |
| 更新: | 2013-11-01 |
|---|---|
| バージョン: | 0.0.1 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
概要
| <?php | |
| error_reporting(1); | |
| require("workflows.php"); | |
| // 設定ファイルに登録されたユーザ名を返す | |
| function get_user_name() { | |
| $f = fopen("./user", "r"); | |
| return fgets($f); | |
| } |
disable_flush and disable_recovery (TD)| USER=rentzsch | |
| PASS=mypassword | |
| REPO=mogenerator | |
| # Delete default labels | |
| curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/bug" | |
| curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/duplicate" | |
| curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/enhancement" | |
| curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/invalid" | |
| curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/question" |
Changes:
this version includes backport of Greg Price's patch for speedup startup http://bugs.ruby-lang.org/issues/7158 .
ruby-core prefers his way to do thing, so that I abandon cached-lp and sorted-lf patches of mine.
this version integrates 'array as queue' patch, which improves performance when push/shift pattern is heavily used on Array.
This patch is accepted into trunk for Ruby 2.0 and last possible bug is found by Yui Naruse. It is used in production* for a couple of months without issues even with this bug.
| # Description: | |
| # This script receives pages in the formats | |
| # /usr/bin/curl -d host="$HOSTALIAS$" -d output="$SERVICEOUTPUT$" -d description="$SERVICEDESC$" -d type=service -d state="$SERVICESTATE$" $CONTACTADDRESS1$ | |
| # /usr/bin/curl -d host="$HOSTNAME$" -d output="$HOSTOUTPUT$" -d type=host -d state="$HOSTSTATE$" $CONTACTADDRESS1$ | |
| # | |
| # Author: | |
| # oremj | |
| irc = require('irc') |
| #!/usr/bin/php | |
| <?php | |
| $repos = array(); | |
| exec('find -type d -name .git | sed -e "s/\.git//"', $repos); | |
| foreach ($repos as $repo) { | |
| $status = shell_exec("cd $repo && git status"); | |
| if (false == strpos($status, 'nothing to commit (working directory clean)')) { | |
| echo "$repo\n" . str_repeat('-', strlen($repo)) . "\n$status\n\n"; | |
| } | |
| } |