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
Name | 8ZYQ1474W7: Sodium Fluoride (Fluoride Ion) | C810JCZ56Q: Sodium Monofluorophosphate (Fluoride Ion) | RU45X2JN0Z: Potassium Nitrate (Nitrate Ion) | 4NM5039Y5X: Triclosan (Triclosan) | 059QF0KO0R: Water | 15FIX9V2JP: Titanium Dioxide | 1E2MCT2M62: Zinc Phosphate | 1K09F3G675: Ferric Oxide Red | 1P9D0Z171K: Butylated Hydroxytoluene | 1VPU26JZZ4: Potassium Sorbate | 229D0E1QFA: Methylisothiazolinone | 22ADO53M6F: Sodium Phosphate, Dibasic, Anhydrous | 2968PHW8QP: Citric Acid Monohydrate | 2P3VWU3H10: Activated Charcoal | 35SW5USQ3G: D&C Yellow No. 10 | 368GB5141J: Sodium Lauryl Sulfate | 389H2R62BD: Butyl Ester of Methyl Vinyl Ether/Maleic Anhydride Copolymer (125000 Mw) | 3P3ONR6O1S: Fd&C Green No. 3 | 3SCV180C9W: Betaine | 3T8H1794QW: Eugenol | 3WJQ0SDW1A: Polyethylene Glycol | 4ERD2076EF: Peg-40 Castor Oil | 4GFU244C4J: Methylcellulose (100 Mpa.S) | 506T60A25R: Sorbitol | 54S8C1184Z: Zinc Phosphate Tetrahydrate | 55X04QC32I: Sodium Hydroxide | 593YOG76RN: Sodium Phosphate, Monobasic, Monohydrate | 5C69YCD2YJ: Carrageenan | 5HK03SA80J: Sodium Tripolyphospha |
---|
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
<HotelListResponse xmlns:ns2="http://v3.hotel.wsapi.ean.com/"> | |
<customerSessionId>yuvb3jdpifp2t13y43pass2p</customerSessionId> | |
<numberOfRoomsRequested>1</numberOfRoomsRequested> | |
<moreResultsAvailable>false</moreResultsAvailable> | |
<cacheKey>-48a4e19f:15bec159775:50eb</cacheKey> | |
<cacheLocation>10.186.170.98:7300</cacheLocation> | |
<cachedSupplierResponse supplierCacheTolerance="NOT_SUPPORTED" cachedTime="0" supplierRequestNum="98" supplierResponseNum="93" supplierResponseTime="1629" candidatePreptime="28" otherOverheadTime="11" tpidUsed="5220" matchedCurrency="true" matchedLocale="true" /> | |
<HotelList size="2" activePropertyCount="98"> | |
<HotelSummary order="0" ubsScore="0"> | |
<hotelId>139396</hotelId> |
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
activerecord-cockroachdb | activerecord-postgresql | activerecord-mysql | activerecord-sqlite | Benchmark | |
---|---|---|---|---|---|
9.216770* (60720k) | 9.590111 (60984k) | 12.455487 (69168k) | 18.465701 (64944k) | Model Object Creation: 3200 objects (No Transaction) | |
0.900417 (0k) | 0.893337 (0k) | 0.832904 (0k) | 0.707108* (0k) | Model Object Creation: 3200 objects (Transaction) | |
2.031437* (337128k) | 2.070499 (336864k) | 2.181665 (332112k) | 2.215748 (333432k) | Model Object Select: 6400 objects 64 times (No Transaction) | |
2.004822 (0k) | 1.984105* (0k) | 2.121498 (264k) | 2.175031 (0k) | Model Object Select: 6400 objects 64 times (Transaction) | |
3.460825 (0k) | 3.337974 (0k) | 3.875209 (0k) | 2.622881* (0k) | Model Object Select PK: 640 objects 64 times (No Transaction) | |
3.372082 (0k) | 3.247312 (0k) | 3.786783 (0k) | 2.253132* (0k) | Model Object Select PK: 640 objects 64 times (Transaction) | |
3.594136 (0k) | 3.431209 (0k) | 4.428752 (0k) | 2.679963* (0k) | Model Object Select Hash: 640 objects 64 times (No Transaction) | |
3.473371 (0k) | 3.358583 (0k) | 3.800874 (0k) | 2.409768* (0k) | Model Object Select Hash: |
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
################################################################# | |
# The DSL | |
class DSL | |
attr_reader :props | |
def initialize(&block) | |
@props = {} | |
@handlers = {} |
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
class Butt | |
phphphbt: -> | |
true |
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
$ gem install irbtools | |
Fetching: cd-1.0.1.gem (100%) | |
Successfully installed cd-1.0.1 | |
Fetching: every_day_irb-2.0.0.gem (100%) | |
Successfully installed every_day_irb-2.0.0 | |
Fetching: unicode-display_width-1.1.1.gem (100%) | |
Successfully installed unicode-display_width-1.1.1 | |
Fetching: fancy_irb-1.0.2.gem (100%) | |
Successfully installed fancy_irb-1.0.2 | |
Fetching: wirb-2.1.0.gem (100%) |
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 'epitools' | |
str = "asdlfkjasGdlCfjasdflkjsafAjkhweDrkjThawerlkajhsdfkljhasdfACTG"* 10000 | |
bench( | |
tr: proc{ str.tr('^ACTG', '') }, | |
gsub: proc{ str.gsub(/[^ACTG]+/, '') }, | |
gsub2: proc{ str.gsub(/[^ACTG]/, '') }, | |
scan: proc{ str.scan(/[ACTG]/).join }, | |
scan2: proc{ str.scan(/[ACTG]+/).join } | |
) |
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: Debug level = 1 | |
Info: sector size = 512 | |
Info: total sectors = 975722511 (476427 MB) | |
Info: MKFS version | |
"Linux version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016" | |
Info: FSCK version | |
from "Linux version 4.7.2-1-ARCH (builduser@tobias) (gcc version 6.1.1 20160802 (GCC) ) #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016" | |
to "Linux version 4.7.2-1-ARCH (builduser@tobias) (gcc version 6.1.1 20160802 (GCC) ) #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016" | |
Info: superblock features = 0 : | |
Info: superblock encrypt level = 0, salt = 00000000000000000000000000000000 |
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 C = require('js-combinatorics'); | |
var values = [true, false, 1, 0, -1, "true", "false", "1", "0", "-1", "", null, undefined, Infinity, -Infinity, [], {}, [[]], [0], [1], NaN] | |
C.permutation(values, 3).forEach(function(a) { | |
if (a[0] && a[0] == a[1] && a[1] == a[2] && a[0] != a[2]) | |
console.log(a) | |
}) |
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
{ | |
"Security:": { | |
"CloudPassage": "http://www.cloudpassage.com/", | |
"SELinux": "http://www.projectatomic.io/docs/docker-and-selinux/", | |
"Scalock": "http://scalock.com/" | |
}, | |
"Monitoring:": { | |
"Sematext": "http://sematext.com/", | |
"SignalFx": "https://github.com/signalfx/docker-collectd-plugin", | |
"Sysdig": "https://sysdig.com/", |
NewerOlder