Skip to content

Instantly share code, notes, and snippets.

View helenvholmes's full-sized avatar
🍊
Say hi

Helen V. Holmes helenvholmes

🍊
Say hi
View GitHub Profile
@Sarquamon
Sarquamon / DetailedHTMLProps.md
Created August 30, 2024 19:47 — forked from emoxowa/DetailedHTMLProps.md
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>
```
$ defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes
$ defaults write com.bohemiancoding.sketch3 svgExportSkipAssignIdToLayerName -bool yes
```
@daneden
daneden / grilled-cheese.md
Last active August 29, 2015 14:15
Maybe the simplest, tastiest, most budget-friendly grilled cheese sandwich I’ve ever made.
  1. Butter both sides of two slices of bread
  2. Spread a light layer of cream cheese on one side of each slice
  3. (Optional) Spread a light layer of BBQ sauce on each slice
  4. Add the main cheese to one slice. Cheddar, prefarably. Shredded/grated is best. Make sure it reaches all those corners.
  5. (Optional) Sprinkle some Worcestor sauce over the cheese
  6. Assemble the sandwich. Marvel at its glory.
  7. Fry both sides in a pan over a medium heat, until the bread is evenly toasted. A little overdone won't hurt.
  8. Eat it.
@pk-nb
pk-nb / Web Design Resources.md
Last active August 29, 2015 14:03
A few resources that I routinely go to for web design

General Inspiration / Intimidation

Links to New and Great Design Articles

Open and Commericial Friendly Fonts

(function() {
// Do not use this library. This is just a fun example to prove a
// point.
var Bloop = window.Bloop = {};
var mountId = 0;
function newMountId() {
return mountId++;
}
@jakeonrails
jakeonrails / Ruby Notepad Bookmarklet
Created January 29, 2013 18:08
This bookmarklet gives you a code editor in your browser with a single click.
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
@miloplacencia
miloplacencia / lazyload.js
Created October 22, 2012 14:39
lazyload.js (c) Lorenzo Giuliani
/* lazyload.js (c) Lorenzo Giuliani
* MIT License (http://www.opensource.org/licenses/mit-license.html)
*
* expects a list of:
* `<img src="blank.gif" data-src="my_image.png" width="600" height="400" class="lazy">`
*/
!function(window){
var $q = function(q, res){
if (document.querySelectorAll) {
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt