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 le-ssh-keys (circle.bitbucket.client/user-ssh-keys (circle.model.user.bitbucket/get-bitbucket-access-token! le) "lewang")) | |
CompilerException clojure.lang.ExceptionInfo: clj-http: status 404 {:status 404, :headers {"X-Accepted-OAuth-Scopes" "account", "Server" "nginx/1.6.2", "Content-Type" "text/plain; charset=utf-8", "Content-Length" "71", "X-Frame-Options" "SAMEORIGIN", "Strict-Transport-Security" "max-age=31536000", "Connection" "close", "X-Request-Count" "3", "X-Version" "cee7bedf65a1", "ETag" "\"277d9861243763e579a650af3e672d7b\"", "X-Static-Version" "cee7bedf65a1", "X-OAuth-Scopes" "webhook, pullrequest, repository:admin, repository:write, project:write, team, account:write", "Date" "Fri, 06 May 2016 18:15:59 GMT", "Vary" "Authorization, Cookie", "X-Render-Time" "0.0313320159912", "X-Served-By" "app-113"}, :body "This API has been deprecated and is not available through OAuth2 or JWT", :request-time 314, :trace-redirects ["https://api.bitbucket.org/1.0/users/lewang/ssh-keys"], :orig-content-encoding |
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 util = require("util"); | |
var request = require('request'); | |
var apiKey = process.env.CIRCLE_KEY; | |
var org = "circleci"; | |
var project = "circle"; | |
var branch = "master"; | |
function getArtifacts(buildNum) { |
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
sdfa |
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
Hagelberg | |
;; Dan McKinley | |
;; Vers |
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
;; Contributors: | |
;; Chris Wanstrath <chris@ozmm.org> | |
;; Will Farrington <wcfarrington@gmail.com> | |
;; Michael Ivey |
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
################# | |
# host specific # | |
################# | |
backup | |
tmp | |
.zcompdump | |
.perldb | |
.mdbhistory | |
.rnd |
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
User 5712 - John Doe | |
BEFORE | |
foo1 - 2013-09-26 13:44 | |
AFTER | |
foo1 - 2013-09-26 13:44 | |
User 8960 - John Doe | |
BEFORE | |
foo2 blah - 2013-12-30 16:00 | |
foo1 - 2013-12-30 16:00 |
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 'rubygems' | |
gem "ruby_parser", "~> 2.0" | |
require 'ruby_parser' | |
class Step | |
attr_reader :file, :line, :regexp | |
def initialize(regexp, file, line) | |
@file, @line = file, line | |
self.regexp = regexp | |
end |
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
# be script/sub_analyzer.rb input.txt > import_spans.csv |
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
diff --git a/lib/ruby_units.rb b/lib/ruby_units.rb | |
index 4aaf462..cd51437 100644 | |
--- a/lib/ruby_units.rb | |
+++ b/lib/ruby_units.rb | |
@@ -141,6 +141,8 @@ class Unit | |
actual_numerator, actual_denominator = actual | |
new_numerator += actual_numerator | |
new_denominator += actual_denominator | |
+ elsif :unitless == Unit.definition(unit_part).kind | |
+ # ignore unitless, e.g. "%" |