https://github.com/coursier/coursier#command-line-1
Generate a read-only, personal access token for GitHub.
export GITHUB_TOKEN=XXXXXXX
package gatekeeper | |
import java.io.{BufferedReader, BufferedWriter, InputStream, OutputStream} | |
import java.nio.charset.StandardCharsets | |
import java.nio.file.{Files, _} | |
import com.tersesystems.capabilities._ | |
import scala.util._ |
package repository | |
import java.util.UUID | |
import cats._ | |
import cats.implicits._ | |
import scala.util._ | |
/** |
"play-dev-mode-akka.actor.default-dispatcher-3@12379" prio=5 tid=0x4c nid=NA waiting for monitor entry | |
java.lang.Thread.State: BLOCKED | |
waiting for application-akka.actor.default-dispatcher-5@17283 to release lock on <0x473f> (a play.core.server.DevServerStart$$anon$1) | |
at play.core.server.DevServerStart$$anon$1.get(DevServerStart.scala:122) | |
at play.core.server.AkkaHttpServer.modelConversion(AkkaHttpServer.scala:184) | |
at play.core.server.AkkaHttpServer.handleRequest(AkkaHttpServer.scala:190) | |
at play.core.server.AkkaHttpServer.$anonfun$createServerBinding$3(AkkaHttpServer.scala:107) | |
at play.core.server.AkkaHttpServer$$Lambda$383.1818878724.apply(Unknown Source:-1) | |
at akka.stream.impl.fusing.MapAsync$$anon$23.onPush(Ops.scala:1172) | |
at akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:499) |
https://github.com/coursier/coursier#command-line-1
Generate a read-only, personal access token for GitHub.
export GITHUB_TOKEN=XXXXXXX
[error] com.typesafe.play#sbt-plugin;2.6.0-SNAPSHOT!sbt-plugin.jar origin location must be absolute: C:\Users\wsargent\.ivy2\local\com.typesafe.play\sbt-plugin\scala_2.10\sbt_0.13\2.6.0-SNAPSHOT\jars\sbt-plugin.jar | |
java.lang.IllegalArgumentException: com.typesafe.play#sbt-plugin;2.6.0-SNAPSHOT!sbt-plugin.jar origin location must be absolute: C:\Users\wsargent\.ivy2\local\com.typesafe.play\sbt-plugin\scala_2.10\sbt_0.13\2.6.0-SNAPSHOT\jars\sbt-plugin.jar | |
at org.apache.ivy.util.Checks.checkAbsolute(Checks.java:57) | |
at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getArchiveFileInCache(DefaultRepositoryCacheManager.java:387) | |
at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.download(DefaultRepositoryCacheManager.java:851) | |
at org.apache.ivy.plugins.resolver.BasicResolver.download(BasicResolver.java:835) | |
at org.apache.ivy.plugins.resolver.RepositoryResolver.download(RepositoryResolver.java:282) | |
at org.apache.ivy.core.resolve.ResolveEngine.downloadAr |
export DEFAULT_USER=wsargent | |
source $HOME/.antigen/antigen.zsh | |
# Load the oh-my-zsh's library. | |
antigen use oh-my-zsh | |
# Bundles from the default repo (robbyrussell's oh-my-zsh). | |
antigen bundle git | |
antigen bundle pip |
This is a guide for Scala and Java development on Windows, using Windows Subsystem for Linux, although a bunch of it is applicable to a VirtualBox / Vagrant / Docker subsystem environment. This is not complete, but is intended to be as step by step as possible.
Read the entire Decent Security guide, and follow the instructions, especially:
# Usage: gh-clone lagom lagom to checkout lagom/lagom | |
function gh-clone() { | |
OWNERNAME=$1; | |
PROJNAME=$2; | |
cd $WORKDIR; | |
mkdir $PROJNAME; | |
cd $PROJNAME; | |
hub init -g | |
hub clone $OWNERNAME/$PROJNAME master; | |
cd master; |
export WORKDIR=$HOME/work | |
# Creates a working tree to check out a branch locally. | |
# This is useful when you have multiple branches on origin, | |
# and want to pull work work with them | |
function worktree() { | |
# We assume we're always under $WORKDIR somewhere. | |
# Go down the tree until we know what project we're in. | |
while [[ "$(dirname "$PWD")" != $WORKDIR ]] ; do | |
find "$PWD"/ -maxdepth 1 "$@" |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."