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 (c) 2015 Solano Labs Inc. All Rights Reserved. | |
namespace :dashboard do | |
desc "Update all custom dashboard backing data" | |
task :update_all => :environment do | |
Dashboard.each do |d| | |
puts "Updating #{d.account.handle}/#{d.name}" | |
d.suites.each do |s| | |
s.sparkline_data = nil | |
s.update_sparkline_data |
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
build_package_combined_patch() { | |
local package_name="$1" | |
{ | |
curl https://gist.github.com/funny-falcon/4136373/raw/0b65118d0e0930c5dc15479722309fac971af902/falcon-gc.diff | patch -p1 | |
autoconf | |
./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS | |
make -j 8 | |
make install | |
} >&4 2>&1 |
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
:tddium: | |
:java: | |
:java_version: java-6-openjdk | |
:gradle_version: '1.11' | |
:tests: | |
- type: junit | |
output: exit-status | |
mode: parallel | |
prefix: 'Demo' | |
files: |
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
tddium: | |
:python: | |
:python_version: 2.7 | |
:hooks: | |
:pre_setup: | | |
pip install -r requirements/edx/pre.txt | |
pip install -r requirements/edx/base.txt | |
pip install -r requirements/edx/local.txt | |
pip install -r requirements/edx/github.txt | |
pip install -r requirements/edx/post.txt |
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 ruby | |
require 'optparse' | |
options = {} | |
OptionParser.new do |opts| | |
opts.banner = "Usage: #{$0} [options]" | |
opts.on("-d PREFIX", String, "Prefix") do |v| | |
options[:prefix] = v |
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
module CertificateSetup | |
def generate_server_cert(name, cn) | |
system "openssl genrsa -des3 -passout pass:x -out #{name}.pass.key 2048" | |
system "openssl rsa -passin pass:x -in #{name}.pass.key -out #{name}.key" | |
FileUtils.rm "#{name}.pass.key" | |
system "openssl req -new -key #{name}.key -out #{name}.csr -subj '/C=CA/ST=California/L=San Francisco/O=Testing/CN=#{cn}'" | |
system "openssl x509 -req -days 365 -in #{name}.csr -signkey #{name}.key -out #{name}.crt" | |
end | |
def generate_client_cert(name, cn, root) |
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
def cmd(c) | |
system c | |
end | |
namespace :tddium do | |
desc "post_build_hook" | |
task :post_build_hook do | |
# This build hook should only run after CI builds. | |
# | |
# There are other cases where we'd want to run something after every build, |
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
def cmd(c) | |
system c | |
end | |
namespace :tddium do | |
desc "post_build_hook" | |
task :post_build_hook do | |
# This build hook should only run after CI builds. | |
# | |
# There are other cases where we'd want to run something after every build, |
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
5 min: | |
~Objective-C + Rails: | |
Communicating w/rails from iOS/mac OS | |
Dan Hassin | |
1 min: | |
~Painless Javascript | |
koting hatduklgg | |
with wind tunnel |
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
MyStubServer.server_port = 54321 + ENV.fetch('TDDIUM_TID', 0).to_i |
NewerOlder