- Like
- Clean Retweet
- Like
.nav-item { | |
&__link { | |
color: red; | |
} | |
$this: &; | |
&:first-of-type { | |
&__link { | |
// this won't work 😞 | |
color: blue; | |
} |
Okay to be clear this won't always work and definitely won't always work well. But it's something. It's not the dark mode we deserve. But it's the one we need right now.
javascript:(function(){document.documentElement.style.mixBlendMode = 'difference';document.documentElement.style.filter = 'hue-rotate(180deg)';})();
pullparty() { | |
echo "🍹 Pull party baby! 🏝👙" | |
CURRENT_BRANCH=$(git symbolic-ref --short -q HEAD); | |
git checkout develop; | |
git pull; | |
git checkout $CURRENT_BRANCH; | |
git merge develop; | |
} |
// Before | |
const postsByAuthor = (posts) => { | |
return this.posts.filter( | |
(post) => post.author && post.author.fields.name == this.teamMember.name | |
); | |
}, | |
// After | |
const postsByAuthor = (posts) => { | |
return this.posts.filter( |
if (matchMedia('(pointer:fine)').matches) { | |
// This browser has a mouse or other fine-control device as its primary input. | |
} |
const MarginTop = (props) => ( | |
<div> | |
{Array.from(Array(props.spacing)).map((br) => ( | |
<br /> | |
))} | |
{props.children} | |
</div> | |
); | |
ReactDOM.render( |
function killport { | |
echo '🚨 Killing all processes at port' $1 | |
lsof -ti tcp:$1 | xargs kill | |
} |
/** | |
* @param {import("@11ty/eleventy/src/UserConfig")} eleventyConfig | |
*/ | |
module.exports = (eleventyConfig) => { | |
return {}; | |
}; |