あまり深く理解してないので識者のツッコミ大歓迎
取り敢えず最低限だけ
# 補完を有効にする| # Requirements: | |
| # https://github.com/vigetlabs/capistrano_rsync_with_remote_cache | |
| # https://github.com/ndbroadbent/turbo-sprockets-rails3 | |
| require 'capistrano/recipes/deploy/strategy/rsync_with_remote_cache' | |
| Capistrano::Deploy::Strategy::RsyncWithRemoteCache.class_eval do | |
| def deploy! | |
| update_local_cache | |
| prepare_assets | |
| update_remote_cache | |
| finalize_assets |
| var page = require('webpage').create(); | |
| phantom.cookiesEnabled = true; | |
| console.log('\n\n cookies we know about => \n\n' + JSON.stringify(phantom.cookies, null, 2)); | |
| // spoof user-agent | |
| page.settings.userAgent = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0'; | |
| const USER = 'cvUg338yQa'; | |
| const PASS = 'GNyoqNKJK5'; |
| <?php | |
| /** | |
| * php-ansi-color | |
| * | |
| * Original | |
| * https://github.com/loopj/commonjs-ansi-color | |
| * | |
| * @code | |
| * <?php | |
| * require_once "ansi-color.php"; |
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:
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use POSIX qw/mkfifo/; | |
| use File::Temp qw/tempfile/; | |
| use Scalar::Util qw/looks_like_number/; | |
| use IO::Handle; | |
| my $log_file = '/tmp/dstat.log'; | |
| my (undef, $pipe) = tempfile("dstat_XXXX", DIR => '/tmp', SUFFIX => '.pipe'); |
| require 'formula' | |
| class Screenx < Formula | |
| homepage 'http://www.gnu.org/software/screen/' | |
| url 'http://git.savannah.gnu.org/cgit/screen.git/snapshot/screen-master.tar.gz' | |
| sha1 '642588a585fca1def67bd85172addf9cd0a0c745' | |
| version '4.1.0-20110819git450e8f3' | |
| head 'git://git.savannah.gnu.org/screen.git', :branch => 'master' |