Skip to content

Instantly share code, notes, and snippets.

Caleb Cushing xenoterracide

Block or report user

Report or block xenoterracide

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View local.txt
--> Running step: build prod
npm info it worked if it ends with ok
npm info using npm@3.10.3
npm info using node@v6.3.1
rpf@0.1.2 /pipeline/source
+-- @easy-webpack/config-aurelia@2.2.0
| +-- aurelia-webpack-plugin@1.1.0
| | +-- cheerio@0.20.0
| | | +-- css-select@1.2.0
| | | | +-- boolbase@1.0.0
View remote
+-- @easy-webpack/config-aurelia@2.2.0
| +-- aurelia-webpack-plugin@1.1.0
| | +-- cheerio@0.20.0
| | | +-- css-select@1.2.0
| | | | +-- boolbase@1.0.0
| | | | +-- css-what@2.1.0
| | | | +-- domutils@1.5.1
| | | | `-- nth-check@1.0.1
| | | +-- dom-serializer@0.1.0
| | | | `-- domelementtype@1.1.3
View gulpfile.js
'use strict';
var gulp = require( 'gulp' ),
sourcemaps = require( 'gulp-sourcemaps' ),
concat = require( 'gulp-concat' ),
watch = require( 'gulp-watch' ),
gutil = require( 'gulp-util' ),
changed = require( 'gulp-changed' ),
cache = require( 'gulp-cached' ),
browserSync = require( 'browser-sync' ),
browserify = require( 'browserify' ),
@xenoterracide
xenoterracide / wercker.yml
Created Jun 20, 2015
maven werkcer config
View wercker.yml
box: maven:latest
build:
steps:
- xenoterracide/maven:
goals: test
View Application.java
package com.xenoterracide;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
View boot.log
"C:\Program Files\Java\jdk1.8.0_25\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:52029,suspend=y,server=n -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_25\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib
View pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xenoterracide</groupId>
<artifactId>rpf</artifactId>
<version>0.1.0</version>
View RPF_.gitignore
# Created by .gitignore support plugin (hsz.mobi)
.idea/libraries/*
.idea/workspace.xml
### Maven template
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
View AbstractEntityBase.java
package com.xenoterracide.rpf.abstracts;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Type;
import org.springframework.data.jpa.domain.AbstractPersistable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
View generics.java
interface Entity<ID> {
ID getId();
setId( ID id );
}
class Repository<ID, ENTITY extends Entity<ID>> {
Map<ID, ENTITY> identityMap = new HashMap<>();
void add( ENTITY entity ) {
identityMap.put( entity.getId(), entity );
You can’t perform that action at this time.