Skip to content

Instantly share code, notes, and snippets.

@dmrolfs
dmrolfs / publish.sh
Last active May 4, 2018 22:37
Publish into Artifactory Repository
#!/usr/bin/env bash
# _ _ _ _
# _ __ _ _| |__ | (_)___| |__
# | '_ \| | | | '_ \| | / __| '_ \
# | |_) | |_| | |_) | | \__ \ | | |
# | .__/ \__,_|_.__/|_|_|___/_| |_|
# |_|
#
#
# Usage:
#!/usr/bin/env bash
# ##################################################
# My Generic BASH script template
# thanks to: https://natelandau.com/boilerplate-shell-script-template/
#
version="1.0.0" # Sets version variable
#
scriptTemplateVersion="1.3.0" # Version of scriptTemplate.sh that this script is based on
# v.1.1.0 - Added 'debug' option
@dmrolfs
dmrolfs / CircuitBreakerDemo.scala
Last active May 19, 2016 19:17
Akka CircuitBreaker demo
case class GetRequest( key: String )
case class KeyNotFoundException( key: String ) extends Throwable
case class SetRequest( key: String, value: String )
class FastSlowAkkademyDb extends Actor {
val map = new HashMap[String, Object]
val log = Logging(context.system, this)
override def receive = {
case SetRequest(key, value) =>

Keybase proof

I hereby claim:

  • I am dmrolfs on github.
  • I am omen (https://keybase.io/omen) on keybase.
  • I have a public key whose fingerprint is D60C 54AF D0D1 2CF9 6022 912C 00F5 1533 F371 6997

To claim this, I am signing this object:

# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management