Skip to content

Instantly share code, notes, and snippets.

View hmboyd's full-sized avatar

Hmboyd hmboyd

View GitHub Profile
@hmboyd
hmboyd / enzyme_render_diffs.md
Created November 23, 2022 22:29 — forked from fokusferit/enzyme_render_diffs.md
Difference between Shallow, Mount and render of Enzyme

Shallow

Real unit test (isolation, no children render)

Simple shallow

Calls:

  • constructor
  • render
@hmboyd
hmboyd / CVE-2021-45802.md
Last active February 7, 2022 21:01 — forked from P0cas/CVE-2021-45802.md
MartDevelopers-Inc

CVE-2021-45802

The iResturant is open source for web commercial use. SQL Injection occurs because iResturant does not verify email and phone parameters when registering as a member.

/* (...) */
session_start();
require_once('../config/codeGen.php');
require_once('../config/config.php');
require_once('../partials/head.php');
@hmboyd
hmboyd / 0_reuse_code.js
Created September 30, 2015 17:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console