Skip to content

Instantly share code, notes, and snippets.

View amineabri's full-sized avatar
💭
I may be slow to respond.

AmineAbri amineabri

💭
I may be slow to respond.
View GitHub Profile
@amineabri
amineabri / code-review-checklist.md
Created November 20, 2020 13:28 — forked from nerandell/code-review-checklist.md
PHP Code Review Guidelines

Make sure these boxes are checked before submitting/approving the PR

General

  • The code works
  • The code is easy to understand
  • Follows coding conventions
  • Names are simple and if possible short
  • Names are spelt correctly
  • Names contain units where applicable
  • There are no usages of magic numbers
@amineabri
amineabri / 2019-https-localhost.md
Created April 4, 2020 00:25 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@amineabri
amineabri / class-virtualthemedpage-bc.php
Created February 21, 2017 17:17 — forked from brianoz/class-virtualthemedpage-bc.php
WordPress Virtual page with theme
<?php
/*
* Virtual Themed Page class
*
* This class implements virtual pages for a plugin.
*
* It is designed to be included then called for each part of the plugin
* that wants virtual pages.
*
* It supports multiple virtual pages and content generation functions.