Skip to content

Instantly share code, notes, and snippets.

View gptkrsh's full-sized avatar
:octocat:
git push -f

Krish Gupta gptkrsh

:octocat:
git push -f
View GitHub Profile
const crypto = require('crypto')
module.exports = (pass) => { return crypto.hash(pass) }
@gptkrsh
gptkrsh / join-eddiehub.md
Last active March 25, 2022 11:36
How to join the EddieHub Guild at Global Hack Week: Share 2022

How do I join the EddieHub MLH Guild?

Become a member of the EddieHub Guild

👇 Screenshot

@gptkrsh
gptkrsh / script.js
Last active January 13, 2023 10:47
@krshoss labeller
document.querySelectorAll('.js-delete-label').forEach(form => form.querySelector('button').click())
const labels = (await ((await fetch('https://github.com/krshoss/repo-labels/raw/main/labels.json')).json()))
function createLabel(label) {
document.querySelector(".js-new-label-name-input").value = label.name;
document.querySelector(".js-new-label-description-input").value =
label.description;
document.querySelector(".js-new-label-color-input").value = label.color;
document.querySelector(".js-details-target ~ .btn-primary").disabled = false;
@gptkrsh
gptkrsh / readme.md
Created January 14, 2023 04:09
Hubber API Design

API Design

API

This is a draft on how we can design the API for EddieHubCommunity/LinkFree.

LinkFree consists of 4 main data models:

  1. User Profile
  2. User Link
@gptkrsh
gptkrsh / rules.md
Created January 18, 2023 11:24
Rules
  • You cannot contribute to a repository that you have contributed to 10 times
  • You can review PRs in repositories you do not maintain
  • All of your contributions should not be of one type
  • All of your contributions should not be in one repo/organisation