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
{ | |
"LABEL": { | |
"name": "PR title needs jira ticket", | |
"color": "CC00CC" | |
}, | |
"CHECKS": { | |
"alwaysPassCI": false, | |
"prefixes": [ "Bump " ], | |
"regexp": "\\[[A-Z]{2,}-\\d+(,\\s*[A-Z]{2,}-\\d+)*\\]", | |
"regexpFlags": "", |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title>Seitenr?nder - marginwidth, marginheight, topmargin, leftmargin</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
var baseUrl; |
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
var expect = require("chai").expect; | |
var walk_tests = require("./walk_xunit_tests.js").walk_tests; | |
var util = require('util'); | |
describe("walk_tests", function() { | |
let input = `<?xml version="1.0" encoding="UTF-8"?> | |
<testsuites> | |
<testsuite name="SuiteA" errors="0" skipped="1" tests="3" failures="1"> | |
<testcase classname="Class A" name="test1" time="0.006" status="run"/> |
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
require 'git' | |
require 'json' | |
filename = 'data.json' | |
working_dir = 'resources/repo1/' | |
g = Git.open(working_dir) #, :log => Logger.new(STDOUT)) | |
history = [] | |
g.log.path(filename).each do |log_entry| |
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
INFO global: Vagrant version: 1.7.2 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_DEFAULT_PROVIDER="virtualbox" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant" | |
INFO global: VAGRANT_LOG="debug" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_DETECTED_OS="Darwin" | |
INFO global: VAGRANT_INSTALLER_ENV="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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Generic AWS Regional Status Page</title> | |
<meta name="description" content="Generic AWS Regional Status Page"> | |
<meta name="copyright" content="Copyright (c) 2012 Alex Schwartz"> | |
<meta name="author" content="Alex Schwartz"> |
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
require "socket" | |
# The irc class, which talks to the server and holds the main event loop | |
class IRC | |
def initialize(params) | |
@host = params[:host] | |
@port = params[:port] | |
@nick = params[:nick] | |
@channel = params[:channel] |
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
require 'sinatra' | |
require 'open-uri' | |
get '/?' do | |
erb :index | |
end | |
get '/proxy/:domain/:port/?*' do |domain,port,path| | |
puts "TBD: proxy domain #{domain}, path #{path}" |
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
require 'rspec' | |
describe 'AnagramPairFinder' do | |
let(:dictionary) { %w{ hot dog cat } } | |
let(:splitter) { AnagramPairFinder.new(dictionary) } | |
describe "#lookup" do | |
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
## Given a git repo with at least one branch (for example "tags/A") | |
## which should be transformed into a tag | |
for t in `git branch -r | grep tags | perl -pi -e "s/origin\///"`; do | |
echo ============================ $t ; | |
REV=`git log -1 --pretty=%h origin/$t`; | |
COMMENT=`git log -1 --pretty=%s origin/$t`; | |
TAG=`echo $t | cut -d'/' -f2`; | |
echo $t .. $REV .. $COMMENT .. $TAG; | |
git tag -a $TAG -m "$COMMENT" $REV; |
NewerOlder