When deploying React apps on Apache or nginx, in a sub-folder of the root / DocumentRoot, there are some issues to consider. While the deployment guide suggests setting “homepage”: “.” in package.json, others have advised against this. Taking that at face value, I used “homepage”: “/react/react-hooks”, which initially appeared to work. However… static images from… Continue reading Deploying React Apps
Tag: software
Give me http, Firefox
Firefox … forcing https. Great! How do I override it for my niche situation?
http server – in bash!?!
A discussion came up on one of the LUGs this weekend (Victoria’s VLUG). Craig had a situation with a router with low specs that he wanted to retrieve some info from. The idea of a simple http server in bash came up. I thought, “Nah, can’t be done.” I was wrong. He found a Github… Continue reading http server – in bash!?!
Array wrapping with modulus
Recently came across a requirement that consisted of a list of items to display which is decorated by a smaller list of colours. The colours were to cycle through and wrap at the end of the list — starting over from the beginning. Mini Challenge 01: Changing Background Colors for Certificates Card Story for the… Continue reading Array wrapping with modulus