Posts

WordPress Quick Tips #1

Enqueue Multiple Google Fonts into One Stylesheet

Taking the twenty-fourteen theme for example, modify the 'functions.php' by separate the different fonts that is to be used with a pipe character in the twentyfourteen_font_url function.

Categories: #CMS
Tags: #WordPress
Simple Validator

Simply Validating

Validation conjures up thoughts of input form validation, but validation could also pop up elsewhere when there is user input such as the case for parameters in jQuery plugins.

Categories: #JavaScript
Nodejs Quick Tips #1

Creating Multiple Files

Unfortunately, the fs.writeFile does not accept an array for creating a bunch of files at once. To solve this problem, put all files in an array and loop through them to create the files.

Categories: #JavaScript
Tags: #NodeJs