MAX BUILD SPEED
  • Home
  • About
Sign in Subscribe

Max Rohde

Max Rohde
GWT Exclude Package From Source Path

google-web-toolkit

GWT Exclude Package From Source Path

Problem The Google Web Toolkit Java to JavaScript transpiler is a powerful tool to convert Java source code into JavaScript files. Unfortunately, not all Java code can be transpiled into JavaScript code by GWT. Sometimes, a project contains a mix of Java code that can be converted into JavaScript and

By Max Rohde 22 Jan 2014
JavaScript and JSON Essentials (Packt) Review

json

JavaScript and JSON Essentials (Packt) Review

'JavaScript and JSON Essentials' by Packt publishing is a hands-on guide to developing JavaScript/PHP based web applications while using the JSON data format. This review of the book contains a quick summary of the contents as well as points to consider if you think of purchasing the

By Max Rohde 18 Jan 2014
Render HTML from Object with CoffeeKup

Render HTML from Object with CoffeeKup

CoffeeKup allows to render HTML from multiple sources: * A String containing valid CoffeeScript code * A JavaScript/CoffeeScript object arranged according to CoffeeKup rules To render HTML from a String is quite straightforward and documented on the CoffeeeScript reference: you can use the methods .compile and .render as documented there. However,

By Max Rohde 14 Jan 2014
Copy EntrySet of a HashMap in Java

Copy EntrySet of a HashMap in Java

All the key-value pairs of a Map in Java can be accessed through the method .entrySet() on the Map interface. Sometimes it might be required to create a copy of the resulting list. A straightforward approach would be to utilize the constructor of the ArrayList class, which accepts a list

By Max Rohde 14 Jan 2014
CoffeeKup: Add Class to Elements

CoffeeKup: Add Class to Elements

CoffeeKup is a very succinct and flexible templating engine to define HTML documents in a less verbose manner. It is based on CoffeeScript. Unfortunately, the documentation of CoffeeKup I could find was not very clear on how to perform one of the most basic tasks in creating HTML documents: How

By Max Rohde 14 Jan 2014
Key Shortcuts for Google Chrome

Key Shortcuts for Google Chrome

It is no secret that in order to be more productive in software development, it is good to know the keyboard shortcuts of the IDE or editor of your choice. Using the keyboard is an inevitable part of software development and many other tasks we do at a computer, the

By Max Rohde 12 Jan 2014
Logging Mouse Events in Linux

Logging Mouse Events in Linux

Problem You would like to obtain statistics about how often the mouse is used on a Linux machine. Solution Linux logs all activity of input devices (such as mouse and keyboard) into various device files under /dev/input/*. Mouse activities, in particular, are logged in /dev/input/mice (this logs

By Max Rohde 30 Dec 2013
GWT Object Serialization with gwt-storage

gwt

GWT Object Serialization with gwt-storage

Problem The built in Java Serialization and various serialization frameworks available for Java allow to serialize Java objects conveniently into binary or textual representations. Unfortunately, most of these frameworks are not available for Google Web Toolkit client applications. There is no easily available built in solution for serializing GWT objects

By Max Rohde 27 Nov 2013
Puppet Slow With Processing Directory with ‘recurse => true’

puppet

Puppet Slow With Processing Directory with ‘recurse => true’

The Problem Puppet allows deploying a structure of directories and files conveniently using the file resource. Using the attributes 'source => …' and 'recurse => true', it is possible to create a copy of a set of files stored in the puppet module on target servers. Unfortunately,

By Max Rohde 19 Nov 2013
Setting Up SSL with Netty

netty

Setting Up SSL with Netty

SSL is unquestionably a very useful and powerful technology to make systems more secure. Java in general and Netty in specific provide strong out-of-box support for supporting SSL encryption and authentication. However, since SSL is a complex technology it can often be cumbersome and difficult to set it up correctly.

By Max Rohde 06 Sep 2013
Touch and Click in jQuery (without jQuery Mobile)

jquery

Touch and Click in jQuery (without jQuery Mobile)

Problem One of the most common things I do with JQuery is to attach click event listeners to buttons, links and other elements as follows: $(".class").click(function(evt) {}); Unfortunately, I found that, while this approach works well for Desktop browsers, the user interaction on touch-enabled devices feels

By Max Rohde 04 Sep 2013
GWT RPC Serialization for LocalStorage

gwt

GWT RPC Serialization for LocalStorage

GWT RPC is a great technology for sending 'Java' objects from a Java sever to a JavaScript client and vice averse. Since GWT RPC provides facilities for serializing and deseralizing Java objects, it seems like a good option, too, for preparing objects to be stored in a browsers

By Max Rohde 26 Aug 2013
See all
MAX BUILD SPEED

MAX BUILD SPEED

be calm & code.

MAX BUILD SPEED
  • Sign up
Powered by Ghost

MAX BUILD SPEED

be calm & code.