Skip to content

Instantly share code, notes, and snippets.

View resonancedesigns's full-sized avatar
🎯
Focusing

Richard Bakos resonancedesigns

🎯
Focusing
View GitHub Profile
@resonancedesigns
resonancedesigns / WSL-Local-Development-Environment-Setup-Guide.md
Last active March 11, 2024 20:45
A complete guide for setting up a WSL development environment. Right now it only covers the LAMP stack but guidance for a MERN stack is in the works.

WSL Local Development Environment Setup Guide

Prerequisites

This guide assumes you have the following:

  • A computer with Hyper-V support enabled in your BIOS. Consult your motherboard manufactures documentation to verify that your motherboard supports Hyper-V and how to enable it.
  • At least 1GB of free space on your C: drive but realistically you'll need plenty more to do any actual work in WSL.
  • Windows 10 May 2020 (2004), Windows 10 May 2019 (1903), or Windows 10 November 2019 (1909).
  • Local admin permissions for your Windows user account
  • Virtual Machine Platform enabled in Windows features.
@resonancedesigns
resonancedesigns / php-style-guide.md
Created February 5, 2022 07:36 — forked from ryansechrest/php-style-guide.md
PHP style guide with coding standards and best practices.

PHP Style Guide

All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts
@resonancedesigns
resonancedesigns / EXTEND DIVI SOCIAL ICONS
Last active February 22, 2019 04:32 — forked from mrkdevelopment/In your social icons file
Divi child theme social icons extension
Updated 2/21/19 9:32PM
Updated 2/21/19 9:31PM
Run this command to install MG-CLI:
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
to start miner (4 cores for BCN) use this command:
minergate-cli -user <YOUR@EMAIL.KAPPA> -bcn 4
Feel free to send some of your earnings to me:
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "SelfStorage",
"address": {
"@type": "PostalAddress",
"addressLocality": "<?php echo($location_town) ?>",
"addressRegion": "<?php echo($location_county) ?>",
"postalCode":"<?php echo($location_postcode) ?>",
"streetAddress": "<?php echo($location_address_line_1) ?>,