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)
<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>