This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.text.* | |
def args = ["-c", "xxx", "-c", "yyy", "-c", "zzz", "-d", "ddd", "-h", "me", "quickly"] | |
def cli = new CliBuilder(usage: 'use me') | |
println ("args: $args") | |
cli.with { | |
c args: 3, argName: 'VALUEC', 'some value defined by "VALUEC"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mirrors> | |
<mirror> | |
<id>internal-repository</id> | |
<name>Maven Repository Manager running on repo.mycompany.com</name> | |
<url>http://127.0.0.1:8080/nexus/content/groups/public/</url> | |
<mirrorOf>*</mirrorOf> | |
</mirror> | |
</mirrors> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color.ui=true | |
alias.incoming=!git remote update -p; git log ..@{u} | |
alias.outgoing=log @{u}.. | |
alias.lol=log --graph --decorate --pretty=oneline --abbrev-commit | |
alias.lola=log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local | |
alias.ls=ls-files | |
alias.changed=log --pretty=format:%C(blue)%h%Cred%d\ %Creset%s%Cblue\ [%cn] --decorate --numstat | |
alias.lda=log --pretty=format:%C(blue)%h\ %ad%Cred%d\ %Creset%s%Cblue\ [%cn] --decorate --date=short | |
alias.ldaa=log --pretty=format:%C(blue)%h\ %ad%Cred%d\ %Creset%s%Cblue\ [%cn] --decorate --date=iso | |
alias.ldr=log --pretty=format:%C(blue)%h\ %ad%Cred%d\ %Creset%s%Cblue\ [%cn] --decorate --date=relative |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration debug="true"> | |
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} %file:%line% %replace(%msg){'\d{14,16,13,10}', ';'} %n</pattern> | |
</encoder> | |
</appender> | |
<appender name="R" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |
<!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender--> | |
<File>log/log.txt</File> | |
<encoder> |