- Unzip the
hello-world.zip
file into your project directory - Write the initial
Ratpack.groovy
- Unzip the
public.zip
file intosrc/ratpack
.
import org.apache.commons.codec.language.DoubleMetaphone; | |
public String encode(String line) { | |
DoubleMetaphone codec = new DoubleMetaphone(); | |
List<String> words = new ArrayList<String>(); | |
StringTokenizer st = new StringTokenizer(line); | |
while(st.hasMoreTokens()) { | |
String word = st.nextToken(); |
git init project
git config user.email
git config user.name
git config --global user.name "Tim Berglund"
git config --global user.email "[email protected]"
git config --global color.ui auto
git init project
git config --global user.name "Tim Berglund"
git config --global user.email "[email protected]"
git status
git add <file>
git diff
# Title: Photos tag for Jekyll | |
# Authors: Devin Weaver | |
# Description: Allows photos tag to place photos as thumbnails and open in fancybox. Uses a CDN if needed. | |
# | |
# ** This only covers the markup. Not the integration of FancyBox ** | |
# | |
# To see an unabridged explination on integrating this with [FancyBox][1] | |
# Please read my [blog post about it][2]. | |
# | |
# [1]: http://fancyapps.com/fancybox/ |
git config --global user.name "Tim Berglund"
git config --global user.email "[email protected]"
git config --global color.ui auto
git init atlanta
git add caesar.txt
#!/bin/bash | |
while : | |
do | |
clear | |
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
sleep 1 | |
done |
repositories { | |
mavenCentral() | |
} | |
configurations { | |
download | |
} | |
dependencies { | |
download('org.appfuse:appfuse-spring:2.1.0') { |
#!/bin/bash | |
while : | |
do | |
clear | |
git --no-pager log -$1 --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
sleep 1 | |
done |