Skip to content

Instantly share code, notes, and snippets.

View jpboudreault's full-sized avatar

Jean-Philippe Boudreault jpboudreault

View GitHub Profile
This file has been truncated, but you can view the full file.
{
"reviewer_member_targets": {},
"team_name": "AppDirect Engineering",
"type": "collaborator-metrics",
"collaborators": {
"2203392": {
"review_metrics": {
"metrics": {
"coverage_sort": 136,
"reaction_time": 32.2,
### Keybase proof
I hereby claim:
* I am jpboudreault on github.
* I am jpboudreault (https://keybase.io/jpboudreault) on keybase.
* I have a public key ASDZCMAgUcSHb-FTZDJv6PZhGdzxQxIcCbWwYtwCB9_AUwo
To claim this, I am signing this object:
@jpboudreault
jpboudreault / BootStrap.groovy
Created April 2, 2013 17:56
Grails sample BootStrap.groovy works with spring-security-code plugin
import grails.util.Environment
import com.alogient.learn.User
import com.alogient.learn.Role
import com.alogient.learn.UserRole
class BootStrap {
def init = { servletContext ->
def adminRole = new Role(authority: 'ROLE_ADMIN').save(flush: true)
def userRole = new Role(authority: 'ROLE_USER').save(flush: true)
import java.util.HashSet;
import java.util.Set;
// You can't touch this
public class MagicalLand {
public static void main(String[] args) {
for (int i = 0; i < (Math.random() * 500) + 2; i++) {
if (Unicorn.pat()) {
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE");
}
@jpboudreault
jpboudreault / MagicalLand.java
Created February 19, 2013 20:33
Java Land Magical unicorn 3
import java.util.HashSet;
import java.util.Set;
public class MagicalLand {
public static void main(String[] args) {
for (int i = 0; i < (Math.random() * 500) + 2; i++) {
if (Unicorn.pat()) {
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE");
}
}
@jpboudreault
jpboudreault / MagicalLand.java
Created February 19, 2013 20:24
Solultion to Magical Puzzle
public class MagicalLand {
public static void main(String[] args) {
for (int i = 0; i < (Math.random() * 500) + 2; i++) {
if (Unicorn.pat()) {
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE");
}
}
for (int i = 0; i < (Math.random() * 500) + 2; i++) {
if (Unicorn.pat()) {
@jpboudreault
jpboudreault / MagicalLand.java
Created February 19, 2013 20:23
Solution to Java Magical Puzzle
public class MagicalLand {
public static void main(String[] args) {
for (int i = 0; i < (Math.random() * 500) + 2; i++) {
if (Unicorn.pat()) {
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE");
}
}
for (int i = 0; i < (Math.random() * 500) + 2; i++) {
if (Unicorn.pat()) {