⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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++; | |
} |
- SidebarIO
- (I follow on twitter @SidebarIO)
- Butter both sides of two slices of bread
- Spread a light layer of cream cheese on one side of each slice
- (Optional) Spread a light layer of BBQ sauce on each slice
- Add the main cheese to one slice. Cheddar, prefarably. Shredded/grated is best. Make sure it reaches all those corners.
- (Optional) Sprinkle some Worcestor sauce over the cheese
- Assemble the sandwich. Marvel at its glory.
- Fry both sides in a pan over a medium heat, until the bread is evenly toasted. A little overdone won't hurt.
- Eat it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
$ defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes | |
$ defaults write com.bohemiancoding.sketch3 svgExportSkipAssignIdToLayerName -bool yes | |
``` |
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>