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
--- untitled 2 | |
+++ (clipboard) | |
@@ -3981,30 +3981,6 @@ | |
│ │ ├── JsonSchema.class | |
│ │ ├── JsonSerializableSchema.class | |
│ │ └── SchemaAware.class | |
-│ ├── hamcrest | |
-│ │ ├── BaseDescription.class | |
-│ │ ├── BaseMatcher.class | |
-│ │ ├── CoreMatchers.class |
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
--- untitled 5 | |
+++ (clipboard) | |
@@ -2,20 +2,10 @@ | |
├── META-INF | |
│ └── MANIFEST.MF | |
└── voldemort | |
- ├── client | |
- │ ├── CoordinatorAdminClientTest.class | |
- │ ├── CoordinatorAdminToolTest.class | |
- │ ├── RestClientTest$1.class |
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
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.Future; | |
public class Main { | |
private static final char[] alphabet = "eaistnrulodmpcvqgbfjhzxykw0123456789!@#$%&*".toCharArray(); |
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
class HashBuilder | |
def initialize | |
@h = Hash.new | |
end | |
def set(key, value = nil, &block) | |
@h[key.to_s] = if block_given? |
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
import java.util.*; | |
import java.util.concurrent.*; | |
public class RandomWeightedSelection { | |
public static void main(String [] args) { | |
runIterations( 100); | |
runIterations( 10_000); |
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
Using zookeeper (0.0.3) at path: '/Users/gadavis/Projects/cookbooks/zookeeper' | |
Installing core (0.0.0) from git: '[email protected]:ExpediaInc/ean-core-cookbook.git' with branch: 'master' at ref: 'a053c30b760a3c1b36e05bfe35c7fc341218ce36' | |
Using upstart (0.0.1) at path | |
Using yum (2.2.0) at path | |
Using ohai (1.1.8) at path | |
Using ldap-mirror (0.0.1) at path | |
Using s3_file (1.0.0) at path | |
Using users (1.3.1) at path | |
Using route53 (0.0.3) at path | |
Using fog (0.0.2) at path |
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
─[✗]─[gareth@MacBookPro-1]─[~/Projects/GradleCheck]─[master] | |
└──╼$ ./gradlew build | |
:compileJava UP-TO-DATE | |
:processResources UP-TO-DATE | |
:classes UP-TO-DATE | |
:jar | |
:assemble | |
:beforeTest | |
**** - BEFORE THE TEST TASK | |
:test |
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
$ jruby -Xcompile.invokedynamic=true test.rb | |
Rehearsal ----------------------------------------------------------- | |
with Proc 25.510000 0.280000 25.790000 ( 23.952000) | |
class Compare 14.490000 0.070000 14.560000 ( 14.395000) | |
class DelegatingCompare 16.890000 0.080000 16.970000 ( 16.300000) | |
------------------------------------------------- total: 57.320000sec | |
user system total real | |
with Proc 19.120000 0.100000 19.220000 ( 19.305000) | |
class Compare 14.430000 0.070000 14.500000 ( 14.215000) |
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
package com.yourapplication.web.support; | |
import org.springframework.stereotype.Component; | |
import org.springframework.util.StringUtils; | |
import org.springframework.validation.DefaultMessageCodesResolver; | |
import java.util.ArrayList; | |
import java.util.List; | |
NewerOlder