This file contains hidden or 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
Mar 05 16:52:29 le-mbr rails[29845]: -------------------------------------------------------------------------------- | |
Mar 05 16:52:29 le-mbr rails[29845]: GC STATISTICS | |
Mar 05 16:52:29 le-mbr rails[29845]: + Mem: 1012840 kb | |
Mar 05 16:52:29 le-mbr rails[29845]: + GCs: 3 | |
Mar 05 16:52:29 le-mbr rails[29845]: + Num: 976370 | |
Mar 05 16:52:29 le-mbr rails[29845]: + Size: 14607 kb | |
Mar 05 16:52:29 le-mbr rails[29845]: + Time: 1735.706 ms | |
Mar 05 16:52:29 le-mbr rails[29845]: + All: 2672.402 ms | |
Mar 05 16:52:29 le-mbr rails[29845]: -------------------------------------------------------------------------------- | |
Mar 05 16:52:30 le-mbr rails[29845]: -------------------------------------------------------------------------------- |
This file contains hidden or 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
/* | |
Version: @@ver@@ Timestamp: @@timestamp@@ | |
*/ | |
.select2-container { | |
position: relative; | |
display: inline-block; | |
/* inline-block for ie7 */ | |
zoom: 1; | |
*display: inline; | |
vertical-align: middle; |
This file contains hidden or 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
name | repeats | companies | |
-----------------------------------+-------------+------------------------------------------------------------ | |
2,4-D Amine 625 | {3297,5867} | {"Crop Care","4Farmers Pty Ltd"} | |
Atrazine 900 WDG | {2183,5823} | {"Generic ","4Farmers Pty Ltd"} | |
Bromoxynil 200 | {93,5870} | {"Generic ","4Farmers Pty Ltd"} | |
Clodinafop 240 EC | {2068,5872} | {"Generic ","4Farmers Pty Ltd"} | |
Clopyralid 300 | {2356,5853} | {"Generic ","4Farmers Pty Ltd"} | |
Diflufenican 500 | {1989,5855} | {"Generic ","4Farmers Pty Ltd"} | |
Dimethoate 400 | {4259,5829} | {"Farmoz Pty Ltd","4Farmers Pty Ltd"} | |
Fetrilon Combi 2 | {5194,5747} | {"Generic ","4Farmers Pty Ltd"} |
This file contains hidden or 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
Apr 03 13:58:22 le-mbr rails[32401]: SQL (1.6ms) UPDATE "delayed_jobs" SET locked_at = '2013-04-03 05:58:22.886930', locked_by = 'host:le-mbr pid:32401' WHERE (id = 718125 and (locked_at is null or locked_at < '2013-04-03 01:58:22.886930') and (run_at <= '2013-04-03 05:58:22.886930')) | |
Apr 03 13:58:22 le-mbr rails[32401]: Relationship Load (0.6ms) SELECT "relationships".* FROM "relationships" WHERE "relationships"."id" = $1 LIMIT 1 [["id", 63280]] | |
Apr 03 13:58:22 le-mbr rails[32401]: Controller Exception: OMG TESTIUNG!!!["/Users/lewang/src/website/lib/shared_group_invalidates.rb:22:in `invalidate_shared_group'", "/Users/lewang/src/website/lib/shared_group_invalidates.rb:16:in `invalidate_shared_group_self_without_delay'", "/Users/lewang/src/website/lib/background_airbrake.rb:26:in `send'", "/Users/lewang/src/website/lib/background_airbrake.rb:26:in `perform'", "/Users/lewang/.rvm/gems/[email protected]/gems/delayed_job-3.0.3/lib/delayed/backend/base.rb:94:in `invoke_job'", "/Users/lewang/.rvm |
This file contains hidden or 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. "%" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 <[email protected]> | |
;; Will Farrington <[email protected]> | |
;; Michael Ivey |