Skip to content

Instantly share code, notes, and snippets.

Green Luo greenlaw110

Block or report user

Report or block greenlaw110

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 beetlsql.stack
ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.5.3ANTLR Runtime version 4.7.2 us23:06:50.978 [XNIO-1 task-4] ERROR a.x.NetworkHandler - Fatal Error encountered handling request:
java.lang.ExceptionInInitializerError: null
at org.beetl.core.engine.DefaultTemplateEngine.createProgram(
at org.beetl.sql.core.engine.SQLTemplateEngine.createProgram(
at org.beetl.core.GroupTemplate.loadTemplate(
at org.beetl.core.GroupTemplate.getTemplateByLoader(
at org.beetl.core.GroupTemplate.getTemplate(
public class FastJsonIssue {
public static class Record {
@JSONField(format = "yyyy-MMM-dd")
public Date date1 = new Date();
@JSONField(format = "yyyyMMdd")
public Date date2 = date1;
@JSONField(format = "yyyy_MM_dd hh:mm")
public DateTime dateTime =;
greenlaw110 / routes.conf
Created Jan 4, 2018
A complex route table for routing benchmark
View routes.conf
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET /yemian/{yemianId}/ CMYingyong.jiazaiYemian
* /tuiguang/{tuiguangId}/ CMYingyong.jiazaiTuiguang
GET /jilu/{jiluId} CMYingyong.jilu
GET /toupiao CMYingyong.toupiao
GET /tandcdialog CMYingyong.tAndCDialog
greenlaw110 /
Created Jan 3, 2018
Simple way to create actframework app project skeleton
wget && unzip && ./act-starter-kit-master/
greenlaw110 / javadoc.css
Last active Sep 17, 2017
my javadoc stylesheet
View javadoc.css
body {
font-family: serif;
a:link, a:visited {
head1 head 2
3 5
  • list 1
  • list 2
Hello Markdown


greenlaw110 /
Last active Sep 10, 2017
ACT Release Notes - 1.4.11

ActFramework Release notes for 1.4.11

Change log

  • catch up update to 1.3.14-LTS
  • Support running CLI Job in background #267
  • job.list CLI command failure #355

The followings are catch up from 1.3.14-LTS

greenlaw110 /
Created Sep 9, 2017
ACT and plugin version configuration
act 1.3.x 1.4.x
act-morphia 1.1.x 1.2.x
View jenkins_output
Skipping 928 KB.. Full Log
old/leasehold.ts, line: 19 �[39m
Property 'alertCtrl' cannot be declared in the constructor
�[2m L19: �[22mlic navCtrl: NavController, public navParams: NavParams, �[41mp�[49m�[41mu�[49m�[41mb�[49m�[41ml�[49m�[41mi�[49m�[41mc�[49m alertCtrl: AlertController, public auth: Aut
�[2m L20: �[22m super(navCtrl, navParams, alertCtrl, auth, onboardService, null, null, null, null, null);
�[33m[21:23:15] tslint: src/pages/leasehold/leasehold.ts, line: 19 �[39m
Property 'auth' cannot be declared in the constructor
greenlaw110 /
Created Aug 22, 2017
Sort an int array so that all even numbers be positioned at the left hand side of the array
* The class sort int array by odd and even.
* The requirement is: all even number shall be at the left hand side of the array
public class OddEvenSort {
public static void main(String[] args) throws Exception {
//Act.start("Hello World");
sort(new int[]{0});
You can’t perform that action at this time.