Tom's Blog · Abelo
Rendering IE conditional comments with Jade / Pug
Details on rendering conditional comments for IE browser in Jade or Pug template engine in Node.js Jade template engine was designed primarily for server-side templates in Node.js. It is only intended to produce XML like documents, e.g., HTML, etc. It is whitespace sensitive, so there’s no need to close your tags; Jade does that for you.
In this post, I am sharing a few methods of converting a one-dimensional array into a two-dimensional array with a specific number of items in second level arrays.
Disable title and subtitle in Highcharts
Column or tooltip label change in Highcharts
Highcharts library allows for a high number of customizations. One of the most common customizations problems is to change tooltip or a column label. In this post, I am sharing a quick way of changing column or tooltip label in Highcharts.
Customization of title and subtitle in Highcharts
String split into n-character long tokens
In this post, I am sharing how to split a string into tokens which are of N characters in length. That might be very handy when it comes to number formatting e.g. Separate a number in decimal format with thousands delimiter, from 1233232 to 1,233,232 Separate a number in binary format every fourth digit (a single byte), from 1011010010101001 to 1011 0100 1010 1001 Separate a number in hexadecimal format every second character, from 0xfab22883b0ada0 to 0xfa b2 28 83 b0 ad a0 For that purpose we can use the following regular expression .
Useful things spring expression language SpEL
In this post, I would like to share several useful things about Spring Expression Language which can help you with Spring framework configuration. Spring XML wiring style is sufficient in most cases. Sometimes, however, you need to perform wiring that is much more difficult or sometimes even impossible without writing extra Java code, e.g., convert a string value to the upper case, calculate a numeric value, etc.