Skip to content

Instantly share code, notes, and snippets.

View YenHub's full-sized avatar
🎯
Focusing

Ian Gilkes YenHub

🎯
Focusing
View GitHub Profile
@YenHub
YenHub / ngrok.md
Created March 31, 2021 21:49
Exposing your local environment for mobile testing | ngrok Setup

Exposing your local environment for mobile testing | ngrok Setup

This guide describes the setup process to expose your local (e.g. https://localhost:3000) to the outside web.

This is helpful, for example, when attempting to test and inspect local code changes on a mobile device.

Install

Visit ngrok's website, setup an account & grab the exe

@YenHub
YenHub / debounce.md
Created March 31, 2021 21:50
Vanilla Javascript Debounce

Vanilla Javascript Debounce

What is debounce?

This is a vanilla JS version of the infamous Debounce function.

Debounce allows you to delay calls to a function in order to prevent spamming.

A good example of it's application would be an event handler whose event could be fired in multiple time in quick succession.

This function can be used to support JavaScript for the BackOffice non-react pages.

@YenHub
YenHub / readme.md
Created October 31, 2021 21:41
🎷 A jazzy git readme template 🎶🎼

Repo Welcome