Skip to content

Instantly share code, notes, and snippets.

@jokerr
jokerr / .bash_profile
Created November 11, 2016 04:12
Configuration files for Mac OSX
#Put HomeBrew stuff before system path
PATH=/usr/local/bin:$PATH
export PATH
# set java home to a particular version
#export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
# homebrew: Scala IDEA support
SCALA_HOME=/usr/local/opt/scala/idea
@jokerr
jokerr / Bash_Scripts.md
Last active September 24, 2016 13:45
Various bash scripts that I've collected/written over the years

Colored Output

This script shows how you can print out various things in color from BASH script.

#!/bin/bash

NORMAL=$(tput sgr0)
GREEN=$(tput setaf 2; tput bold)
YELLOW=$(tput setaf 3)
@jokerr
jokerr / pom.xml
Created September 24, 2016 12:41
AdamBien - javaee-essentials-pom (https://github.com/AdamBien/javaee-essentials-pom)
<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>
<groupId>com.airhacks</groupId>
<artifactId>javaee7-essentials-pom</artifactId>
<version>7.0</version>
<packaging>war</packaging>
<dependencies>

Keybase proof

I hereby claim:

  • I am jokerr on github.
  • I am jokerr (https://keybase.io/jokerr) on keybase.
  • I have a public key ASAzeulvw40UrJ6wL3hEz48hREcW7vE8T9DYvrE2KG20UQo

To claim this, I am signing this object: