Skip to content

Instantly share code, notes, and snippets.

easy:

๐Ÿถ ๐Ÿฑ ๐Ÿญ ๐Ÿน ๐Ÿฐ ๐ŸฆŠ ๐Ÿป ๐Ÿผ ๐Ÿปโ€โ„๏ธ ๐Ÿจ ๐Ÿฏ ๐Ÿฆ ๐Ÿฎ ๐Ÿท ๐Ÿฝ ๐Ÿธ ๐Ÿต ๐Ÿ™ˆ ๐Ÿ™‰ ๐Ÿ™Š ๐Ÿ’ ๐Ÿ” ๐Ÿง ๐Ÿฆ ๐Ÿค ๐Ÿฃ ๐Ÿฅ ๐Ÿฆ† ๐Ÿฆ… ๐Ÿฆ‰ ๐Ÿฆ‡ ๐Ÿบ ๐Ÿ— ๐Ÿด ๐Ÿฆ„ ๐Ÿ ๐Ÿชฑ ๐Ÿ› ๐Ÿฆ‹ ๐ŸŒ ๐Ÿž ๐Ÿœ ๐Ÿชฐ ๐Ÿชฒ ๐Ÿชณ ๐ŸฆŸ ๐Ÿฆ— ๐Ÿ•ท ๐Ÿ•ธ ๐Ÿฆ‚ ๐Ÿข ๐Ÿ ๐ŸฆŽ ๐Ÿฆ– ๐Ÿฆ• ๐Ÿ™ ๐Ÿฆ‘ ๐Ÿฆ ๐Ÿฆž ๐Ÿฆ€ ๐Ÿชธ ๐Ÿก ๐Ÿ  ๐ŸŸ ๐Ÿฌ ๐Ÿณ ๐Ÿ‹ ๐Ÿฆˆ ๐ŸŠ ๐Ÿ… ๐Ÿ† ๐Ÿฆ“ ๐Ÿฆ ๐Ÿฆง ๐Ÿฆฃ ๐Ÿ˜ ๐Ÿฆ› ๐Ÿฆ ๐Ÿช ๐Ÿซ ๐Ÿฆ’ ๐Ÿฆ˜ ๐Ÿฆฌ ๐Ÿƒ ๐Ÿ‚ ๐Ÿ„ ๐ŸŽ ๐Ÿ– ๐Ÿ ๐Ÿ‘ ๐Ÿฆ™ ๐Ÿ ๐ŸฆŒ ๐Ÿ• ๐Ÿฉ ๐Ÿฆฎ ๐Ÿ•โ€๐Ÿฆบ ๐Ÿˆ ๐Ÿˆโ€โฌ› ๐Ÿชถ ๐Ÿ“ ๐Ÿฆƒ ๐Ÿฆค ๐Ÿฆš ๐Ÿฆœ ๐Ÿฆข ๐Ÿฆฉ ๐Ÿ•Š ๐Ÿ‡ ๐Ÿฆ ๐Ÿฆจ ๐Ÿฆก ๐Ÿฆซ ๐Ÿฆฆ ๐Ÿฆฅ ๐Ÿ ๐Ÿ€ ๐Ÿฟ ๐Ÿฆ”

medium:

๐Ÿ ๐ŸŽ ๐Ÿ ๐ŸŠ ๐Ÿ‹ ๐ŸŒ ๐Ÿ‰ ๐Ÿ‡ ๐Ÿ“ ๐Ÿซ ๐Ÿˆ ๐Ÿ’ ๐Ÿ‘ ๐Ÿฅญ ๐Ÿ ๐Ÿฅฅ ๐Ÿฅ ๐Ÿ… ๐Ÿ† ๐Ÿฅ‘ ๐Ÿฅฆ ๐Ÿฅฌ ๐Ÿฅ’ ๐ŸŒถ ๐Ÿซ‘ ๐ŸŒฝ ๐Ÿฅ• ๐Ÿซ’ ๐Ÿง„ ๐Ÿง… ๐Ÿฅ” ๐Ÿ  ๐Ÿซ˜ ๐Ÿฅ ๐Ÿฅฏ ๐Ÿž ๐Ÿฅ– ๐Ÿฅจ ๐Ÿง€ ๐Ÿฅš ๐Ÿณ ๐Ÿงˆ ๐Ÿฅž ๐Ÿง‡ ๐Ÿฅ“ ๐Ÿฅฉ ๐Ÿ— ๐Ÿ– ๐Ÿฆด ๐ŸŒญ ๐Ÿ” ๐ŸŸ ๐Ÿ• ๐Ÿซ“ ๐Ÿฅช ๐Ÿฅ™ ๐Ÿง† ๐ŸŒฎ ๐ŸŒฏ ๐Ÿซ” ๐Ÿฅ— ๐Ÿฅ˜ ๐Ÿซ• ๐Ÿฅซ ๐Ÿ ๐Ÿœ ๐Ÿฒ ๐Ÿ› ๐Ÿฃ ๐Ÿฑ ๐ŸฅŸ ๐Ÿฆช ๐Ÿค ๐Ÿ™ ๐Ÿš ๐Ÿ˜ ๐Ÿฅ ๐Ÿฅ  ๐Ÿฅฎ ๐Ÿข ๐Ÿก ๐Ÿง ๐Ÿจ ๐Ÿฆ ๐Ÿฅง ๐Ÿง ๐Ÿฐ ๐ŸŽ‚ ๐Ÿฎ ๐Ÿญ ๐Ÿฌ ๐Ÿซ ๐Ÿฟ ๐Ÿฉ ๐Ÿช ๐ŸŒฐ ๐Ÿฅœ ๐Ÿฏ ๐Ÿฅ› ๐Ÿผ ๐Ÿซ– ๐Ÿต ๐Ÿงƒ ๐Ÿฅค ๐Ÿง‹ ๐Ÿซ™ ๐Ÿถ ๐Ÿบ ๐Ÿป ๐Ÿฅ‚ ๐Ÿท ๐Ÿซ— ๐Ÿฅƒ ๐Ÿธ ๐Ÿน ๐Ÿง‰ ๐Ÿพ ๐ŸงŠ ๐Ÿฅ„ ๐Ÿด ๐Ÿฝ ๐Ÿฅฃ ๐Ÿฅก ๐Ÿฅข ๐Ÿง‚

hard:

@Asjas
Asjas / reset.css
Created May 19, 2021 07:09
Modern CSS Reset - Andy Bell
// https://piccalil.li/blog/a-modern-css-reset
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Remove default margin */
@db
db / bulletproof-npm-workflow.md
Last active January 20, 2017 03:15
Bulletproof NPM Workflow

Bulletproof NPM Workflow

Use the Bulletproof Git Workflow, and before code review:

pre-release package

Publish a pre-release version of the package:

@db
db / bulletproof-git-workflow.md
Last active January 11, 2024 06:05
bulletproof git workflow

Bulletproof Git Workflow

start working

git checkout master
git pull
git checkout -b feature/my-work
# edit your files
@ericelliott
ericelliott / essential-javascript-links.md
Last active June 14, 2025 18:43
Essential JavaScript Links
@pburtchaell
pburtchaell / styles.css
Last active February 12, 2025 08:45
VH and VW units can cause issues on iOS devices. To overcome this, create media queries that target the width, height, and orientation of iOS devices.
/**
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units
*
* To overcome this, create media queries that target the width, height, and orientation of iOS devices.
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing
* the height of element `.foo` โ€”which is a full width and height cover image.
*
* iOS Resolution Quick Reference: http://www.iosres.com/
*/
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="[email protected]"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="[email protected]"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
@sebmarkbage
sebmarkbage / ElementFactoriesAndJSX.md
Last active May 17, 2022 11:06
New React Element Factories and JSX

New React Element Factories and JSX

In React 0.12, we're making a core change to how React.createClass(...) and JSX works.

If you're using JSX in the typical way for all (and only) React components, then this transition will be seamless. Otherwise there are some minor breaking changes described below.

The Problem

@sebmarkbage
sebmarkbage / transferring-props.md
Last active September 27, 2024 00:10
Deprecating transferPropsTo

Deprecating transferPropsTo

It's a common pattern in React to wrap a component in an abstraction. The outer component exposes a simple property to do something that might have more complex implementation details.

We used to have a helper function called transferPropsTo. We no longer support this method. Instead you're expected to use a generic object helper to merge props.

render() {
 return Component(Object.assign({}, this.props, { more: 'values' }));
@mikaelbr
mikaelbr / destructuring.js
Last active February 20, 2025 13:00
Complete collection of JavaScript destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];