Skip to content

Instantly share code, notes, and snippets.

View mosessmax's full-sized avatar
:shipit:
another day locked in at the office

Moses mosessmax

:shipit:
another day locked in at the office
View GitHub Profile
@isocroft
isocroft / form-abandonment.js
Last active May 25, 2025 09:36
A form abandonment script for all forms on a given web page for SPA and non-SPAs: e.g. contact form, checkout form, signup form e.t.c.
;(function (window, document) {
/**
* Form Abandonment script created by @isocroft
*
* Copyright (c) February 2022-2025 | Ifeora Okechukwu
*
* Works in ReactJS / VueJS / jQuery / Angular / Vanilla
*
* This implements a simple algorithm that basically tracks when forms on a given HTML page
@mrkpatchaa
mrkpatchaa / README.md
Last active July 8, 2025 08:03
Bulk delete github repos

Use this trick to bulk delete your old repos or old forks

(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)

  1. Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories

  2. Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.

  3. Save that list to some path

  4. The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.