Problem I have modified my code as per the suggestion given by some of the developers. Let me know if […]
Tag: template
Refusing to use a common template engine
Problem As the title says, I refuse to use a common template engine. I have my reasons, so instead of […]
Cloning Windows Forms controls from a template
Problem In a recent project I needed a way to clone windows forms controls from a template which had predefined […]
Simple bash script creates apache2 virtualhost config for subdomain
Problem Simple bash script to create apache2 virtualhost for localhost. Can be used for public subdomains on developer server with […]
JavaScript module to filter data and render it as a table
Problem I want to organize some JavaScript code using module pattern. The scenario is as follows: Having the following html […]
Mapping JSON object to HTML
Problem This is a continuation of previous questions. I just started using react and I’ve managed to fetch a xml […]
Liquid navigation tree generator
Problem This include was written for a Jekyll site I’m building. It generates nested HTML unordered lists to a given […]
Naming a template print method properly
Problem Some might not think it’s worth asking but I consider good function names quite important. I am not sure […]
C++ Registry pattern implementation
Problem I created a template registry class. It supports custom factory functions and custom constructors. Any kind of feedback is […]
Union find using unordered map and templates in C++
Problem I tried to implement union find (disjoint set data structure) algorithm in C++. There I used unordered_map data structure. […]