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
~/.sbt/0.13/global.sbt | |
import EclipseKeys._ | |
net.virtualvoid.sbt.graph.Plugin.graphSettings | |
shellPrompt := { s => Project.extract(s).currentProject.id + " > " } | |
EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Managed |
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
~/.sbt/0.13/plugins/build.sbt | |
resolvers += Resolver.url("artifactory", | |
url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns) | |
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0") | |
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0") | |
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.4") |
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
echo "Begin Profile Setup ...." | |
echo "===========================================" | |
#Colors | |
RED="\e[31m" | |
YELLOW="\e[0;33m" | |
GREEN="\e[0;32m" | |
OCHRE="\e[38;5;95m" | |
BLUE="\e[0;34m" | |
WHITE="\e[0;37m" |
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
# Public account | |
Host github.com | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/github_buschman7 |
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
[color] | |
ui = auto | |
[color "status"] | |
header = cyan bold | |
branch = green | |
nobranch = red reverse white | |
added = green | |
changed = yellow | |
untracked = red | |
deleted = red bold |
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 io.timeli.test | |
import scala.util.matching.Regex | |
trait Semigroup[A] { | |
def append(x: A)(y: A): A | |
} | |
object Semigroup { | |
implicit def listSemigroup[A]: Semigroup[List[A]] = |
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 me.lightspeed7.dsug.streams | |
import org.scalatest.FunSuite | |
import org.scalatest.Matchers._ | |
class NodeSolutionTest extends FunSuite { | |
def function(in: Seq[String]): Map[String, Int] = { | |
in.flatMap(_.split(" ")) | |
.groupBy(identity) |
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
$ listJdks | |
Matching Java Virtual Machines (3): | |
1.8.0_151, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home | |
1.8.0_77, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home | |
1.7.0_80, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home | |
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home | |
$ showJdk | |
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home |
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
#! /bin/bash | |
# | |
# BASIC | |
# ################### | |
export EDITOR=/usr/bin/vim | |
export SHELL=/bin/bash | |
export PAGER=less | |
# erase duplicated entries, ignore entries that are duplicates or begin with spaces |
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: '2' | |
services: | |
# | |
# ZooKeeper Service | |
# ############################ | |
zookeeper: | |
image: wurstmeister/zookeeper:3.4.6 | |
container_name: zookeeper | |
restart: always |
OlderNewer