Monday, July 4, 2016

Use the instruction here to setup Zoho Mail in Gmail

http://fitsmallbusiness.com/topic/how-to-link-zoho-email-with-gmail/

Tuesday, March 1, 2016

awesome-android#1 Rosie

Rosie is an Android framework to create applications following the principles of Clean Architecture.

https://github.com/Karumi/Rosie

Looks interesting to use to do Android development.

Saturday, October 24, 2015

Front-end Developer Handbook

A front-end handbook for those aspire to do the frontend works:

https://frontendmasters.gitbooks.io/front-end-handbook/content/index.html

Sunday, October 18, 2015

ApiDocJS

http://apidocjs.com/ looks familiar to Swagger but seems like a good alternative if don't want Swagger style

Tuesday, June 2, 2015

Zeros in Javascript

You can refer here if you want to understand in Javascript, what will be returned for

````
anArray.length === 0 
````

http://zero.milosz.ca/

Sunday, May 17, 2015

Spring Boot RestController @RequestPart

Given a RestController method as below :
@RequestMapping(value="/upload",method=RequestMethod.POST)
public YourResponse uploadDocument( @RequestPart("meta-data") @Valid YourJson metadata, @RequestPart("file-data") MultipartFile incomingFile )
Then the multipart/mixed message to send is :
POST [http://{base_url}/upload](http://192.168.190.39:8080/document/upload/94671261-faa8-11e4-a578-7542d0ebc4e4) HTTP/1.1
Content-Type: multipart/mixed; boundary=ABC123Boundary
Content-Length: 83746
{{NEW_LINE} 
--ABC123Boundary
Content-Disposition: form-data; name="meta-data"
Content-Type: application/json; charset=UTF-8
Content-Transfer-Encoding: 8bit
{{NEW_LINE} 
{
  "id": 1,
  ... 
}
{{NEW_LINE} 
--ABC123Boundary
Content-Disposition: form-data; name="file-data"; filename="sdasdfa"
Content-Type: application/octet-stream
Content-Transfer-Encoding: 8bit
{{NEW_LINE} 
binary-stream of file content 
{{NEW_LINE}
 --ABC123Boundary--

Sunday, April 26, 2015

Java - Look Around #4, Events, CamelSpringBootApplicationController

Events in Java

Libraries…

CamelSpringBootApplicationController

As mentioned in this mailing list message and if you are using Apache Camel 2.15.1, you have to copy this class to your own project.

Wednesday, April 22, 2015

Java - Look Around #3 : State Machines, Maven 3.3.1, UUID

Java Finite State Machines

  • spring-statemachine Spring actually has a project for state-machine. Watching it …
  • squirrel 266 stars. Features hierarchical state, parallel state, can import/export state machine definition to SCXML, internal transition, external transition, conditional transitions. Look at EXAMPLES at the homepage for Spring framework integration
  • stateless4j 87 stars. Features hierarchical states, entry/exit events for states, guard clauses to support conditional transitions, parameterised triggers, reentrant states. No example on Spring framework integration.
  • EasyFlow 78 stars. Looks simple but the documentation does not look as good as the other libraries.
  • statefulj 2 stars, it has 3 libraries, namely a framework built off StatefulJ FSM, StatefulJ Persistence and Spring Data, a dependency free, Finite State Machine implementation with support for non-determinstic Transitions, a set of persistence support (JPA and Mongo) which works with the FSM library to persist Stateful objects.
  • machinia 1 star, also has Spring framework integration

Command Line Windows

  • Chocolatery: An easier way to install some applications like 7-zip, VLC, Flash, JDK etc

Libraries…

Something About Maven

Wednesday, April 15, 2015