If you have a page hosted on Github Pages using Jekyll there are times when a little character in the wrong place can cause the whole site or page to crash. Here is a list of gotchas I’ve encountered and how to prevent them from happening again.
How To Fix Oblique Advanced PDF/HTML Template Errors In Netsuite
The Advanced Template in NetSuite throws an error on a line that contains no data in my text editor – what’s going on?
How To Print More Than 1 Page In Advanced PDF/HTML Templates
How do you force a page break in your Advanced PDF/HTML template to print content on another page?
Function That Receives An Array Of Strings & Outputs Most Used String
How do you output the most commonly used string in an array of strings in JavaScript?
How To Assign A Blank Cell To A Default Value
How can you easily check if a Google Sheet cell has a value, and if it doesn’t to set a default value when assigning it to a variable in Google App Script?
Function Hoisting In JavaScript
When writing functions in Javascript it can be a little confusing. Hopefully by walking through a few examples we can see the nature of hoisting in Javascript to better understand it’s behaviour. In Javascript the following functions are hoisted: Notice how within the foo() function that there’s a return statement between the two bar() functions.… Continue reading Function Hoisting In JavaScript
Flatten An Array Of Arrays
There can be times when working with arrays that you need to be able to turn the array into one dimension. For example, you may have a situation whereby you have the following array: [ [ 1, 2 ], [ 3, 4, 5 ], [ 6 ], [ 7, 8 ], [ 9 ] ]… Continue reading Flatten An Array Of Arrays
What Are The JavaScript Equivalents Of “AND” And “OR”?
When writing IF statements in JavaScript what do we use when we have multiple conditions to apply within our IF statement?
JavaScript Array Methods
What do all the array functions in JavaScript do when iterating through their list? We’ll explore the popular array functions and find out.
Netsuite Aggregate CASE Values
If you want to aggregate your CASE results in a NetSuite Saved Search then you easily do so by applying the SUM grouping function to your Formula. Here’s an example illustrating aggregation and nested CASE statements.