Skip to content

Instantly share code, notes, and snippets.

View Sarquamon's full-sized avatar
👾
Coding

Salomón Piña Sarquamon

👾
Coding
View GitHub Profile
@emoxowa
emoxowa / DetailedHTMLProps.md
Last active January 16, 2025 03:40
list of HTML tags and their corresponding types for DetailedHTMLProps

List of HTML Tags and Their Corresponding Props

This is a list of HTML tags and their associated types using the TypeScript DetailedHTMLProps interface. The DetailedHTMLProps interface is a generic type that provides a way to describe HTML element props in a more precise way. The list includes tags from the most commonly used to the least commonly used HTML elements. Each tag is listed in alphabetical order with its associated type definition using the DetailedHTMLProps interface.

  • <a> tag: DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
  • <abbr> tag: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>
  • <address> tag: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>
  • <area> tag: DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>
  • <article> tag: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>
  • <aside> tag: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>
@Potherca
Potherca / README.md
Last active November 27, 2023 17:44
Create a branch on Github without access to a local git repo using http://hurl.eu/

Ever had the need to create a branch in a repo on Github without wanting (or being able) to access a local repo?

With the aid of [the Github API][1] and any online request app this is a piece of cake!

Just follow these steps:

  1. Open an online request app (like apirequest.io, hurl.it pipedream.com, reqbin.com, or webhook.site)
  2. Find the revision you want to branch from. Either on Github itself or by doing a GET request from Hurl: https://api.github.com/repos/<AUTHOR>/<REPO>/git/refs/heads
  3. Copy the revision hash
  4. Do a POST request from Hurl to https://api.github.com/repos/<AUTHOR>/<REPO>/git/refs with the following as the POST body :