Get it from:
http://examples.cloudant.com/animaldb
var nodeio = require('node.io'), | |
options = {timeout: 10}; | |
exports.job = new nodeio.Job(options, { | |
input: false, | |
run: function (keyword) { | |
this.getHtml('http://robert-kowalski.de', function (err, $) { | |
var titles = []; | |
$('h1.entry-title') | |
.each(function(element) { |
function setGplusButton($anchor, href) { | |
var $tpl = $('<g:plusone size="small" annotation="bubble" href=""></g:plusone>'); | |
$tpl.attr('href', href); | |
$anchor.after($tpl); | |
} | |
$(function() { | |
var $anchors = $('a.gplus'), | |
$a, | |
href; |
!function(a,c,o){for(b=a.length;b--;)o=a[b].innerText.match(/€(\d*)/),o&&o[1]>c&&a[b].remove()}(document.querySelectorAll('tr'),15) |
var request = require('request') | |
var testDbName = 'foobar123' + Math.floor(Math.random() * 10000) | |
var cookieJar = request.jar() | |
request({ | |
jar: cookieJar, | |
method: 'POST', | |
form: { |
git clone https://github.com/npm/npm-registry-couchapp
git checkout 0086fbc0d93c65f79a079169c6e08c4928597f6b
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIugg/Fexmf1awaEar9QdYWJdiNEajjnvOoGYGlYRmbGrJ3WJK+7q6Ebzff7ZfhH8uFvyRfCwdE4oJW1M1TQPnxgkzCfs8zAqjwPAQJLEUPBLLh9RFMEHHLp02DLvhmnWYtIx0DOl03/rq+XS90WYacvMlAXNMaQQukyNc4jvB2l4Su6qa89sBq9vz5glrD8v1l93/nBucVvNvEmfbOGuSsi47hGDkezsISsl37LBmNKLR8+gQQMVzOZQcfLxycACH6q98K2oli76PIMh305z/5BLOrlrcUX7JyoPtP304vRjusU0orITQQqeeuO29gg81+IfwLf+V6Afr1A7RbyDH robert@tequila-work |
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:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
BOX_NAME = ENV['BOX_NAME'] || "ubuntu" | |
BOX_URI = ENV['BOX_URI'] || "http://files.vagrantup.com/precise64.box" | |
AWS_REGION = ENV['AWS_REGION'] || "us-east-1" | |
AWS_AMI = ENV['AWS_AMI'] || "ami-d0f89fb9" | |
Vagrant::Config.run do |config| | |
# Setup virtual machine box. This VM configuration code is always executed. |