HTML Canvas

The Canvas Element <canvas id="cv1" width="300" height="150"> Fallback content here </canvas> widthThe width of the canvas element(default is 300)heightThe height of the canvas element(default is 150)toDataURL(type)Convert content into a data…

Continue ReadingHTML Canvas

Next.js

Table of Contents Useful VS Code extensions ES7+ React/Redux/React-Native snippetsId: dsznajder.es7-react-js-snippetsDescription: Extensions for React, React-Native and Redux in JS/TS with ES7+ syntax. Customizable. Built-in integration with prettier.Version: 4.4.3Publisher: dsznajderVS Marketplace…

Continue ReadingNext.js

Node.js

Table of Contents NPM initialization npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults.…

Continue ReadingNode.js

Underscores + Bootstrap

Setup Underscores website: https://underscores.me/ Name your theme and download the underscores theme boilerplate, then install it in your WordPress website. Bootstrap Website: https://getbootstrap.com/docs/5.3/getting-started/download/ Download the bootstrap CSS compressed file, unzip…

Continue ReadingUnderscores + Bootstrap

WP CLI

Install Installation instruction: https://wp-cli.org/#installing curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar php wp-cli.phar --info chmod +x wp-cli.phar sudo mv wp-cli.phar /usr/local/bin/wp To test the installation: wp --info Commands Each command starts with: wp Next…

Continue ReadingWP CLI