Skip to content

Instantly share code, notes, and snippets.

View kickroot's full-sized avatar

Jason Nichols kickroot

View GitHub Profile
@kickroot
kickroot / gist:4204368
Created December 4, 2012 14:17
Github cheat sheet
## Change to your project root folder and do this initially to get your repo set up
git init
git remote add origin <Your repo URL>
git pull origin master
git add .
git commit -am "Initial commit"
git push
## Do this whenever you have changes to make permanent
@kickroot
kickroot / CustomSecurityTagLib.groovy
Created November 20, 2012 19:08
This custom Grails taglib is an easy way to allow for Role and ACL based checks in the view
/* Copyright 2009-2012 SpringSource.
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,