Programming tips by an all purpose programmer

Various articles over various topics I write down to remember for the ages. Ranging over a wide host of subjects. From NodeJS to PHP to Magento to deep learning to game programming.

Setting up unit testing with magento2 docker

2021-04-08T14:33:00.004-07:00

This post is being edited and refined. It's not complete yet. Changes may occur in the next few days, as I test this out and refine it, and improve the formatting of this post. If you followed my tutorial to set up your docker container,...

Setting up Magento 2.4 on windows 10 with Docker

2021-03-28T10:42:00.030-07:00

What a wild ride this was, setting up Magento with Docker, it actually killed my aging mechanical hard drive with all the operations that were performed on it, but now I have a nice and fast SSD, so win-win. For this article, I am going to...

Node.js caching of required scripts

2019-04-25T01:37:00.000-07:00

Giving me confidence that it doesn't matter from which file or directory you require the module, as long as the filename is the same. The only caveat is that if you use a case insensitive file system, things will break down if you're not...

Turning a black icon into a coloured using css3 and filters

2015-05-19T23:52:00.000-07:00

This *should* display them in fancy colours(lightblue) below. if it doesn't your browser doesn't support standards. Go figure out the long route to achieve this(svg, IE dx filters, magic?) Now the order in which the filter arguments appear...

simple jQuery smooth scrolling block

2014-03-06T07:01:00.000-08:00

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a h. mah... comic should stop around here...... d r o p p e d m y c o o k i e!!!

Escape codes for special characters in a CSS content element.

2014-02-06T00:04:00.002-08:00

CSSElement::before {content:'\0';} escape code: \0 CSSElement::before {content:'\1';} escape code: \1 CSSElement::before {content:'\2';} escape code: \2 CSSElement::before {content:'\3';} escape code: \3 CSSElement::before {content:'\4';}...