Skip to content

Instantly share code, notes, and snippets.

View noobthinker's full-sized avatar

xkorey noobthinker

View GitHub Profile
@noobthinker
noobthinker / CamelCaseSessionCustomizer.java
Last active August 29, 2015 14:05 — forked from iromu/CamelCaseSessionCustomizer.java
easy way to make the spring hibernate with camel case underscore. like userName mapping user_name
link:http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/session-configuration.html#configuration-namingstrategy
table sql:
create table camel_case(
id int not null,
user_name varchar(20),
post_message varchar(30)
)
/**
* This module is a variant which supports document.write. If you need document.write use this instead
* Author: Deepak Subramanian @subudeepak(https://github.com/subudeepak)
* Distributed under MIT License
*/
/*global angular */
(function (ng) {
'use strict';
app.directive('script', function() {
return {