These are the Kickstarter Engineering and Data role definitions for both teams.
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
url = ARGV[0] | |
class Document < Nokogiri::XML::SAX::Document | |
SEMANTIC_CONTAINERS = %w(body article section nav aside hgroup header footer) | |
COUNT_ELEMENTS = %w(p a) |
#!/usr/bin/env ruby | |
def usage | |
puts "./pair [name]: pair two people" | |
puts "./pair : switch to just steve" | |
exit | |
end | |
def set_config(name, email) | |
`git config user.name "#{name}"` |
-----BEGIN RSA PRIVATE KEY----- | |
MIIEpAIBAAKCAQEAwijdP3d/kX/2amSFaqswoHQma47ahyf1Be8UM0v33Lospfr3 | |
FnSgRa2Wfn0lguBw534ls0yVAoFa3ZKs3AkBvWbf0WwJb5WwOWlYxo0IfLT2r+Zm | |
qlmit0KbRkPpVeW6/4FB/qN+j4S57yFMP9ISbqG1VbxdW3SIwXzYrzRyadQgE1+d | |
7pSVCUzXHjYMdqlbK45Zy+aOV4JXloBb7ygLxXEsXRFJK3gDa1I6syPsl22k86MQ | |
0bagDEj1KkGS0XuFWUs1Ay+LMpwjLHkZxZm3D8XOv1c81M1ndduS2Al/NBT9SY5q | |
SaYu14XqdA6Ccc3nkMbNc5sqNgWdKEoLpAt/eQIDAQABAoIBAQCZ8sTbGekweQHt | |
gh63YV2BHBeKmQ50tB33woWF1uqFPalBQijAyWB7XxRA3wHrMALVypQiAsrz3ZUq | |
sq4VGZ8jinpVFxC0RUAhhYI6jID6QJKJDmrBD6mRHWL458gPr8QB639kZEZpjZfQ | |
H9rRj8PFrLqXbG+poFD++frlkPRXK9Tlw5/g1rujr2d/C9IoZ7P2nZVDkKV0An/7 |
specs.4.8 | |
prerelease_specs.4.8 | |
versions.list | |
names.list | |
specs | |
deps | |
gems | |
*.sha512 |
#!/bin/bash | |
set -ex | |
bundle install --standalone | |
digest=$(md5 -q Gemfile) | |
cmd="raise \"Gemfile changed\" if %x[md5 -q Gemfile].chomp != \"${digest}\"" | |
echo $cmd > bundle/bundler/setup.rb.new | |
cat bundle/bundler/setup.rb >> bundle/bundler/setup.rb.new |
# Works with RSpec 3.2.0 | |
module Sometimes | |
def run_with_retries(example_to_run, retries) | |
example = RSpec.current_example | |
example.metadata[:retries] ||= retries | |
retries.times do |t| | |
example.metadata[:retried] = t + 1 | |
example.instance_variable_set(:@exception, nil) | |
example_to_run.run |
var request = require('request'); | |
function shouldNotify(data) { | |
return data.text.includes("andre") || data.text.includes("indirect"); | |
} | |
module.exports = function (context, done) { | |
console.log(JSON.stringify(context)); | |
if (context.body.token === context.data.EXPECTED_TOKEN) { | |
if (shouldNotify(context.body)) { |
A web application that collects usage information from RubyGems.org, and surfaces that information in charts and graphs for use by the Ruby community—the initial version includes Ruby, Bundler, and RubyGems versions, as well as Ruby platform and CI platform.
Project link: https://github.com/rubytogether/ecosystem
Sid Krishnan, a contributor to the project for the last few months, collaborating with André Arko, the original creator.
An acquaintance needed a video kiosk that plays looping videos for an exposition booth. Since I have a bunch of Raspberry Pis lying around, I figured that it would be the perfect use case for using one of them.
Let's assume we start from scratch, with a unflashed, brand new SD card and your Raspberry Pi.
Install a version of Raspbian that includes the desktop. You can head over to : https://www.raspberrypi.org/downloads/raspbian/ and follow the instructions.
Once the image is downloaded, you can burn it to your SD card with tools like Etcher (https://www.balena.io/etcher/)