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
# install Github Desktop to get their config | |
# then you can do this | |
# https://desktop.github.com/ | |
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1") | |
# then install psget and install modules | |
# before putting these lines in here | |
# see https://github.com/psget/psget | |
Import-Module PowerLs |
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
alias gss='git status --short' | |
alias gl='git smart-log' | |
alias gm='git smart-merge' | |
alias gup='git smart-pull' |
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
alias l="ls -l" | |
alias unzip="unzip -q" | |
alias edit=$EDITOR | |
alias dl='dirs -v' | |
alias c=clear | |
alias ack="nocorrect ack" | |
alias redir="$EDITOR ~/.diraliases; source $HOME/.diraliases" | |
### git stuff | |
alias gss='git status --short' |
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
alias gvmup="gvm use grails `grep app.grails.version application.properties|gawk -F = '{print $2}'`" |
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
/* | |
* Copyright (c) 2013 Yan Pujante | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | |
* use this file except in compliance with the License. You may obtain a copy of | |
* the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
grails.plugin.admin.domains = [ | |
"books.admin.Author", | |
"books.admin.Book" | |
] | |
grails.plugin.admin.domain.Author="books.admin.AuthorAdmin" | |
grails.plugin.admin.domain.Book="books.admin.BookAdmin" | |
grails.plugin.admin.accessRoot = "/admin" |
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
sourceSets { | |
main { | |
groovy { | |
// override the default locations, rather than adding additional ones | |
srcDirs = ['src/main/groovy', 'src/main/java'] | |
} | |
java { | |
srcDirs = [] // don't compile Java code twice | |
} | |
} |
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 groovy.text.SimpleTemplateEngine | |
class Member{ | |
String firstName | |
String lastName | |
String lodge | |
} | |
def text = '${firstName} ${lastName} is a member of the ${lodge}' |