I hereby claim:
- I am curtisallen on github.
- I am curtisallen (https://keybase.io/curtisallen) on keybase.
- I have a public key whose fingerprint is 3C97 EE8F C4D1 FCEB CDD3 7FB7 46FF C248 F945 11C9
To claim this, I am signing this object:
import java.util.Arrays; | |
import java.util.Objects; | |
import java.util.Optional; | |
import java.util.stream.Stream; | |
/** | |
* Utilities for working with default values | |
*/ | |
public class DefaultUtils { | |
/** |
class DefaultUtilsSpecTest extends Specification { | |
@Unroll | |
def "test defaults (#a #b #c) = #d"(String a, String b, String c, String d){ | |
expect: | |
DefaultUtils.defaultIfNull(a, b, c) == d | |
where: | |
a | b | c | d | |
"val1" | null | "default" | "val1" | |
null | "val2"| "default" | "val2" | |
null | null | "default" | "default" |
\,,,/ | |
(o o) | |
-----oOOo-(_)-oOOo----- | |
gremlin> import com.pearson.atwood.dsl.* | |
gremlin> import com.pearson.atwood.dsl.util.* | |
gremlin> c = ConfigurationProvider.create(ConfigurationProvider.Env.DEV, ConfigurationProvider.WorkLoad.READ_HEAVY) | |
==>org.apache.commons.configuration.BaseConfiguration@41813449 | |
gremlin> g = TitanFactory.open(c) | |
==>titangraph[inmemory:[192.168.1.112]] |
I hereby claim:
To claim this, I am signing this object:
2015/07/07 10:56:28 [INFO] Terraform version: 0.6.0 e40127fda6766dbea2749c17ba61f97b78c6c468 | |
2015/07/07 10:56:28 Detected home directory from env var: /Users/callen | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: atlas = /Users/callen/bin/terraform-provider-atlas | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: aws = /Users/callen/bin/terraform-provider-aws | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: azure = /Users/callen/bin/terraform-provider-azure | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: cloudflare = /Users/callen/bin/terraform-provider-cloudflare | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: cloudstack = /Users/callen/bin/terraform-provider-cloudstack | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: consul = /Users/callen/bin/terraform-provider-consul | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: digitalocean = /Users/callen/bin/terraform-provider-digitalocean | |
2015/07/07 10:56:28 [DEBUG] Discovered plugin: dme = /Users/callen/bin/terraform-provider-dme |
Incoming tweet: {"text":"RT @Sydneys_Word: Baseball is a sport but I don't consider baseball players athletes.","replyToId":-1,"vote":"player","urls":"[]","retweetCount":0,"screenName":"ItsNadaSport","profileImageUrl":"http://a0.twimg.com/profile_images/2205719553/Sports-Junkie-253x300_normal.jpg","id":208070738995974145,"replyToUserId":-1,"isRetweet":true,"username":"Its NadaSport","time":1338442904000,"retweetStatus":"StatusJSONImpl{createdAt=Wed May 30 21:28:40 CDT 2012, id=208022152321056768, text='Baseball is a sport but I don't consider baseball players athletes.', source='<a href=\"http://mobile.twitter.com\" rel=\"nofollow\">Mobile Web<\/a>', isTruncated=false, inReplyToStatusId=-1, inReplyToUserId=-1, isFavorited=false, inReplyToScreenName='null', geoLocation=null, place=null, retweetCount=0, wasRetweetedByMe=false, contributors=null, annotations=null, retweetedStatus=null, userMentionEntities=[], urlEntities=[], hashtagEntities=[], user=UserJSONImpl{id=212456089, name='Sydney Bowden', screenName='Sy |
function toon { | |
echo -n "➜" | |
} | |
function collapse_pwd { | |
echo $(pwd | sed -e "s,^$HOME,~,") | |
} | |
get_git_dirty() { | |
git diff --quiet || echo '*' | |
} |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.intelligence.mrcy</groupId> | |
<artifactId>STRAP</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>STRAPServer</artifactId> | |
<packaging>jar</packaging> | |
<name>STRAP Server</name> |
package com.mis.rex.rexdev; | |
import com.mis.rex.rexdev.view.SportTweet; | |
import com.mis.rex.rexdev.view.SportTweetMetaData; | |
import org.tcrex.data.Rex; | |
import org.tcrex.data.RexFactory; | |
import org.tcrex.data.event.RexPublisher; | |
import org.tcrex.data.event.impl.RecordingStubPublisher; | |
import org.tcrex.data.loaders.BeanDataLoader; |
git clone <OPENSHIFT STUFF> | |
cd <OPENSHFIT REPO DIR> | |
git remote add github -m master https://github.com/curtisallen/<reponame>.git | |
git pull -s recursive -X theirs github master |