diff --git a/content/authors.yaml b/content/authors.yaml deleted file mode 100644 index c92fb5fa16c..00000000000 --- a/content/authors.yaml +++ /dev/null @@ -1,7 +0,0 @@ -chalarangelo: - name: Angelos Chalaris - profile: https://github.com/Chalarangelo - intro: I'm Angelos Chalaris, a JavaScript software engineer, based in Athens, Greece. - The best snippets from my coding adventures are published here to help others - learn to code. - github: https://github.com/Chalarangelo diff --git a/content/snippets/articles/s/4-seo-tips-for-developers.md b/content/snippets/articles/s/4-seo-tips-for-developers.md index 077e79868c5..2c29429ff3c 100644 --- a/content/snippets/articles/s/4-seo-tips-for-developers.md +++ b/content/snippets/articles/s/4-seo-tips-for-developers.md @@ -3,7 +3,6 @@ title: 4 SEO tips for developers shortTitle: SEO tips type: story tags: [webdev,seo] -author: chalarangelo cover: sunrise-over-city excerpt: SEO is a very relevant topics that most developers are inexperienced in. Here are 4 actionable SEO tips you can implement today. dateModified: 2021-06-12 diff --git a/content/snippets/articles/s/7-chrome-extensions-for-web-developers.md b/content/snippets/articles/s/7-chrome-extensions-for-web-developers.md index db2cc3d6de3..8660debd230 100644 --- a/content/snippets/articles/s/7-chrome-extensions-for-web-developers.md +++ b/content/snippets/articles/s/7-chrome-extensions-for-web-developers.md @@ -3,7 +3,6 @@ title: 7 essential Chrome extensions for web developers shortTitle: Essential Chrome extensions type: story tags: [webdev,devtools] -author: chalarangelo cover: computer-screens excerpt: Boost your productivity with 7 must-have Google Chrome developer tool extensions. unlisted: true diff --git a/content/snippets/articles/s/8-tips-for-remote-work.md b/content/snippets/articles/s/8-tips-for-remote-work.md index 1858228a8c6..1383be1c949 100644 --- a/content/snippets/articles/s/8-tips-for-remote-work.md +++ b/content/snippets/articles/s/8-tips-for-remote-work.md @@ -2,7 +2,6 @@ title: 8 tips for working from home type: story tags: [webdev,career,programming,jobs] -author: chalarangelo cover: kettle-laptop excerpt: Working from home seems great compared to going to the office, but there are challenges that come with it that you need to overcome. unlisted: true diff --git a/content/snippets/articles/s/avoiding-bad-advice.md b/content/snippets/articles/s/avoiding-bad-advice.md index 7cd63c703bf..7dcfa2c84a7 100644 --- a/content/snippets/articles/s/avoiding-bad-advice.md +++ b/content/snippets/articles/s/avoiding-bad-advice.md @@ -3,7 +3,6 @@ title: Beware of Bad Programming Advice - Spotting Senior Juniorism shortTitle: Avoiding Bad Programming Advice type: story tags: [webdev,career,programming] -author: chalarangelo cover: inside-weather excerpt: Don't fall victim to bad advice! Learn to identify "senior juniorism", and develop critical thinking to make better coding decisions. dateModified: 2023-06-04 diff --git a/content/snippets/articles/s/bash-alias-dollar-sign.md b/content/snippets/articles/s/bash-alias-dollar-sign.md index c4802400591..57eeb48e60a 100644 --- a/content/snippets/articles/s/bash-alias-dollar-sign.md +++ b/content/snippets/articles/s/bash-alias-dollar-sign.md @@ -4,7 +4,6 @@ shortTitle: Bash alias for copying from the web type: tip language: git tags: [configuration] -author: chalarangelo cover: capsule-coffee excerpt: Learn how to eliminate the annoyance of copying dollar signs ($) along with terminal commands from the web with a simple bash alias. dateModified: 2023-03-05 diff --git a/content/snippets/articles/s/benefits-of-writing.md b/content/snippets/articles/s/benefits-of-writing.md index 76fd0a940a4..2ebeec8313c 100644 --- a/content/snippets/articles/s/benefits-of-writing.md +++ b/content/snippets/articles/s/benefits-of-writing.md @@ -2,7 +2,6 @@ title: The benefits of writing type: story tags: [webdev,career,programming,jobs] -author: chalarangelo cover: laptop-view excerpt: Writing about a topic can often sound boring or worthless. But there are significant benefits to doing it from time to time. dateModified: 2022-11-05 diff --git a/content/snippets/articles/s/dns-record-basics.md b/content/snippets/articles/s/dns-record-basics.md index 8228df64b77..5228fde4bf5 100644 --- a/content/snippets/articles/s/dns-record-basics.md +++ b/content/snippets/articles/s/dns-record-basics.md @@ -3,7 +3,6 @@ title: A beginner's guide to DNS records shortTitle: DNS Record Basics type: cheatsheet tags: [webdev,dns,server,cheatsheet] -author: chalarangelo cover: sparkles excerpt: DNS records may not be something you work with frequently, but having a basic understanding can be highly beneficial. dateModified: 2022-01-09 diff --git a/content/snippets/articles/s/escaping-tutorial-hell.md b/content/snippets/articles/s/escaping-tutorial-hell.md index ea8be43054d..198351ffa6f 100644 --- a/content/snippets/articles/s/escaping-tutorial-hell.md +++ b/content/snippets/articles/s/escaping-tutorial-hell.md @@ -2,7 +2,6 @@ title: Escaping tutorial hell type: story tags: [webdev,career,programming,jobs] -author: chalarangelo cover: campfire excerpt: Many beginners get stuck in tutorial hell without even realizing. Here are 4 simple ways to escape tutorial hell and get back to learning. dateModified: 2022-05-26 diff --git a/content/snippets/articles/s/http-status-codes-cheatsheet.md b/content/snippets/articles/s/http-status-codes-cheatsheet.md index 078b91becb9..5f5c40a10b1 100644 --- a/content/snippets/articles/s/http-status-codes-cheatsheet.md +++ b/content/snippets/articles/s/http-status-codes-cheatsheet.md @@ -3,7 +3,6 @@ title: Common HTTP status codes Cheat Sheet shortTitle: HTTP status codes type: cheatsheet tags: [webdev,http] -author: chalarangelo cover: hiking-walking excerpt: Familiarize yourself with the most common HTTP status codes with this handy cheatsheet. dateModified: 2021-06-12 diff --git a/content/snippets/articles/s/technical-debt.md b/content/snippets/articles/s/technical-debt.md index ce2fed99c02..4b80c61579b 100644 --- a/content/snippets/articles/s/technical-debt.md +++ b/content/snippets/articles/s/technical-debt.md @@ -2,7 +2,6 @@ title: Technical debt type: story tags: [webdev,career,programming,management] -author: chalarangelo cover: new-york excerpt: Learn what technical debt is, its causes and symptoms, and how to deal with it. dateModified: 2022-10-09 diff --git a/content/snippets/articles/s/terminal-shortcuts-cheatsheet.md b/content/snippets/articles/s/terminal-shortcuts-cheatsheet.md index 18cf23a75b5..9198dce3223 100644 --- a/content/snippets/articles/s/terminal-shortcuts-cheatsheet.md +++ b/content/snippets/articles/s/terminal-shortcuts-cheatsheet.md @@ -2,7 +2,6 @@ title: Bash Shortcuts Cheat Sheet type: cheatsheet tags: [webdev,bash,cheatsheet] -author: chalarangelo cover: terminal excerpt: Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts. dateModified: 2021-06-12 diff --git a/content/snippets/articles/story-template.md b/content/snippets/articles/story-template.md index 9db3fe3b3f9..0662b553a2c 100644 --- a/content/snippets/articles/story-template.md +++ b/content/snippets/articles/story-template.md @@ -4,7 +4,6 @@ shortTitle: Amazing story type: story language: javascript tags: [webdev] -author: chalarangelo cover: image excerpt: A short summary of your story up to 140 characters long. dateModified: 2021-06-13 diff --git a/content/snippets/css/s/25-css-gradients.md b/content/snippets/css/s/25-css-gradients.md index 0e6d25c1a9d..a858dd20cf4 100644 --- a/content/snippets/css/s/25-css-gradients.md +++ b/content/snippets/css/s/25-css-gradients.md @@ -4,7 +4,6 @@ shortTitle: CSS gradients type: cheatsheet language: css tags: [visual] -author: chalarangelo cover: colors-mural excerpt: We hand picked 25 of our favorite CSS gradients from uiGradients for your next design. Get them now! dateModified: 2021-06-12 diff --git a/content/snippets/css/s/aspect-ratio.md b/content/snippets/css/s/aspect-ratio.md index 9cdf04acd1d..5bdfe461c2a 100644 --- a/content/snippets/css/s/aspect-ratio.md +++ b/content/snippets/css/s/aspect-ratio.md @@ -3,7 +3,6 @@ title: Aspect ratio type: snippet language: css tags: [layout] -author: chalarangelo cover: digital-nomad-12 dateModified: 2022-08-14 --- diff --git a/content/snippets/css/s/broken-image-fallback.md b/content/snippets/css/s/broken-image-fallback.md index 287b7a9aa13..962071d9373 100644 --- a/content/snippets/css/s/broken-image-fallback.md +++ b/content/snippets/css/s/broken-image-fallback.md @@ -4,7 +4,6 @@ type: snippet shortTitle: Broken image fallback language: css tags: [visual] -author: chalarangelo cover: building-facade dateModified: 2022-11-04 --- diff --git a/content/snippets/css/s/button-focus-swing-animation.md b/content/snippets/css/s/button-focus-swing-animation.md index 5c3e00e362d..d659cd16c2c 100644 --- a/content/snippets/css/s/button-focus-swing-animation.md +++ b/content/snippets/css/s/button-focus-swing-animation.md @@ -3,7 +3,6 @@ title: Button swing animation type: snippet language: css tags: [animation] -author: chalarangelo cover: painters-desk dateModified: 2021-05-24 --- diff --git a/content/snippets/css/s/button-hover-grow-animation.md b/content/snippets/css/s/button-hover-grow-animation.md index 87728fcdd48..b599f3e885e 100644 --- a/content/snippets/css/s/button-hover-grow-animation.md +++ b/content/snippets/css/s/button-hover-grow-animation.md @@ -3,7 +3,6 @@ title: Button grow animation type: snippet language: css tags: [animation] -author: chalarangelo cover: white-laptop dateModified: 2021-05-24 --- diff --git a/content/snippets/css/s/button-hover-shrink-animation.md b/content/snippets/css/s/button-hover-shrink-animation.md index 931543abe43..0d4de631a02 100644 --- a/content/snippets/css/s/button-hover-shrink-animation.md +++ b/content/snippets/css/s/button-hover-shrink-animation.md @@ -3,7 +3,6 @@ title: Button shrink animation type: snippet language: css tags: [animation] -author: chalarangelo cover: clay-pot-horizon dateModified: 2021-05-24 --- diff --git a/content/snippets/css/s/card-image-cutout.md b/content/snippets/css/s/card-image-cutout.md index b17d62a01e1..eb625bba5ae 100644 --- a/content/snippets/css/s/card-image-cutout.md +++ b/content/snippets/css/s/card-image-cutout.md @@ -3,7 +3,6 @@ title: Card with image cutout type: snippet language: css tags: [visual] -author: chalarangelo cover: radio-monstera dateModified: 2022-12-11 --- diff --git a/content/snippets/css/s/centering.md b/content/snippets/css/s/centering.md index 3630334ed6d..56050901077 100644 --- a/content/snippets/css/s/centering.md +++ b/content/snippets/css/s/centering.md @@ -4,7 +4,6 @@ shortTitle: Centering content with CSS type: story language: css tags: [layout] -author: chalarangelo cover: mountain-lake excerpt: Centering content with CSS might often feel tricky. Here are 4 easy tricks you can use in your code today. dateModified: 2021-09-28 diff --git a/content/snippets/css/s/clamp.md b/content/snippets/css/s/clamp.md index 1b7be8d81ae..be9266c6ca3 100644 --- a/content/snippets/css/s/clamp.md +++ b/content/snippets/css/s/clamp.md @@ -4,7 +4,6 @@ shortTitle: CSS clamp() type: tip language: css tags: [visual] -author: chalarangelo cover: strawberries excerpt: Implement responsive typography with the CSS clamp() function. dateModified: 2022-12-28 diff --git a/content/snippets/css/s/code-reviews.md b/content/snippets/css/s/code-reviews.md index 158682f5486..5fc16e106a0 100644 --- a/content/snippets/css/s/code-reviews.md +++ b/content/snippets/css/s/code-reviews.md @@ -4,7 +4,6 @@ shortTitle: CSS code reviews type: story language: css tags: [webdev] -author: chalarangelo cover: green-css excerpt: Reviewing CSS code is a skill that takes time to master. Here are some tips from my personal experience to help you get started. dateModified: 2023-05-21 diff --git a/content/snippets/css/s/current-color.md b/content/snippets/css/s/current-color.md index 77f140590cf..01cd5144d7b 100644 --- a/content/snippets/css/s/current-color.md +++ b/content/snippets/css/s/current-color.md @@ -3,7 +3,6 @@ title: The currentColor CSS keyword type: tip language: css tags: [visual] -author: chalarangelo cover: picking-berries excerpt: The `currentColor` CSS keyword is a nifty alternative to custom properties for simple use cases. dateModified: 2022-11-30 diff --git a/content/snippets/css/s/custom-checkbox.md b/content/snippets/css/s/custom-checkbox.md index eb4c144fc2e..3ee52b39496 100644 --- a/content/snippets/css/s/custom-checkbox.md +++ b/content/snippets/css/s/custom-checkbox.md @@ -3,7 +3,6 @@ title: Custom checkbox type: snippet language: css tags: [visual,animation] -author: chalarangelo cover: interior-8 dateModified: 2021-10-11 --- diff --git a/content/snippets/css/s/custom-radio.md b/content/snippets/css/s/custom-radio.md index 9d828aaf918..a154cad1b1e 100644 --- a/content/snippets/css/s/custom-radio.md +++ b/content/snippets/css/s/custom-radio.md @@ -3,7 +3,6 @@ title: Custom radio button type: snippet language: css tags: [visual,animation] -author: chalarangelo cover: messy-computer dateModified: 2022-11-16 --- diff --git a/content/snippets/css/s/display-empty-links.md b/content/snippets/css/s/display-empty-links.md index c958cb188bb..fe2b8bb934f 100644 --- a/content/snippets/css/s/display-empty-links.md +++ b/content/snippets/css/s/display-empty-links.md @@ -3,7 +3,6 @@ title: Style links with no text type: snippet language: css tags: [visual] -author: chalarangelo cover: metro-tunnel dateModified: 2022-11-11 --- diff --git a/content/snippets/css/s/easing-variables.md b/content/snippets/css/s/easing-variables.md index 264f608309c..713ad4f05da 100644 --- a/content/snippets/css/s/easing-variables.md +++ b/content/snippets/css/s/easing-variables.md @@ -3,7 +3,6 @@ title: CSS easing variables type: tip language: css tags: [animation] -author: chalarangelo cover: curve excerpt: Learn how to use the `cubic-bezier()` class of easing functions and create beautiful animations that stand out. dateModified: 2021-06-12 diff --git a/content/snippets/css/s/flexbox-cheatsheet.md b/content/snippets/css/s/flexbox-cheatsheet.md index c8b82d1671e..a96ad6654e7 100644 --- a/content/snippets/css/s/flexbox-cheatsheet.md +++ b/content/snippets/css/s/flexbox-cheatsheet.md @@ -3,7 +3,6 @@ title: Flexbox Cheat Sheet type: cheatsheet language: css tags: [layout,flexbox,cheatsheet] -author: chalarangelo cover: frames excerpt: Flexbox allows you to create fluid layouts easily. If you are constantly looking up how it works, this handy cheatsheet is all you need. dateModified: 2021-06-12 diff --git a/content/snippets/css/s/floating-list-titles.md b/content/snippets/css/s/floating-list-titles.md index dbd9ee2f1c8..f8d1f002385 100644 --- a/content/snippets/css/s/floating-list-titles.md +++ b/content/snippets/css/s/floating-list-titles.md @@ -3,7 +3,6 @@ title: List with floating section headings type: snippet language: css tags: [visual] -author: chalarangelo cover: pop-of-green dateModified: 2021-10-11 --- diff --git a/content/snippets/css/s/fluid-typography.md b/content/snippets/css/s/fluid-typography.md index 86dad1228a0..276e4235837 100644 --- a/content/snippets/css/s/fluid-typography.md +++ b/content/snippets/css/s/fluid-typography.md @@ -3,7 +3,6 @@ title: Fluid typography type: snippet language: css tags: [visual] -author: chalarangelo cover: shell-focus dateModified: 2021-05-16 --- diff --git a/content/snippets/css/s/footer-at-the-bottom.md b/content/snippets/css/s/footer-at-the-bottom.md index 2f6f99dc160..9403d9e2083 100644 --- a/content/snippets/css/s/footer-at-the-bottom.md +++ b/content/snippets/css/s/footer-at-the-bottom.md @@ -4,7 +4,6 @@ shortTitle: Footer at the bottom type: question language: css tags: [layout] -author: chalarangelo cover: flower-shape-sunset excerpt: Make sure the footer stays at the bottom of the page, instead of floating up when the content is too short. dateModified: 2022-10-30 diff --git a/content/snippets/css/s/full-width.md b/content/snippets/css/s/full-width.md index 117f9dd6cc5..5b0c9be26bf 100644 --- a/content/snippets/css/s/full-width.md +++ b/content/snippets/css/s/full-width.md @@ -3,7 +3,6 @@ title: Full-width image type: snippet language: css tags: [layout] -author: chalarangelo cover: yellow-white-mug-2 dateModified: 2021-01-07 --- diff --git a/content/snippets/css/s/hide-empty-elements.md b/content/snippets/css/s/hide-empty-elements.md index 8b6269c42bd..0d9ee249a01 100644 --- a/content/snippets/css/s/hide-empty-elements.md +++ b/content/snippets/css/s/hide-empty-elements.md @@ -3,7 +3,6 @@ title: Hide empty elements type: snippet language: css tags: [visual] -author: chalarangelo cover: metro-arrival dateModified: 2022-11-18 --- diff --git a/content/snippets/css/s/hide-scrollbars.md b/content/snippets/css/s/hide-scrollbars.md index 19dbf88cc65..44d3197694f 100644 --- a/content/snippets/css/s/hide-scrollbars.md +++ b/content/snippets/css/s/hide-scrollbars.md @@ -3,7 +3,6 @@ title: Hide scroll bars type: snippet language: css tags: [visual] -author: chalarangelo cover: by-the-lighthouse dateModified: 2022-05-13 --- diff --git a/content/snippets/css/s/hover-perspective.md b/content/snippets/css/s/hover-perspective.md index cebabe33cd5..5d1738ebf9f 100644 --- a/content/snippets/css/s/hover-perspective.md +++ b/content/snippets/css/s/hover-perspective.md @@ -3,7 +3,6 @@ title: Perspective transform on hover type: snippet language: css tags: [animation] -author: chalarangelo cover: shiny-mountains dateModified: 2021-05-17 --- diff --git a/content/snippets/css/s/image-mosaic.md b/content/snippets/css/s/image-mosaic.md index cae54b16582..27cc1dd5e56 100644 --- a/content/snippets/css/s/image-mosaic.md +++ b/content/snippets/css/s/image-mosaic.md @@ -3,7 +3,6 @@ title: Responsive image mosaic type: snippet language: css tags: [layout] -author: chalarangelo cover: beach-riders dateModified: 2020-12-30 --- diff --git a/content/snippets/css/s/image-text-overlay.md b/content/snippets/css/s/image-text-overlay.md index f166a854ece..77a46c294df 100644 --- a/content/snippets/css/s/image-text-overlay.md +++ b/content/snippets/css/s/image-text-overlay.md @@ -3,7 +3,6 @@ title: Image with text overlay type: snippet language: css tags: [visual] -author: chalarangelo cover: icebreaker dateModified: 2023-01-29 --- diff --git a/content/snippets/css/s/inherited-properties-cheatsheet.md b/content/snippets/css/s/inherited-properties-cheatsheet.md index caffff2b851..9bee73d27c3 100644 --- a/content/snippets/css/s/inherited-properties-cheatsheet.md +++ b/content/snippets/css/s/inherited-properties-cheatsheet.md @@ -4,7 +4,6 @@ shortTitle: Inherited properties type: cheatsheet language: css tags: [layout] -author: chalarangelo cover: half-trees excerpt: A quick reference for inherited CSS properties. dateModified: 2022-11-20 diff --git a/content/snippets/css/s/isometric-card.md b/content/snippets/css/s/isometric-card.md index ca85941eecf..b1101d5b2e3 100644 --- a/content/snippets/css/s/isometric-card.md +++ b/content/snippets/css/s/isometric-card.md @@ -3,7 +3,6 @@ title: Isometric card type: snippet language: css tags: [visual] -author: chalarangelo cover: guitar-living-room dateModified: 2021-05-17 --- diff --git a/content/snippets/css/s/line-clamp.md b/content/snippets/css/s/line-clamp.md index 80d8192fc98..298bbdc54c5 100644 --- a/content/snippets/css/s/line-clamp.md +++ b/content/snippets/css/s/line-clamp.md @@ -3,7 +3,6 @@ title: Trim multiline text type: snippet language: css tags: [layout,visual] -author: chalarangelo cover: typewriter dateModified: 2021-05-16 --- diff --git a/content/snippets/css/s/nested-border-radius.md b/content/snippets/css/s/nested-border-radius.md index 2b40d7c5625..9dfdaf2bb6c 100644 --- a/content/snippets/css/s/nested-border-radius.md +++ b/content/snippets/css/s/nested-border-radius.md @@ -3,7 +3,6 @@ title: Perfect nested border radius in CSS type: tip language: css tags: [visual] -author: chalarangelo cover: rocky-beach-waves excerpt: Nesting elements with rounded borders can look very wrong if not done correctly. Here's a quick tip on how to do it right. dateModified: 2022-04-03 diff --git a/content/snippets/css/s/perfect-transition-duration.md b/content/snippets/css/s/perfect-transition-duration.md index 72b0f232a09..fd563940700 100644 --- a/content/snippets/css/s/perfect-transition-duration.md +++ b/content/snippets/css/s/perfect-transition-duration.md @@ -4,7 +4,6 @@ shortTitle: CSS transition duration type: tip language: css tags: [interactivity,visual,animation] -author: chalarangelo cover: perfect-timing excerpt: Learn how to make your CSS transitions feel perfect when users interact with elements on the page with this simple tip. dateModified: 2021-06-12 diff --git a/content/snippets/css/s/print-stylesheet.md b/content/snippets/css/s/print-stylesheet.md index 16ed986b5c8..831338a44fd 100644 --- a/content/snippets/css/s/print-stylesheet.md +++ b/content/snippets/css/s/print-stylesheet.md @@ -3,7 +3,6 @@ title: CSS Print Stylesheet type: story language: css tags: [visual] -author: chalarangelo cover: cozy-desk-setup excerpt: A short opinionated print stylesheet to make your websites look great on paper. dateModified: 2023-06-11 diff --git a/content/snippets/css/s/pseudo-classes.md b/content/snippets/css/s/pseudo-classes.md index eebee9a55af..249c86dd59f 100644 --- a/content/snippets/css/s/pseudo-classes.md +++ b/content/snippets/css/s/pseudo-classes.md @@ -4,7 +4,6 @@ shortTitle: CSS pseudo-classes type: question language: css tags: [webdev] -author: chalarangelo cover: orange-flower excerpt: Learn how to use CSS pseudo-classes to style an element based on changes to its state. dateModified: 2021-11-07 diff --git a/content/snippets/css/s/reset.md b/content/snippets/css/s/reset.md index c86eee408a1..e89cb019fba 100644 --- a/content/snippets/css/s/reset.md +++ b/content/snippets/css/s/reset.md @@ -3,7 +3,6 @@ title: CSS Reset type: story language: css tags: [visual] -author: chalarangelo cover: bridge-over-road excerpt: A short, opinionated CSS reset to make your websites look great everywhere. dateModified: 2022-10-16 diff --git a/content/snippets/css/s/responsive-favicon-dark-mode.md b/content/snippets/css/s/responsive-favicon-dark-mode.md index 81b9c65a08b..4bdf2e430c6 100644 --- a/content/snippets/css/s/responsive-favicon-dark-mode.md +++ b/content/snippets/css/s/responsive-favicon-dark-mode.md @@ -4,7 +4,6 @@ shortTitle: Responsive dark mode favicon type: question language: css tags: [visual] -author: chalarangelo cover: dark-mode excerpt: Learn how to create a custom responsive favicon that can adapt its color palette for dark mode with this quick guide. dateModified: 2021-09-28 diff --git a/content/snippets/css/s/responsive-layout-sidebar.md b/content/snippets/css/s/responsive-layout-sidebar.md index 616cf34666b..baaefde9179 100644 --- a/content/snippets/css/s/responsive-layout-sidebar.md +++ b/content/snippets/css/s/responsive-layout-sidebar.md @@ -3,7 +3,6 @@ title: Responsive layout with sidebar type: snippet language: css tags: [layout] -author: chalarangelo cover: red-petals dateModified: 2020-09-16 --- diff --git a/content/snippets/css/s/root-vs-html.md b/content/snippets/css/s/root-vs-html.md index 469795b10bf..30909541d67 100644 --- a/content/snippets/css/s/root-vs-html.md +++ b/content/snippets/css/s/root-vs-html.md @@ -4,7 +4,6 @@ shortTitle: :root vs html type: story language: css tags: [layout,selector] -author: chalarangelo cover: tree-roots excerpt: The CSS selectors used to target the root element of an HTML share some similarities, but they also have some differences. dateModified: 2022-05-22 diff --git a/content/snippets/css/s/scroll-progress-bar.md b/content/snippets/css/s/scroll-progress-bar.md index 38bbb387660..be7ce6a2ed6 100644 --- a/content/snippets/css/s/scroll-progress-bar.md +++ b/content/snippets/css/s/scroll-progress-bar.md @@ -3,7 +3,6 @@ title: Scroll progress bar type: snippet language: css tags: [animation,visual] -author: chalarangelo cover: coworking-space dateModified: 2021-10-13 --- diff --git a/content/snippets/css/s/select-any-link.md b/content/snippets/css/s/select-any-link.md index 66ebf84f7a2..9113be5f563 100644 --- a/content/snippets/css/s/select-any-link.md +++ b/content/snippets/css/s/select-any-link.md @@ -4,7 +4,6 @@ shortTitle: "CSS :any-link pseudo-class" type: tip language: css tags: [visual,interactivity] -author: chalarangelo cover: round-leaves excerpt: You can use a CSS pseudo-class selector to style all links in a page, without worrying if they have been visited or not. dateModified: 2022-03-06 diff --git a/content/snippets/css/s/shifting-card.md b/content/snippets/css/s/shifting-card.md index 99161db7a9d..62524ed9796 100644 --- a/content/snippets/css/s/shifting-card.md +++ b/content/snippets/css/s/shifting-card.md @@ -3,7 +3,6 @@ title: Shifting Card type: snippet language: css tags: [animation] -author: chalarangelo cover: clouds-n-mountains dateModified: 2022-12-14 --- diff --git a/content/snippets/css/s/squiggle-link-hover-effect.md b/content/snippets/css/s/squiggle-link-hover-effect.md index 06a9ffd2f75..d2e9fe5d5e1 100644 --- a/content/snippets/css/s/squiggle-link-hover-effect.md +++ b/content/snippets/css/s/squiggle-link-hover-effect.md @@ -3,7 +3,6 @@ title: Squiggle link hover effect type: snippet language: css tags: [animation,visual] -author: chalarangelo cover: dreamy-flowers dateModified: 2023-01-10 --- diff --git a/content/snippets/css/s/sticky-list-titles.md b/content/snippets/css/s/sticky-list-titles.md index d9dd8421dae..abde58492ba 100644 --- a/content/snippets/css/s/sticky-list-titles.md +++ b/content/snippets/css/s/sticky-list-titles.md @@ -3,7 +3,6 @@ title: List with sticky section headings type: snippet language: css tags: [visual] -author: chalarangelo cover: interior-7 dateModified: 2020-12-30 --- diff --git a/content/snippets/css/s/style-default-links.md b/content/snippets/css/s/style-default-links.md index d7b223a54c8..b025c5c1fe1 100644 --- a/content/snippets/css/s/style-default-links.md +++ b/content/snippets/css/s/style-default-links.md @@ -4,7 +4,6 @@ shortTitle: Style default links type: tip language: css tags: [visual,interactivity] -author: chalarangelo cover: citrus-drink excerpt: A short summary of your story up to 180 characters long. dateModified: 2022-11-23 diff --git a/content/snippets/css/s/stylized-quotation-marks.md b/content/snippets/css/s/stylized-quotation-marks.md index 69dd0184668..fdee2543971 100644 --- a/content/snippets/css/s/stylized-quotation-marks.md +++ b/content/snippets/css/s/stylized-quotation-marks.md @@ -3,7 +3,6 @@ title: Stylized quotation marks type: snippet language: css tags: [visual] -author: chalarangelo cover: coffee-phone-tray dateModified: 2021-05-16 --- diff --git a/content/snippets/css/s/text-backdrop-overlay.md b/content/snippets/css/s/text-backdrop-overlay.md index fd36320ebc9..f87743f72bb 100644 --- a/content/snippets/css/s/text-backdrop-overlay.md +++ b/content/snippets/css/s/text-backdrop-overlay.md @@ -3,7 +3,6 @@ title: Image text overlay type: snippet language: css tags: [visual] -author: chalarangelo cover: mountain-lake-cottage dateModified: 2021-10-13 --- diff --git a/content/snippets/css/s/typewriter-effect.md b/content/snippets/css/s/typewriter-effect.md index ff9015234cc..ba6a7f92c54 100644 --- a/content/snippets/css/s/typewriter-effect.md +++ b/content/snippets/css/s/typewriter-effect.md @@ -3,7 +3,6 @@ title: Typewriter effect type: snippet language: css tags: [animation] -author: chalarangelo cover: italian-horizon dateModified: 2021-05-24 --- diff --git a/content/snippets/css/s/typographic-scale-basics.md b/content/snippets/css/s/typographic-scale-basics.md index e39feb1f686..eb88b57e36f 100644 --- a/content/snippets/css/s/typographic-scale-basics.md +++ b/content/snippets/css/s/typographic-scale-basics.md @@ -3,7 +3,6 @@ title: Typographic scale basics type: story language: css tags: [webdev,typography] -author: chalarangelo cover: typography excerpt: Typography might seem intimidating, but you can quickly and easily create a simple typographic scale with this basic technique. dateModified: 2021-11-07 diff --git a/content/snippets/css/s/unitless-line-height.md b/content/snippets/css/s/unitless-line-height.md index 5069e7b3c27..3276cd01f52 100644 --- a/content/snippets/css/s/unitless-line-height.md +++ b/content/snippets/css/s/unitless-line-height.md @@ -4,7 +4,6 @@ shortTitle: Unitless line height type: tip language: css tags: [layout,visual] -author: chalarangelo cover: gold-typewriter excerpt: You might have heard that `line-height` should be unitless, but do you know why? dateModified: 2022-11-27 diff --git a/content/snippets/css/s/units-cheatsheet.md b/content/snippets/css/s/units-cheatsheet.md index 46e64300a02..e2aa95c205c 100644 --- a/content/snippets/css/s/units-cheatsheet.md +++ b/content/snippets/css/s/units-cheatsheet.md @@ -3,7 +3,6 @@ title: CSS units Cheat Sheet type: cheatsheet language: css tags: [layout,cheatsheet] -author: chalarangelo cover: measuring excerpt: Learn everything you need to know about CSS units with this handy cheatsheet. dateModified: 2021-06-12 diff --git a/content/snippets/css/s/variables.md b/content/snippets/css/s/variables.md index 67b2523a2d9..4c495ce97e7 100644 --- a/content/snippets/css/s/variables.md +++ b/content/snippets/css/s/variables.md @@ -4,7 +4,6 @@ shortTitle: CSS variables type: question language: css tags: [visual,layout] -author: chalarangelo cover: css-variables excerpt: Learn how CSS custom properties (CSS variables) work and what you can use them for in your code and designs. dateModified: 2021-09-28 diff --git a/content/snippets/git/s/5-tips-for-better-pull-requests.md b/content/snippets/git/s/5-tips-for-better-pull-requests.md index a735994a584..5c6276ed1a0 100644 --- a/content/snippets/git/s/5-tips-for-better-pull-requests.md +++ b/content/snippets/git/s/5-tips-for-better-pull-requests.md @@ -3,7 +3,6 @@ title: 5 tips for better Pull Requests type: story language: git tags: [github,programming,webdev] -author: chalarangelo cover: keyboard-tea excerpt: Writing good code is only part of the job. Here are 5 tips to improve your pull requests and help people review them. unlisted: true diff --git a/content/snippets/git/s/add-submodule.md b/content/snippets/git/s/add-submodule.md index 69d4a0788bd..3ea136d01e4 100644 --- a/content/snippets/git/s/add-submodule.md +++ b/content/snippets/git/s/add-submodule.md @@ -3,7 +3,6 @@ title: Add a submodule type: snippet language: git tags: [repository,submodule] -author: chalarangelo cover: rocky-mountains dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/aliases.md b/content/snippets/git/s/aliases.md index eb3f8814a75..f92d0a245d7 100644 --- a/content/snippets/git/s/aliases.md +++ b/content/snippets/git/s/aliases.md @@ -3,7 +3,6 @@ title: Git aliases type: cheatsheet language: git tags: [configuration,cheatsheet] -author: chalarangelo cover: compass-1 excerpt: Increase your productivity by creating aliases for many common git operations. dateModified: 2021-06-12 diff --git a/content/snippets/git/s/apply-latest-stash.md b/content/snippets/git/s/apply-latest-stash.md index 97c382d4ffb..a2ed3d5b96c 100644 --- a/content/snippets/git/s/apply-latest-stash.md +++ b/content/snippets/git/s/apply-latest-stash.md @@ -3,7 +3,6 @@ title: Apply the latest stash type: snippet language: git tags: [repository,stash] -author: chalarangelo cover: palm-tree-house dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/apply-stash.md b/content/snippets/git/s/apply-stash.md index 21a958c7daa..eecf9e9da66 100644 --- a/content/snippets/git/s/apply-stash.md +++ b/content/snippets/git/s/apply-stash.md @@ -3,7 +3,6 @@ title: Apply a stash type: snippet language: git tags: [repository,stash] -author: chalarangelo cover: obelisk dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/autocorrect.md b/content/snippets/git/s/autocorrect.md index 6b098d6d858..b1be8f7f2bb 100644 --- a/content/snippets/git/s/autocorrect.md +++ b/content/snippets/git/s/autocorrect.md @@ -3,7 +3,6 @@ title: Autocorrect git commands type: snippet language: git tags: [configuration] -author: chalarangelo cover: purple-flower-bunch dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/automatic-find-commit-with-bug.md b/content/snippets/git/s/automatic-find-commit-with-bug.md index e92d5c444d9..abbbfc3ceee 100644 --- a/content/snippets/git/s/automatic-find-commit-with-bug.md +++ b/content/snippets/git/s/automatic-find-commit-with-bug.md @@ -3,7 +3,6 @@ title: Automatically find the commit that introduced a bug type: snippet language: git tags: [commit,branch] -author: chalarangelo cover: pink-flower-tree dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/automatic-push-upstream.md b/content/snippets/git/s/automatic-push-upstream.md index 35354d8594b..27d8602692f 100644 --- a/content/snippets/git/s/automatic-push-upstream.md +++ b/content/snippets/git/s/automatic-push-upstream.md @@ -4,7 +4,6 @@ shortTitle: Automate upstream branch creation type: tip language: git tags: [configuration,repository] -author: chalarangelo cover: messy-computer excerpt: Effortlessly create upstream branches on push by enabling a simple git config setting. dateModified: 2023-05-21 diff --git a/content/snippets/git/s/branches-containing-commit.md b/content/snippets/git/s/branches-containing-commit.md index 6e89d25576e..c9ac2e9fe3d 100644 --- a/content/snippets/git/s/branches-containing-commit.md +++ b/content/snippets/git/s/branches-containing-commit.md @@ -4,7 +4,6 @@ shortTitle: Find branches containing commit type: tip language: git tags: [branch,commit] -author: chalarangelo cover: dark-leaves excerpt: Learn how to filter branches based on whether they contain a specific commit or not. dateModified: 2023-05-25 diff --git a/content/snippets/git/s/change-remote-url.md b/content/snippets/git/s/change-remote-url.md index 53f2c3dec3a..1341ebae17f 100644 --- a/content/snippets/git/s/change-remote-url.md +++ b/content/snippets/git/s/change-remote-url.md @@ -3,7 +3,6 @@ title: Change the remote URL type: snippet language: git tags: [repository] -author: chalarangelo cover: rocky-lake dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/clone-missing-submodules.md b/content/snippets/git/s/clone-missing-submodules.md index 6fe7cb88216..f4fd4c3061c 100644 --- a/content/snippets/git/s/clone-missing-submodules.md +++ b/content/snippets/git/s/clone-missing-submodules.md @@ -3,7 +3,6 @@ title: Clone missing submodules type: snippet language: git tags: [repository,submodule] -author: chalarangelo cover: forest-balcony dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/commit-different-date.md b/content/snippets/git/s/commit-different-date.md index bc327a91743..ac4fdf29b0c 100644 --- a/content/snippets/git/s/commit-different-date.md +++ b/content/snippets/git/s/commit-different-date.md @@ -3,7 +3,6 @@ title: Create a commit with a different date type: tip language: git tags: [commit] -author: chalarangelo cover: ice excerpt: Ever needed to create a git commit with a different date? Here's a quick and easy way to do it. dateModified: 2021-06-12 diff --git a/content/snippets/git/s/commit-template.md b/content/snippets/git/s/commit-template.md index c5cf52c0098..a518e822ee6 100644 --- a/content/snippets/git/s/commit-template.md +++ b/content/snippets/git/s/commit-template.md @@ -3,7 +3,6 @@ title: Add a commit message template type: snippet language: git tags: [repository,configuration] -author: chalarangelo cover: river-house-lights dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/copy-file-from-branch.md b/content/snippets/git/s/copy-file-from-branch.md index 0a4ba4656bc..7532724d094 100644 --- a/content/snippets/git/s/copy-file-from-branch.md +++ b/content/snippets/git/s/copy-file-from-branch.md @@ -3,7 +3,6 @@ title: Copy a file from another branch type: snippet language: git tags: [branch] -author: chalarangelo cover: sea-view-2 dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/create-fixup-commit.md b/content/snippets/git/s/create-fixup-commit.md index 96191bc0ef7..ca1a842c7eb 100644 --- a/content/snippets/git/s/create-fixup-commit.md +++ b/content/snippets/git/s/create-fixup-commit.md @@ -3,7 +3,6 @@ title: Create a fixup commit type: snippet language: git tags: [commit] -author: chalarangelo cover: tools dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/delete-stash.md b/content/snippets/git/s/delete-stash.md index df03dfc09b6..5bbd969747d 100644 --- a/content/snippets/git/s/delete-stash.md +++ b/content/snippets/git/s/delete-stash.md @@ -3,7 +3,6 @@ title: Delete a stash type: snippet language: git tags: [repository,stash] -author: chalarangelo cover: zen-indoors dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/delete-stashes.md b/content/snippets/git/s/delete-stashes.md index ff5e9460ee5..96c839d0017 100644 --- a/content/snippets/git/s/delete-stashes.md +++ b/content/snippets/git/s/delete-stashes.md @@ -3,7 +3,6 @@ title: Delete all stashes type: snippet language: git tags: [repository,stash] -author: chalarangelo cover: little-tree dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/delete-submodule.md b/content/snippets/git/s/delete-submodule.md index 09b15d18da8..e08f2435135 100644 --- a/content/snippets/git/s/delete-submodule.md +++ b/content/snippets/git/s/delete-submodule.md @@ -3,7 +3,6 @@ title: Delete a submodule type: snippet language: git tags: [repository,submodule] -author: chalarangelo cover: silver-flat-screen dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/difference-between-branches.md b/content/snippets/git/s/difference-between-branches.md index d6035e2c581..329b63a4864 100644 --- a/content/snippets/git/s/difference-between-branches.md +++ b/content/snippets/git/s/difference-between-branches.md @@ -3,7 +3,6 @@ title: View difference between two branches type: snippet language: git tags: [branch] -author: chalarangelo cover: two-doors dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/disable-fast-forward.md b/content/snippets/git/s/disable-fast-forward.md index e5c80e1fd76..df5a64ed2c5 100644 --- a/content/snippets/git/s/disable-fast-forward.md +++ b/content/snippets/git/s/disable-fast-forward.md @@ -3,7 +3,6 @@ title: Disable fast forward merging by default type: snippet language: git tags: [configuration,repository] -author: chalarangelo cover: people-on-beach dateModified: 2021-07-03 --- diff --git a/content/snippets/git/s/fast-forward-merge.md b/content/snippets/git/s/fast-forward-merge.md index 35ee4295074..cea5a41e248 100644 --- a/content/snippets/git/s/fast-forward-merge.md +++ b/content/snippets/git/s/fast-forward-merge.md @@ -4,7 +4,6 @@ shortTitle: Fast-forward merge type: question language: git tags: [branch] -author: chalarangelo cover: boats excerpt: Learn about Git's fast-forward mode and its benefits when merging branches, so you can decide if it's a good fit for you and your team. dateModified: 2021-07-15 diff --git a/content/snippets/git/s/find-lost-files.md b/content/snippets/git/s/find-lost-files.md index 526d2cd4f5a..2df0002517a 100644 --- a/content/snippets/git/s/find-lost-files.md +++ b/content/snippets/git/s/find-lost-files.md @@ -3,7 +3,6 @@ title: Find lost files type: snippet language: git tags: [repository] -author: chalarangelo cover: hard-disk dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/force-update-remote-branch.md b/content/snippets/git/s/force-update-remote-branch.md index d64db6841c1..77976f3eb8c 100644 --- a/content/snippets/git/s/force-update-remote-branch.md +++ b/content/snippets/git/s/force-update-remote-branch.md @@ -3,7 +3,6 @@ title: Update remote branch after rewriting history type: snippet language: git tags: [branch] -author: chalarangelo cover: compass dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/github-co-authors.md b/content/snippets/git/s/github-co-authors.md index b3d48b0544f..1a24bdb9aca 100644 --- a/content/snippets/git/s/github-co-authors.md +++ b/content/snippets/git/s/github-co-authors.md @@ -4,7 +4,6 @@ shortTitle: Add multiple authors to a commit type: tip language: git tags: [github,programming,webdev] -author: chalarangelo cover: book-chair excerpt: Learn how to add multiple authors to a git commit with this quick and easy tip. dateModified: 2021-06-12 diff --git a/content/snippets/git/s/interactive-rebase.md b/content/snippets/git/s/interactive-rebase.md index 7427aa886a8..e5d2d4c7a0d 100644 --- a/content/snippets/git/s/interactive-rebase.md +++ b/content/snippets/git/s/interactive-rebase.md @@ -3,7 +3,6 @@ title: Perform an interactive rebase type: snippet language: git tags: [branch] -author: chalarangelo cover: tea-laptop-table dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/line-endings.md b/content/snippets/git/s/line-endings.md index 28f95140730..725be637646 100644 --- a/content/snippets/git/s/line-endings.md +++ b/content/snippets/git/s/line-endings.md @@ -3,7 +3,6 @@ title: Configure line endings type: snippet language: git tags: [repository,configuration] -author: chalarangelo cover: leaves-read dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/list-stashes.md b/content/snippets/git/s/list-stashes.md index 88566795f09..bfc4abe53f1 100644 --- a/content/snippets/git/s/list-stashes.md +++ b/content/snippets/git/s/list-stashes.md @@ -3,7 +3,6 @@ title: Lists all stashes type: snippet language: git tags: [repository,stash] -author: chalarangelo cover: golden-gate-bridge dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/manual-find-commit-with-bug.md b/content/snippets/git/s/manual-find-commit-with-bug.md index 1f15e22a516..460ba65562c 100644 --- a/content/snippets/git/s/manual-find-commit-with-bug.md +++ b/content/snippets/git/s/manual-find-commit-with-bug.md @@ -3,7 +3,6 @@ title: Manually find the commit that introduced a bug type: snippet language: git tags: [commit,branch] -author: chalarangelo cover: blue-computer dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/merge-branch-merge-commit.md b/content/snippets/git/s/merge-branch-merge-commit.md index 2e82bf84571..8c14ba49d7b 100644 --- a/content/snippets/git/s/merge-branch-merge-commit.md +++ b/content/snippets/git/s/merge-branch-merge-commit.md @@ -4,7 +4,6 @@ shortTitle: Merge branch type: story language: git tags: [repository,branch] -author: chalarangelo cover: meteora excerpt: Learn how to merge a branch in Git with or without creating a merge commit, depending on your team's workflow. dateModified: 2023-05-26 diff --git a/content/snippets/git/s/move-commits-to-branch.md b/content/snippets/git/s/move-commits-to-branch.md index 59bb52c8dc8..63b6956db7d 100644 --- a/content/snippets/git/s/move-commits-to-branch.md +++ b/content/snippets/git/s/move-commits-to-branch.md @@ -3,7 +3,6 @@ title: Move commits from master to a new branch type: snippet language: git tags: [branch,repository] -author: chalarangelo cover: red-succulent dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/optimize-repository.md b/content/snippets/git/s/optimize-repository.md index 9ebbef220a5..5a0daeb065f 100644 --- a/content/snippets/git/s/optimize-repository.md +++ b/content/snippets/git/s/optimize-repository.md @@ -3,7 +3,6 @@ title: Optimize the local repository type: snippet language: git tags: [repository] -author: chalarangelo cover: automaton dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/pick-commits.md b/content/snippets/git/s/pick-commits.md index 4c631807a69..b0072e824fc 100644 --- a/content/snippets/git/s/pick-commits.md +++ b/content/snippets/git/s/pick-commits.md @@ -3,7 +3,6 @@ title: Pick changes from one or more commits type: snippet language: git tags: [commit,branch] -author: chalarangelo cover: sunflowers dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/pull-all-submodules.md b/content/snippets/git/s/pull-all-submodules.md index 7dd71f7b0eb..8fe98d55068 100644 --- a/content/snippets/git/s/pull-all-submodules.md +++ b/content/snippets/git/s/pull-all-submodules.md @@ -3,7 +3,6 @@ title: Pull all submodules from remote type: snippet language: git tags: [repository,submodule] -author: chalarangelo cover: workspace-with-speaker dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/purge-file.md b/content/snippets/git/s/purge-file.md index c03c8e5eade..f4c2fc94e00 100644 --- a/content/snippets/git/s/purge-file.md +++ b/content/snippets/git/s/purge-file.md @@ -3,7 +3,6 @@ title: Purge a file from history type: snippet language: git tags: [repository,remote] -author: chalarangelo cover: white-flower dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/push-pull-changes.md b/content/snippets/git/s/push-pull-changes.md index 8325703d1ab..48b1adc4f26 100644 --- a/content/snippets/git/s/push-pull-changes.md +++ b/content/snippets/git/s/push-pull-changes.md @@ -4,7 +4,6 @@ shortTitle: Push and pull changes type: story language: git tags: [repository,branch] -author: chalarangelo cover: orange-coffee-2 excerpt: Learn how to push and pull changes between local and remote repositories. dateModified: 2023-06-01 diff --git a/content/snippets/git/s/remove-file-from-commit.md b/content/snippets/git/s/remove-file-from-commit.md index ca36c9d186a..206039edc6d 100644 --- a/content/snippets/git/s/remove-file-from-commit.md +++ b/content/snippets/git/s/remove-file-from-commit.md @@ -3,7 +3,6 @@ title: Remove a file from the last commit type: snippet language: git tags: [commit] -author: chalarangelo cover: cancel-typographer dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/restore-deleted-file.md b/content/snippets/git/s/restore-deleted-file.md index a8646cb79b8..bb1ffa5c188 100644 --- a/content/snippets/git/s/restore-deleted-file.md +++ b/content/snippets/git/s/restore-deleted-file.md @@ -3,7 +3,6 @@ title: Restore a deleted file type: snippet language: git tags: [branch] -author: chalarangelo cover: succulent-red-light dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/rewind-to-commit.md b/content/snippets/git/s/rewind-to-commit.md index f9ab04f5c7d..b2e9f71b9cb 100644 --- a/content/snippets/git/s/rewind-to-commit.md +++ b/content/snippets/git/s/rewind-to-commit.md @@ -4,7 +4,6 @@ shortTitle: Rewind to commit type: story language: git tags: [branch,commit] -author: chalarangelo cover: walking excerpt: Did you make a mistake but haven't pushed your changes yet? Learn how to rewind back to a specific commit in Git. dateModified: 2023-05-26 diff --git a/content/snippets/git/s/save-stash.md b/content/snippets/git/s/save-stash.md index 17020515a33..dbe198fd6e9 100644 --- a/content/snippets/git/s/save-stash.md +++ b/content/snippets/git/s/save-stash.md @@ -3,7 +3,6 @@ title: Create a stash type: snippet language: git tags: [repository,stash] -author: chalarangelo cover: purple-leaves dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/set-default-push-branch.md b/content/snippets/git/s/set-default-push-branch.md index a7df9a2d13e..f7ade663ecc 100644 --- a/content/snippets/git/s/set-default-push-branch.md +++ b/content/snippets/git/s/set-default-push-branch.md @@ -3,7 +3,6 @@ title: Set default push branch name type: snippet language: git tags: [configuration,branch] -author: chalarangelo cover: pink-flower dateModified: 2021-06-30 --- diff --git a/content/snippets/git/s/set-or-amend-commit-author.md b/content/snippets/git/s/set-or-amend-commit-author.md index a9fe6bafbcb..b42e53f9639 100644 --- a/content/snippets/git/s/set-or-amend-commit-author.md +++ b/content/snippets/git/s/set-or-amend-commit-author.md @@ -4,7 +4,6 @@ shortTitle: Set or amend commit author type: story language: git tags: [commit] -author: chalarangelo cover: new-plant excerpt: Ever wanted to commit as someone else? Maybe change the author of an existing commit? Here's how. dateModified: 2023-05-24 diff --git a/content/snippets/git/s/sort-branches-by-date.md b/content/snippets/git/s/sort-branches-by-date.md index 1ec89858d4f..31d80b54e42 100644 --- a/content/snippets/git/s/sort-branches-by-date.md +++ b/content/snippets/git/s/sort-branches-by-date.md @@ -3,7 +3,6 @@ title: View branches sorted by date type: snippet language: git tags: [repository,branch] -author: chalarangelo cover: sea-view dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/undo-commit-without-rewriting-history.md b/content/snippets/git/s/undo-commit-without-rewriting-history.md index 494eee8b5c3..bbbb567b04e 100644 --- a/content/snippets/git/s/undo-commit-without-rewriting-history.md +++ b/content/snippets/git/s/undo-commit-without-rewriting-history.md @@ -4,7 +4,6 @@ shortTitle: Undo commit type: story language: git tags: [commit,branch] -author: chalarangelo cover: night-tram excerpt: Learn the simple way to undo a commit in Git without rewriting history. dateModified: 2023-05-27 diff --git a/content/snippets/git/s/unstage-files.md b/content/snippets/git/s/unstage-files.md index c7fef4c51a0..387ac62b767 100644 --- a/content/snippets/git/s/unstage-files.md +++ b/content/snippets/git/s/unstage-files.md @@ -3,7 +3,6 @@ title: Remove files from the staging area type: snippet language: git tags: [commit] -author: chalarangelo cover: coconuts dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/update-commit-message-or-contents.md b/content/snippets/git/s/update-commit-message-or-contents.md index b3f819dcad7..becf7c5bbaf 100644 --- a/content/snippets/git/s/update-commit-message-or-contents.md +++ b/content/snippets/git/s/update-commit-message-or-contents.md @@ -4,7 +4,6 @@ shortTitle: Amend last commit type: story language: git tags: [commit] -author: chalarangelo cover: greek-coffee excerpt: Learn how to effortlesly amend the last commit's message or contents using Git and fix any mistakes you might have made. dateModified: 2023-05-23 diff --git a/content/snippets/git/s/view-changes-summary.md b/content/snippets/git/s/view-changes-summary.md index 7ec6c4db76c..56560f1f4c5 100644 --- a/content/snippets/git/s/view-changes-summary.md +++ b/content/snippets/git/s/view-changes-summary.md @@ -3,7 +3,6 @@ title: View a summary of changes between two commits type: snippet language: git tags: [repository,branch] -author: chalarangelo cover: taking-photos dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/view-commits-summary.md b/content/snippets/git/s/view-commits-summary.md index 50e961bde30..5794efae1a2 100644 --- a/content/snippets/git/s/view-commits-summary.md +++ b/content/snippets/git/s/view-commits-summary.md @@ -4,7 +4,6 @@ shortTitle: Short commits summary type: story language: git tags: [repository,commit] -author: chalarangelo cover: dark-city excerpt: Learn how to view a short summary of your Git commits using git log. dateModified: 2023-05-23 diff --git a/content/snippets/git/s/view-differences.md b/content/snippets/git/s/view-differences.md index 328c5fb0d98..9ff27f55ae2 100644 --- a/content/snippets/git/s/view-differences.md +++ b/content/snippets/git/s/view-differences.md @@ -3,7 +3,6 @@ title: View differences in changes type: snippet language: git tags: [commit,branch] -author: chalarangelo cover: plant-candle dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/view-remote-url.md b/content/snippets/git/s/view-remote-url.md index b3840cefca1..0420f959e45 100644 --- a/content/snippets/git/s/view-remote-url.md +++ b/content/snippets/git/s/view-remote-url.md @@ -3,7 +3,6 @@ title: View the remote URL type: snippet language: git tags: [repository] -author: chalarangelo cover: red-mountain dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/view-status.md b/content/snippets/git/s/view-status.md index 6286b304fff..db51c0a9f3a 100644 --- a/content/snippets/git/s/view-status.md +++ b/content/snippets/git/s/view-status.md @@ -3,7 +3,6 @@ title: View current status type: snippet language: git tags: [branch] -author: chalarangelo cover: periscope dateModified: 2021-04-13 --- diff --git a/content/snippets/git/s/view-undo-history.md b/content/snippets/git/s/view-undo-history.md index 3b3478150ed..978931b7d22 100644 --- a/content/snippets/git/s/view-undo-history.md +++ b/content/snippets/git/s/view-undo-history.md @@ -4,7 +4,6 @@ shortTitle: Undo history type: story language: git tags: [repository,branch] -author: chalarangelo cover: rock-climbing excerpt: Learn how to view your "undo" history using git reflog and reset your repository to a previous state. dateModified: 2023-05-21 diff --git a/content/snippets/html/s/8-tips-for-accessible-websites.md b/content/snippets/html/s/8-tips-for-accessible-websites.md index a894e9c571c..3967be274c9 100644 --- a/content/snippets/html/s/8-tips-for-accessible-websites.md +++ b/content/snippets/html/s/8-tips-for-accessible-websites.md @@ -4,7 +4,6 @@ shortTitle: Accessibility tips type: story language: html tags: [accessibility,form,link,metadata] -author: chalarangelo cover: accessibility excerpt: Accessibility (a11y) can improve your website and attract new users. Learn how to get started with these 8 quick tips. dateModified: 2021-06-12 diff --git a/content/snippets/html/s/alt-vs-title.md b/content/snippets/html/s/alt-vs-title.md index dc8212d1b31..ecd812a5231 100644 --- a/content/snippets/html/s/alt-vs-title.md +++ b/content/snippets/html/s/alt-vs-title.md @@ -4,7 +4,6 @@ shortTitle: Difference between alt and title type: question language: html tags: [image] -author: chalarangelo cover: stars-n-snow excerpt: Learn the difference between the `alt` and `title` attributes on images in HTML. dateModified: 2023-07-02 diff --git a/content/snippets/html/s/async-defer.md b/content/snippets/html/s/async-defer.md index 5513f10c649..1d8c0216006 100644 --- a/content/snippets/html/s/async-defer.md +++ b/content/snippets/html/s/async-defer.md @@ -4,7 +4,6 @@ shortTitle: Async and defer type: question language: html tags: [script,javascript] -author: chalarangelo cover: coworking-space excerpt: Understanding how to correctly load your JavaScript files can significantly improve your web application's performance. dateModified: 2022-09-04 diff --git a/content/snippets/html/s/custom-file-download-names.md b/content/snippets/html/s/custom-file-download-names.md index 9e8750d0fa8..46edfdf828c 100644 --- a/content/snippets/html/s/custom-file-download-names.md +++ b/content/snippets/html/s/custom-file-download-names.md @@ -3,7 +3,6 @@ title: Customize the names of downloadable files type: tip language: html tags: [link] -author: chalarangelo cover: hard-disk excerpt: Learn what HTML5 attribute you can use to customize the names of your downloadable files with this quick tip. dateModified: 2021-06-12 diff --git a/content/snippets/html/s/head-icons.md b/content/snippets/html/s/head-icons.md index e4394e3b464..52ad0a27fee 100644 --- a/content/snippets/html/s/head-icons.md +++ b/content/snippets/html/s/head-icons.md @@ -4,7 +4,6 @@ shortTitle: HTML favicons template type: story language: html tags: [metadata,head] -author: chalarangelo cover: boutique-home-office-3 excerpt: Ensure your HTML documents have a proper favicon by including these lines in your `
` element. dateModified: 2023-01-24 diff --git a/content/snippets/html/s/head-links.md b/content/snippets/html/s/head-links.md index 335835552c9..bef02850e77 100644 --- a/content/snippets/html/s/head-links.md +++ b/content/snippets/html/s/head-links.md @@ -4,7 +4,6 @@ shortTitle: HTML head links template type: story language: html tags: [metadata,head] -author: chalarangelo cover: boutique-home-office-4 excerpt: Make your HTML documents more SEO-friendly by including these lines in your `` element. dateModified: 2023-01-26 diff --git a/content/snippets/html/s/head-social-tags.md b/content/snippets/html/s/head-social-tags.md index 7b9bb763b6e..ff82ef87f80 100644 --- a/content/snippets/html/s/head-social-tags.md +++ b/content/snippets/html/s/head-social-tags.md @@ -4,7 +4,6 @@ shortTitle: HTML social tags template type: story language: html tags: [metadata,head] -author: chalarangelo cover: boutique-home-office-2 excerpt: Ensure your HTML documents can be shared on social media by including these lines in your `` element. dateModified: 2023-01-22 diff --git a/content/snippets/html/s/image-alt.md b/content/snippets/html/s/image-alt.md index 2e7af953866..961d0b801c7 100644 --- a/content/snippets/html/s/image-alt.md +++ b/content/snippets/html/s/image-alt.md @@ -4,7 +4,6 @@ shortTitle: Image alt attribute type: question language: html tags: [image,accessibility] -author: chalarangelo cover: sailing-alone excerpt: Learn how to correctly use the `alt` attribute on images in HTML. dateModified: 2023-06-25 diff --git a/content/snippets/html/s/lazy-loading-images.md b/content/snippets/html/s/lazy-loading-images.md index fa8ec058375..9579397cddb 100644 --- a/content/snippets/html/s/lazy-loading-images.md +++ b/content/snippets/html/s/lazy-loading-images.md @@ -4,7 +4,6 @@ shortTitle: Image lazy loading type: tip language: html tags: [image] -author: chalarangelo cover: bridge excerpt: Discover how to improve your website's performance by implementing lazy loading for images using a native HTML attribute. dateModified: 2021-06-12 diff --git a/content/snippets/html/s/password-autocomplete-suggestion.md b/content/snippets/html/s/password-autocomplete-suggestion.md index 7166be47c09..a334a74365e 100644 --- a/content/snippets/html/s/password-autocomplete-suggestion.md +++ b/content/snippets/html/s/password-autocomplete-suggestion.md @@ -4,7 +4,6 @@ shortTitle: Password field autocomplete type: tip language: html tags: [form] -author: chalarangelo cover: padlocks excerpt: Use the HTML `autocomplete` attribute to create more secure and accessible password fields. dateModified: 2021-06-12 diff --git a/content/snippets/html/s/prefetching-resources.md b/content/snippets/html/s/prefetching-resources.md index df62083e9db..902fbed0802 100644 --- a/content/snippets/html/s/prefetching-resources.md +++ b/content/snippets/html/s/prefetching-resources.md @@ -4,7 +4,6 @@ shortTitle: Resource prefetching type: tip language: html tags: [metadata] -author: chalarangelo cover: playing-fetch excerpt: Resource prefetching is a great way to improve perceived page speed on your website and requires little effort. Learn how to use it today. dateModified: 2021-06-12 diff --git a/content/snippets/html/s/recommended-minimum-head.md b/content/snippets/html/s/recommended-minimum-head.md index 2d291120c9e..23bdb4b937e 100644 --- a/content/snippets/html/s/recommended-minimum-head.md +++ b/content/snippets/html/s/recommended-minimum-head.md @@ -4,7 +4,6 @@ shortTitle: HTML head template type: story language: html tags: [metadata,head] -author: chalarangelo cover: boutique-home-office-1 excerpt: Ensure your HTML documents are properly structured by including these lines in your `` element. dateModified: 2023-01-18 diff --git a/content/snippets/html/s/resource-preloading-cheatsheet.md b/content/snippets/html/s/resource-preloading-cheatsheet.md index 6a0d6d4ea3e..c37f1d4b56d 100644 --- a/content/snippets/html/s/resource-preloading-cheatsheet.md +++ b/content/snippets/html/s/resource-preloading-cheatsheet.md @@ -3,7 +3,6 @@ title: Resource Preloading Cheat Sheet type: cheatsheet language: html tags: [metadata] -author: chalarangelo cover: folded-map excerpt: Preloading content is one of many ways to improve your website's performance. dateModified: 2022-10-12 diff --git a/content/snippets/html/s/reversed-list.md b/content/snippets/html/s/reversed-list.md index 19a9bc02218..6cd392858b4 100644 --- a/content/snippets/html/s/reversed-list.md +++ b/content/snippets/html/s/reversed-list.md @@ -4,7 +4,6 @@ shortTitle: Descending list type: tip language: html tags: [content] -author: chalarangelo cover: ancient-greek-building excerpt: Did you know there's an easy way to create a descending list of numbered items with pure HTML? Learn how with this handy tip. dateModified: 2021-06-22 diff --git a/content/snippets/html/s/target-blank.md b/content/snippets/html/s/target-blank.md index b7c03ecf88a..46ac82a66b9 100644 --- a/content/snippets/html/s/target-blank.md +++ b/content/snippets/html/s/target-blank.md @@ -4,7 +4,6 @@ shortTitle: 'Safeguarding target="_blank"' type: tip language: html tags: [link,security] -author: chalarangelo cover: laptop-with-code excerpt: Opening a link in a new tab comes with a security vulnerability that you may not be aware of. Protect your users with this simple trick. dateModified: 2021-06-12 diff --git a/content/snippets/html/s/zooming-accessibility-tips.md b/content/snippets/html/s/zooming-accessibility-tips.md index ce4ff10dc4b..05161ffed81 100644 --- a/content/snippets/html/s/zooming-accessibility-tips.md +++ b/content/snippets/html/s/zooming-accessibility-tips.md @@ -4,7 +4,6 @@ shortTitle: Accessibility and maximum-scale type: story language: html tags: [accessibility,metadata,head] -author: chalarangelo cover: camera-zoom excerpt: Using the viewport meta tag incorrectly can harm your website's accessibility. Learn how to prevent problems with this handy guide. unlisted: true diff --git a/content/snippets/js/s/10-vs-code-extensions-for-js-developers.md b/content/snippets/js/s/10-vs-code-extensions-for-js-developers.md index 4030ac93965..0065658d019 100644 --- a/content/snippets/js/s/10-vs-code-extensions-for-js-developers.md +++ b/content/snippets/js/s/10-vs-code-extensions-for-js-developers.md @@ -4,7 +4,6 @@ shortTitle: Essential VS Code extensions type: story language: javascript tags: [devtools,vscode] -author: chalarangelo cover: computer-screens excerpt: Boost your productivity with these 10 essential VS Code extensions for JavaScript developers. unlisted: true diff --git a/content/snippets/js/s/4-array-methods.md b/content/snippets/js/s/4-array-methods.md index dd7b7936e9a..c6717ba1fd1 100644 --- a/content/snippets/js/s/4-array-methods.md +++ b/content/snippets/js/s/4-array-methods.md @@ -4,7 +4,6 @@ shortTitle: Useful array methods type: story language: javascript tags: [array,cheatsheet] -author: chalarangelo cover: arrays excerpt: JavaScript arrays have a very robust API offering some amazing tools. Learn the 4 must-know JavaScript array methods in this quick guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/6-regexp-tricks.md b/content/snippets/js/s/6-regexp-tricks.md index cd5d7e11cff..ae845a20cfc 100644 --- a/content/snippets/js/s/6-regexp-tricks.md +++ b/content/snippets/js/s/6-regexp-tricks.md @@ -4,7 +4,6 @@ shortTitle: JavaScript Regular Expression tips type: story language: javascript tags: [string,regexp] -author: chalarangelo cover: taking-photos excerpt: Learn how to effectively use JavaScript regular expressions with these 6 powerful features. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/abort-fetch.md b/content/snippets/js/s/abort-fetch.md index 70577cec6d5..21636fa7590 100644 --- a/content/snippets/js/s/abort-fetch.md +++ b/content/snippets/js/s/abort-fetch.md @@ -4,7 +4,6 @@ shortTitle: Abort a fetch request type: story language: javascript tags: [function] -author: chalarangelo cover: cancel-typographer excerpt: Aborting a fetch request in JavaScript is a common problem. Here's how to handle it correctly. dateModified: 2022-05-15 diff --git a/content/snippets/js/s/add-class-to-html-element.md b/content/snippets/js/s/add-class-to-html-element.md index fee87c0c057..b21d55c9311 100644 --- a/content/snippets/js/s/add-class-to-html-element.md +++ b/content/snippets/js/s/add-class-to-html-element.md @@ -3,7 +3,6 @@ title: Add class to HTML element type: snippet language: javascript tags: [browser] -author: chalarangelo cover: shiny-mountains dateModified: 2020-12-30 --- diff --git a/content/snippets/js/s/add-event-listener-all.md b/content/snippets/js/s/add-event-listener-all.md index 16151854ace..ca8be26e69a 100644 --- a/content/snippets/js/s/add-event-listener-all.md +++ b/content/snippets/js/s/add-event-listener-all.md @@ -3,7 +3,6 @@ title: Add event listener to all targets type: snippet language: javascript tags: [browser,event] -author: chalarangelo cover: duck-plants dateModified: 2021-04-22 --- diff --git a/content/snippets/js/s/add-key-value-pair-to-object.md b/content/snippets/js/s/add-key-value-pair-to-object.md index d4540dea530..0ecc8cf85be 100644 --- a/content/snippets/js/s/add-key-value-pair-to-object.md +++ b/content/snippets/js/s/add-key-value-pair-to-object.md @@ -4,7 +4,6 @@ shortTitle: Add key-value pair to object type: question language: javascript tags: [object] -author: chalarangelo cover: pineapple-laptop excerpt: Adding a key-value pair to a JavaScript object is straightforward, yet there are multiple ways available to do so. dateModified: 2022-07-21 diff --git a/content/snippets/js/s/add-styles-to-html-element.md b/content/snippets/js/s/add-styles-to-html-element.md index 914d9ddd7d7..ef0f67baf9b 100644 --- a/content/snippets/js/s/add-styles-to-html-element.md +++ b/content/snippets/js/s/add-styles-to-html-element.md @@ -3,7 +3,6 @@ title: Add styles to HTML element type: snippet language: javascript tags: [browser] -author: chalarangelo cover: digital-nomad-14 dateModified: 2021-01-07 --- diff --git a/content/snippets/js/s/append-elements-to-array.md b/content/snippets/js/s/append-elements-to-array.md index e8f7b84b58e..37be5e8d81f 100644 --- a/content/snippets/js/s/append-elements-to-array.md +++ b/content/snippets/js/s/append-elements-to-array.md @@ -4,7 +4,6 @@ shortTitle: Append elements to array type: story language: javascript tags: [array] -author: chalarangelo cover: switzerland-night excerpt: Have you ever tried appending elements to an array in JavaScript? Here's a primer on all the available options. dateModified: 2022-07-10 diff --git a/content/snippets/js/s/array-comparison.md b/content/snippets/js/s/array-comparison.md index 1ef1147e9e3..f5a3a384730 100644 --- a/content/snippets/js/s/array-comparison.md +++ b/content/snippets/js/s/array-comparison.md @@ -4,7 +4,6 @@ shortTitle: JavaScript array comparison type: question language: javascript tags: [array,comparison] -author: chalarangelo cover: coconuts excerpt: Learn how you can compare two arrays in JavaScript using various different techniques. dateModified: 2021-09-27 diff --git a/content/snippets/js/s/array-filtering-tips.md b/content/snippets/js/s/array-filtering-tips.md index 3c5bf89385e..c446b94b89e 100644 --- a/content/snippets/js/s/array-filtering-tips.md +++ b/content/snippets/js/s/array-filtering-tips.md @@ -4,7 +4,6 @@ shortTitle: Array filtering tips type: story language: javascript tags: [array] -author: chalarangelo cover: rocky-beach-waves excerpt: A few tips and tricks to help you filter arrays in JavaScript more efficiently. dateModified: 2022-09-28 diff --git a/content/snippets/js/s/array-has-many-matches.md b/content/snippets/js/s/array-has-many-matches.md index 6821aefaaa6..9bbd30890a1 100644 --- a/content/snippets/js/s/array-has-many-matches.md +++ b/content/snippets/js/s/array-has-many-matches.md @@ -3,7 +3,6 @@ title: Check if array has many matches type: snippet language: javascript tags: [array] -author: chalarangelo cover: interior-2 dateModified: 2021-07-11 --- diff --git a/content/snippets/js/s/array-has-only-one-match.md b/content/snippets/js/s/array-has-only-one-match.md index 836d17892d5..46e6bc5993a 100644 --- a/content/snippets/js/s/array-has-only-one-match.md +++ b/content/snippets/js/s/array-has-only-one-match.md @@ -3,7 +3,6 @@ title: Check if array has only one match type: snippet language: javascript tags: [array] -author: chalarangelo cover: interior-10 dateModified: 2021-07-04 --- diff --git a/content/snippets/js/s/array-head-tail.md b/content/snippets/js/s/array-head-tail.md index 5b803577c64..c18e8c78c19 100644 --- a/content/snippets/js/s/array-head-tail.md +++ b/content/snippets/js/s/array-head-tail.md @@ -4,7 +4,6 @@ shortTitle: Head and tail of array type: story language: javascript tags: [array] -author: chalarangelo cover: clay-pot-horizon excerpt: Find the head or tail of a JavaScript array without mutating it. dateModified: 2023-10-08 diff --git a/content/snippets/js/s/array-includes-value.md b/content/snippets/js/s/array-includes-value.md index d5a972b1bf9..7866e62e0ca 100644 --- a/content/snippets/js/s/array-includes-value.md +++ b/content/snippets/js/s/array-includes-value.md @@ -4,7 +4,6 @@ shortTitle: JavaScript array includes value type: question language: javascript tags: [array] -author: chalarangelo cover: bridge-drop excerpt: Checking if an array includes a specific value is pretty straightforward, except when it comes to objects. dateModified: 2022-09-18 diff --git a/content/snippets/js/s/array-initialization.md b/content/snippets/js/s/array-initialization.md index 1b67f6b21ad..058d9e7144d 100644 --- a/content/snippets/js/s/array-initialization.md +++ b/content/snippets/js/s/array-initialization.md @@ -4,7 +4,6 @@ shortTitle: Array Initialization type: story language: javascript tags: [array] -author: chalarangelo cover: red-mountain-range excerpt: Discover the inner workings of JavaScript arrays and learn about the different ways to initialize them. dateModified: 2023-06-18 diff --git a/content/snippets/js/s/array-is-contained-in.md b/content/snippets/js/s/array-is-contained-in.md index 79f77fedcd7..247af4e6b97 100644 --- a/content/snippets/js/s/array-is-contained-in.md +++ b/content/snippets/js/s/array-is-contained-in.md @@ -3,7 +3,6 @@ title: Array is contained in other array type: snippet language: javascript tags: [array] -author: chalarangelo cover: island-corridor dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/array-map-vs-foreach.md b/content/snippets/js/s/array-map-vs-foreach.md index b4031c931e9..c61013ffe2b 100644 --- a/content/snippets/js/s/array-map-vs-foreach.md +++ b/content/snippets/js/s/array-map-vs-foreach.md @@ -4,7 +4,6 @@ shortTitle: Array.prototype.map() vs Array.prototype.forEach() type: question language: javascript tags: [array] -author: chalarangelo cover: fort-lamp excerpt: Which method do you reach for first? What are the differences between them? Let's find out! dateModified: 2023-03-26 diff --git a/content/snippets/js/s/array-min-max.md b/content/snippets/js/s/array-min-max.md index 57280b196a0..8db24a02c3d 100644 --- a/content/snippets/js/s/array-min-max.md +++ b/content/snippets/js/s/array-min-max.md @@ -4,7 +4,6 @@ shortTitle: Min and max value of an array type: tip language: javascript tags: [array,math] -author: chalarangelo cover: little-tree excerpt: When working with numeric arrays in JavaScript, you might need to find the minimum or maximum value. Here's a quick and easy way to do it. dateModified: 2021-11-06 diff --git a/content/snippets/js/s/array-ranking.md b/content/snippets/js/s/array-ranking.md index 566857e58c7..ddcebcfea66 100644 --- a/content/snippets/js/s/array-ranking.md +++ b/content/snippets/js/s/array-ranking.md @@ -3,7 +3,6 @@ title: Array ranking type: snippet language: javascript tags: [array,math] -author: chalarangelo cover: eagle dateModified: 2022-04-13 --- diff --git a/content/snippets/js/s/array-sorting-shorthand.md b/content/snippets/js/s/array-sorting-shorthand.md index f03e2d66254..6b3b1a67b0e 100644 --- a/content/snippets/js/s/array-sorting-shorthand.md +++ b/content/snippets/js/s/array-sorting-shorthand.md @@ -4,7 +4,6 @@ shortTitle: Array sorting shorthand type: tip language: javascript tags: [array] -author: chalarangelo cover: apples excerpt: Learn how to quickly write code to sort JavaScript arrays with this handy one-liner. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/array-to-identity-object.md b/content/snippets/js/s/array-to-identity-object.md index 6a06b8e3ec8..019d2c34fc9 100644 --- a/content/snippets/js/s/array-to-identity-object.md +++ b/content/snippets/js/s/array-to-identity-object.md @@ -3,7 +3,6 @@ title: Convert array to identity object type: snippet language: javascript tags: [array] -author: chalarangelo cover: rain-shopping dateModified: 2023-04-16 --- diff --git a/content/snippets/js/s/array-to-object-based-on-key.md b/content/snippets/js/s/array-to-object-based-on-key.md index 417ec48c3b8..ba90c92e33a 100644 --- a/content/snippets/js/s/array-to-object-based-on-key.md +++ b/content/snippets/js/s/array-to-object-based-on-key.md @@ -3,7 +3,6 @@ title: Array to object based on key type: snippet language: javascript tags: [array,object] -author: chalarangelo cover: lavender-shelf dateModified: 2021-06-27 --- diff --git a/content/snippets/js/s/arrays-have-same-contents.md b/content/snippets/js/s/arrays-have-same-contents.md index 7f5377aab3a..3e58e89a0ef 100644 --- a/content/snippets/js/s/arrays-have-same-contents.md +++ b/content/snippets/js/s/arrays-have-same-contents.md @@ -3,7 +3,6 @@ title: Check if arrays have same contents type: snippet language: javascript tags: [array] -author: chalarangelo cover: interior-15 dateModified: 2020-10-19 --- diff --git a/content/snippets/js/s/arrays-intersect.md b/content/snippets/js/s/arrays-intersect.md index 6df8b4f6e81..fd5be2dbceb 100644 --- a/content/snippets/js/s/arrays-intersect.md +++ b/content/snippets/js/s/arrays-intersect.md @@ -3,7 +3,6 @@ title: Check if two arrays intersect type: snippet language: javascript tags: [array] -author: chalarangelo cover: interior-5 dateModified: 2023-02-17 --- diff --git a/content/snippets/js/s/arrays-of-consecutive-elements.md b/content/snippets/js/s/arrays-of-consecutive-elements.md index d2c32365713..b46eafdceac 100644 --- a/content/snippets/js/s/arrays-of-consecutive-elements.md +++ b/content/snippets/js/s/arrays-of-consecutive-elements.md @@ -3,7 +3,6 @@ title: Arrays of consecutive elements type: snippet language: javascript tags: [array] -author: chalarangelo cover: colorful-pots dateModified: 2022-04-06 --- diff --git a/content/snippets/js/s/arrow-function-event-listeners.md b/content/snippets/js/s/arrow-function-event-listeners.md index 91be7856cdd..f11bda0df48 100644 --- a/content/snippets/js/s/arrow-function-event-listeners.md +++ b/content/snippets/js/s/arrow-function-event-listeners.md @@ -4,7 +4,6 @@ shortTitle: Arrow function as callback for event listener type: question language: javascript tags: [browser,event,function] -author: chalarangelo cover: coffee-float excerpt: Learn the differences between JavaScript ES6 arrow functions and regular functions and how they affect event listener callbacks. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/arrow-functions.md b/content/snippets/js/s/arrow-functions.md index b3b37792129..8685238979b 100644 --- a/content/snippets/js/s/arrow-functions.md +++ b/content/snippets/js/s/arrow-functions.md @@ -4,7 +4,6 @@ shortTitle: Arrow functions introduction type: story language: javascript tags: [function] -author: chalarangelo cover: arrow-functions excerpt: JavaScript arrow functions are a very useful tool to learn and master. Here's a complete introduction to everything you need to know. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/arrow-regular-function-differences.md b/content/snippets/js/s/arrow-regular-function-differences.md index 548f79ed0ae..fe298dc9499 100644 --- a/content/snippets/js/s/arrow-regular-function-differences.md +++ b/content/snippets/js/s/arrow-regular-function-differences.md @@ -4,7 +4,6 @@ shortTitle: Arrow functions vs regular functions type: question language: javascript tags: [function] -author: chalarangelo cover: fallen-leaves excerpt: JavaScript's arrow functions are seemingly the same as regular functions, but there are some important differences you need to know. dateModified: 2021-10-17 diff --git a/content/snippets/js/s/assert-object-key-validity.md b/content/snippets/js/s/assert-object-key-validity.md index 983bc43653e..5503bdd5f78 100644 --- a/content/snippets/js/s/assert-object-key-validity.md +++ b/content/snippets/js/s/assert-object-key-validity.md @@ -3,7 +3,6 @@ title: Assert object keys are valid type: snippet language: javascript tags: [object] -author: chalarangelo cover: river-flow dateModified: 2021-07-18 --- diff --git a/content/snippets/js/s/async-array-loops.md b/content/snippets/js/s/async-array-loops.md index a5dd9ae2995..0026985c93b 100644 --- a/content/snippets/js/s/async-array-loops.md +++ b/content/snippets/js/s/async-array-loops.md @@ -4,7 +4,6 @@ shortTitle: Asynchronous array loops type: story language: javascript tags: [array,function,promise] -author: chalarangelo cover: sunflowers excerpt: Asynchronously looping over arrays in JavaScript comes with a few caveats you should watch out for. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/async-cheatsheet.md b/content/snippets/js/s/async-cheatsheet.md index 26cca8e6356..b17eed13578 100644 --- a/content/snippets/js/s/async-cheatsheet.md +++ b/content/snippets/js/s/async-cheatsheet.md @@ -3,7 +3,6 @@ title: Asynchronous JavaScript Cheat Sheet type: cheatsheet language: javascript tags: [function,promise] -author: chalarangelo cover: green-plant excerpt: Learn everything you need to know about promises and asynchronous JavaScript with this handy cheatsheet. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/await-timeout.md b/content/snippets/js/s/await-timeout.md index eb3cd9fcb23..3a00097be9f 100644 --- a/content/snippets/js/s/await-timeout.md +++ b/content/snippets/js/s/await-timeout.md @@ -4,7 +4,6 @@ shortTitle: Promise timeout type: question language: javascript tags: [promise,timeout,class] -author: chalarangelo cover: walking excerpt: Oftentimes you might need to add a timeout to a promise in JavaScript. Learn how to do this and more in this short guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/bifurcate-array.md b/content/snippets/js/s/bifurcate-array.md index 1a00a1025da..dfee1490935 100644 --- a/content/snippets/js/s/bifurcate-array.md +++ b/content/snippets/js/s/bifurcate-array.md @@ -4,7 +4,6 @@ shortTitle: Bifurcate array type: question language: javascript tags: [array] -author: chalarangelo cover: canoe excerpt: Learn how to split a JavaScript array into two groups based on a function or an array of values. dateModified: 2023-10-09 diff --git a/content/snippets/js/s/big-o-cheatsheet.md b/content/snippets/js/s/big-o-cheatsheet.md index 41498a186d9..c8ec2443ee3 100644 --- a/content/snippets/js/s/big-o-cheatsheet.md +++ b/content/snippets/js/s/big-o-cheatsheet.md @@ -3,7 +3,6 @@ title: Big-O Cheat Sheet type: cheatsheet language: javascript tags: [algorithm] -author: chalarangelo cover: light-ring excerpt: Learn everything you need to know about Big-O notation with this handy cheatsheet. dateModified: 2023-01-08 diff --git a/content/snippets/js/s/binary-function-arity.md b/content/snippets/js/s/binary-function-arity.md index 9e4ebc3a475..e5447a1c0c8 100644 --- a/content/snippets/js/s/binary-function-arity.md +++ b/content/snippets/js/s/binary-function-arity.md @@ -3,7 +3,6 @@ title: Binary function arity type: snippet language: javascript tags: [function] -author: chalarangelo cover: blue-bird dateModified: 2020-10-18 --- diff --git a/content/snippets/js/s/binary-search.md b/content/snippets/js/s/binary-search.md index b2169446292..ac7c55f9d66 100644 --- a/content/snippets/js/s/binary-search.md +++ b/content/snippets/js/s/binary-search.md @@ -3,7 +3,6 @@ title: Binary search type: snippet language: javascript tags: [algorithm,array] -author: chalarangelo cover: zen-indoors dateModified: 2020-12-29 --- diff --git a/content/snippets/js/s/blank-value.md b/content/snippets/js/s/blank-value.md index cb7b15f868a..2f23aec8753 100644 --- a/content/snippets/js/s/blank-value.md +++ b/content/snippets/js/s/blank-value.md @@ -4,7 +4,6 @@ shortTitle: Value is blank type: question language: javascript tags: [type] -author: chalarangelo cover: workspace-with-speaker excerpt: JavaScript doesn't have a built-in way to check if a value is blank, but it's easy to create one. dateModified: 2022-09-25 diff --git a/content/snippets/js/s/boolean-function.md b/content/snippets/js/s/boolean-function.md index 82b18c479ab..5933e2b60fb 100644 --- a/content/snippets/js/s/boolean-function.md +++ b/content/snippets/js/s/boolean-function.md @@ -4,7 +4,6 @@ shortTitle: Boolean function use-cases type: question language: javascript tags: [function,type] -author: chalarangelo cover: rocky-lake excerpt: JavaScript's Boolean function can be used for truth-checking data among other things. Learn how to use it and level up your code today. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/boolean-trap.md b/content/snippets/js/s/boolean-trap.md index c52447badb2..7d6035adc71 100644 --- a/content/snippets/js/s/boolean-trap.md +++ b/content/snippets/js/s/boolean-trap.md @@ -4,7 +4,6 @@ shortTitle: Boolean traps type: story language: javascript tags: [function,type,boolean] -author: chalarangelo cover: lighthouse excerpt: Boolean traps can cause readability and maintainability issues in your code. Learn what they are, how to spot and fix them in this article. dateModified: 2021-07-11 diff --git a/content/snippets/js/s/call-or-return.md b/content/snippets/js/s/call-or-return.md index 39670ae09e5..af88826fad0 100644 --- a/content/snippets/js/s/call-or-return.md +++ b/content/snippets/js/s/call-or-return.md @@ -3,7 +3,6 @@ title: Call or return type: snippet language: javascript tags: [function] -author: chalarangelo cover: cows dateModified: 2022-04-04 --- diff --git a/content/snippets/js/s/callback-pitfalls.md b/content/snippets/js/s/callback-pitfalls.md index f32b7410cd1..cf2da683a4a 100644 --- a/content/snippets/js/s/callback-pitfalls.md +++ b/content/snippets/js/s/callback-pitfalls.md @@ -4,7 +4,6 @@ shortTitle: Callback pitfalls type: story language: javascript tags: [function] -author: chalarangelo cover: rabbit-call excerpt: JavaScript callbacks are especially tricky when you're not careful. Take a deeper dive into potential issues and how to avoid them. dateModified: 2021-07-01 diff --git a/content/snippets/js/s/callbacks.md b/content/snippets/js/s/callbacks.md index 102c697e138..6c53daca3fd 100644 --- a/content/snippets/js/s/callbacks.md +++ b/content/snippets/js/s/callbacks.md @@ -4,7 +4,6 @@ shortTitle: Callback functions type: question language: javascript tags: [function] -author: chalarangelo cover: rabbit-call excerpt: JavaScript uses callback functions quite a lot. From event listeners to asynchronous code, they're an invaluable tool you need to master. dateModified: 2021-10-03 diff --git a/content/snippets/js/s/cannot-extend-proxy-object.md b/content/snippets/js/s/cannot-extend-proxy-object.md index 6a36287e104..be9edbf4e31 100644 --- a/content/snippets/js/s/cannot-extend-proxy-object.md +++ b/content/snippets/js/s/cannot-extend-proxy-object.md @@ -4,7 +4,6 @@ shortTitle: Extending the Proxy object type: tip language: javascript tags: [object,proxy] -author: chalarangelo cover: icebreaker excerpt: Turns out the Proxy object is not extensible, but there's a way around its limitations. dateModified: 2023-04-17 diff --git a/content/snippets/js/s/chunk-iterable.md b/content/snippets/js/s/chunk-iterable.md index 39d7543753d..4414da656b3 100644 --- a/content/snippets/js/s/chunk-iterable.md +++ b/content/snippets/js/s/chunk-iterable.md @@ -3,7 +3,6 @@ title: Chunk iterable type: snippet language: javascript tags: [function,generator,array] -author: chalarangelo cover: two-doors dateModified: 2021-03-16 --- diff --git a/content/snippets/js/s/classical-vs-prototypal-inheritance.md b/content/snippets/js/s/classical-vs-prototypal-inheritance.md index 2d4803a2959..9810ba60acd 100644 --- a/content/snippets/js/s/classical-vs-prototypal-inheritance.md +++ b/content/snippets/js/s/classical-vs-prototypal-inheritance.md @@ -4,7 +4,6 @@ shortTitle: Prototypal vs classical inheritance type: question language: javascript tags: [object,class] -author: chalarangelo cover: last-light excerpt: Understanding the difference between these two object-oriented programming paradigms is key to taking your skills to the next level. dateModified: 2021-11-21 diff --git a/content/snippets/js/s/closest-numeric-match.md b/content/snippets/js/s/closest-numeric-match.md index b88652086d7..07e542a8336 100644 --- a/content/snippets/js/s/closest-numeric-match.md +++ b/content/snippets/js/s/closest-numeric-match.md @@ -3,7 +3,6 @@ title: Closest numeric match type: snippet language: javascript tags: [math] -author: chalarangelo cover: green-cabin-cow dateModified: 2022-03-30 --- diff --git a/content/snippets/js/s/closures.md b/content/snippets/js/s/closures.md index 51113b77314..ce1f3eaba80 100644 --- a/content/snippets/js/s/closures.md +++ b/content/snippets/js/s/closures.md @@ -4,7 +4,6 @@ shortTitle: Closures introduction type: question language: javascript tags: [function,closure] -author: chalarangelo cover: cherry-trees excerpt: Learn and understand closures, a core concept in JavaScript programming, and level up your code. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/code-anatomy-chaining-reduce-for-loop.md b/content/snippets/js/s/code-anatomy-chaining-reduce-for-loop.md index 1550e74d2ac..2f28164d680 100644 --- a/content/snippets/js/s/code-anatomy-chaining-reduce-for-loop.md +++ b/content/snippets/js/s/code-anatomy-chaining-reduce-for-loop.md @@ -4,7 +4,6 @@ shortTitle: For loops, array reduce and method chaining type: story language: javascript tags: [array,iterator] -author: chalarangelo cover: case-study excerpt: There are many ways to iterate and transform array data in JavaScript. Learn how each one works and where you should use them. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/code-anatomy-optimizing-recursion.md b/content/snippets/js/s/code-anatomy-optimizing-recursion.md index 79badf7d5fb..c519e98c506 100644 --- a/content/snippets/js/s/code-anatomy-optimizing-recursion.md +++ b/content/snippets/js/s/code-anatomy-optimizing-recursion.md @@ -4,7 +4,6 @@ shortTitle: Optimizing recursive functions type: story language: javascript tags: [recursion,performance] -author: chalarangelo cover: case-study excerpt: Recursive code tends to be inefficient or in need of optimization. Learn a couple of tricks we use to speed up our recursive functions. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/combine-object-arrays.md b/content/snippets/js/s/combine-object-arrays.md index 724b4892429..bf721a59600 100644 --- a/content/snippets/js/s/combine-object-arrays.md +++ b/content/snippets/js/s/combine-object-arrays.md @@ -3,7 +3,6 @@ title: Combine object arrays type: snippet language: javascript tags: [array,object] -author: chalarangelo cover: digital-nomad-6 dateModified: 2020-10-08 --- diff --git a/content/snippets/js/s/command-line-arguments.md b/content/snippets/js/s/command-line-arguments.md index 87d09069b37..b8f8d8e45c9 100644 --- a/content/snippets/js/s/command-line-arguments.md +++ b/content/snippets/js/s/command-line-arguments.md @@ -3,7 +3,6 @@ title: Command-line arguments type: snippet language: javascript tags: [node] -author: chalarangelo cover: hiking-balance dateModified: 2022-04-26 --- diff --git a/content/snippets/js/s/common-keys.md b/content/snippets/js/s/common-keys.md index 89a77d96602..fb64158f80e 100644 --- a/content/snippets/js/s/common-keys.md +++ b/content/snippets/js/s/common-keys.md @@ -3,7 +3,6 @@ title: Common keys type: snippet language: javascript tags: [object] -author: chalarangelo cover: symmetry-cloudy-mountain dateModified: 2022-04-23 --- diff --git a/content/snippets/js/s/common-regexp-cheatsheet.md b/content/snippets/js/s/common-regexp-cheatsheet.md index 90510168094..61c14089de3 100644 --- a/content/snippets/js/s/common-regexp-cheatsheet.md +++ b/content/snippets/js/s/common-regexp-cheatsheet.md @@ -3,7 +3,6 @@ title: Common regular expressions type: cheatsheet language: javascript tags: [string,regexp] -author: chalarangelo cover: rocky-beach excerpt: A collection of regular expressions that can be used to solve common problems. dateModified: 2022-11-09 diff --git a/content/snippets/js/s/compact-join-array.md b/content/snippets/js/s/compact-join-array.md index 4f3504a1d09..1e2754d1002 100644 --- a/content/snippets/js/s/compact-join-array.md +++ b/content/snippets/js/s/compact-join-array.md @@ -3,7 +3,6 @@ title: Compact and join array type: snippet language: javascript tags: [array] -author: chalarangelo cover: racoon dateModified: 2022-04-08 --- diff --git a/content/snippets/js/s/compare-string-case-accent-insensitive.md b/content/snippets/js/s/compare-string-case-accent-insensitive.md index 148aae7afd5..086781442a2 100644 --- a/content/snippets/js/s/compare-string-case-accent-insensitive.md +++ b/content/snippets/js/s/compare-string-case-accent-insensitive.md @@ -4,7 +4,6 @@ shortTitle: Case and accent-insensitive string comparison type: tip language: javascript tags: [string,comparison] -author: chalarangelo cover: memories-of-pineapple-1 excerpt: Here's a quick tip on how to compare and sort arrays of strings, ignoring case and accents. dateModified: 2022-07-17 diff --git a/content/snippets/js/s/consecutive-element-subarrays.md b/content/snippets/js/s/consecutive-element-subarrays.md index 28723f78d00..ba523a33e28 100644 --- a/content/snippets/js/s/consecutive-element-subarrays.md +++ b/content/snippets/js/s/consecutive-element-subarrays.md @@ -3,7 +3,6 @@ title: Consecutive element subarrays type: snippet language: javascript tags: [array] -author: chalarangelo cover: camera-zoom dateModified: 2020-10-18 --- diff --git a/content/snippets/js/s/console-log-cheatsheet.md b/content/snippets/js/s/console-log-cheatsheet.md index 3a29e5b105b..c3381ea83d3 100644 --- a/content/snippets/js/s/console-log-cheatsheet.md +++ b/content/snippets/js/s/console-log-cheatsheet.md @@ -3,7 +3,6 @@ title: JavaScript console.log() tips & tricks type: story language: javascript tags: [browser,cheatsheet] -author: chalarangelo cover: terminal excerpt: Level up your JavaScript logging with these `console.log()` tips and tricks. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/construct-url.md b/content/snippets/js/s/construct-url.md index 3f1eee06788..1b81a76778c 100644 --- a/content/snippets/js/s/construct-url.md +++ b/content/snippets/js/s/construct-url.md @@ -4,7 +4,6 @@ shortTitle: Construct a URL in JavaScript type: story language: javascript tags: [string,browser] -author: chalarangelo cover: alfama excerpt: A short guide on how to correctly construct a URL in JavaScript. dateModified: 2023-02-26 diff --git a/content/snippets/js/s/contains-whitespace.md b/content/snippets/js/s/contains-whitespace.md index f70f2583bde..e1e5d52c425 100644 --- a/content/snippets/js/s/contains-whitespace.md +++ b/content/snippets/js/s/contains-whitespace.md @@ -3,7 +3,6 @@ title: Check if string contains whitespace type: snippet language: javascript tags: [string,regexp] -author: chalarangelo cover: bag-waiting dateModified: 2020-10-18 --- diff --git a/content/snippets/js/s/convert-map-to-object.md b/content/snippets/js/s/convert-map-to-object.md index 4bcc363402b..39c77be4905 100644 --- a/content/snippets/js/s/convert-map-to-object.md +++ b/content/snippets/js/s/convert-map-to-object.md @@ -4,7 +4,6 @@ type: snippet shortTitle: Map to object language: javascript tags: [object] -author: chalarangelo cover: succulent-1 dateModified: 2022-06-16 --- diff --git a/content/snippets/js/s/convert-object-to-map.md b/content/snippets/js/s/convert-object-to-map.md index 94634626b12..304242e5a4c 100644 --- a/content/snippets/js/s/convert-object-to-map.md +++ b/content/snippets/js/s/convert-object-to-map.md @@ -4,7 +4,6 @@ type: snippet shortTitle: Object to Map language: javascript tags: [object] -author: chalarangelo cover: yellow-shoes dateModified: 2022-06-16 --- diff --git a/content/snippets/js/s/cookies-local-storage-session.md b/content/snippets/js/s/cookies-local-storage-session.md index 902cc9cd021..2ae2aee056e 100644 --- a/content/snippets/js/s/cookies-local-storage-session.md +++ b/content/snippets/js/s/cookies-local-storage-session.md @@ -4,7 +4,6 @@ shortTitle: Cookies, local storage, and session storage type: question language: javascript tags: [browser,webdev] -author: chalarangelo cover: three-vases excerpt: Learn the difference between cookies, local storage and session storage and start using the correct option for your needs. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/copy-array.md b/content/snippets/js/s/copy-array.md index 58ac37fe69f..899aeec06c7 100644 --- a/content/snippets/js/s/copy-array.md +++ b/content/snippets/js/s/copy-array.md @@ -4,7 +4,6 @@ shortTitle: Clone an array type: question language: javascript tags: [array] -author: chalarangelo cover: colorful-plastic excerpt: Pick up a few new tricks which you can use to clone arrays in JavaScript. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/copy-text-to-clipboard.md b/content/snippets/js/s/copy-text-to-clipboard.md index 05cf78053f0..30ea8938278 100644 --- a/content/snippets/js/s/copy-text-to-clipboard.md +++ b/content/snippets/js/s/copy-text-to-clipboard.md @@ -4,7 +4,6 @@ shortTitle: Copy text to clipboard type: question language: javascript tags: [browser] -author: chalarangelo cover: typing excerpt: Learn how to programmatically copy text to clipboard with a few lines of JavaScript and level up your web development skills. dateModified: 2022-01-11 diff --git a/content/snippets/js/s/cors-explained.md b/content/snippets/js/s/cors-explained.md index 9eb771d9c8f..53ef3b830d8 100644 --- a/content/snippets/js/s/cors-explained.md +++ b/content/snippets/js/s/cors-explained.md @@ -4,7 +4,6 @@ shortTitle: CORS explained type: question language: javascript tags: [browser,webdev] -author: chalarangelo cover: chill-surfing excerpt: CORS (Cross-Origin Resource Sharing) trips up many developers, but it's pretty easy to wrap your head around. dateModified: 2023-05-07 diff --git a/content/snippets/js/s/count-substrings.md b/content/snippets/js/s/count-substrings.md index 6144a743d4c..1c940da834c 100644 --- a/content/snippets/js/s/count-substrings.md +++ b/content/snippets/js/s/count-substrings.md @@ -3,7 +3,6 @@ title: Count substrings of string type: snippet language: javascript tags: [string,algorithm] -author: chalarangelo cover: obelisk dateModified: 2021-01-08 --- diff --git a/content/snippets/js/s/create-html-elements.md b/content/snippets/js/s/create-html-elements.md index 47b947816a6..90ebf30be53 100644 --- a/content/snippets/js/s/create-html-elements.md +++ b/content/snippets/js/s/create-html-elements.md @@ -4,7 +4,6 @@ shortTitle: Creating HTML elements type: story language: javascript tags: [browser] -author: chalarangelo cover: body-of-water excerpt: Learn how to create HTML elements in JavaScript, by abstracting the creation logic into a function. dateModified: 2022-05-29 diff --git a/content/snippets/js/s/cycle-generator.md b/content/snippets/js/s/cycle-generator.md index 4c171d403ef..b530b409805 100644 --- a/content/snippets/js/s/cycle-generator.md +++ b/content/snippets/js/s/cycle-generator.md @@ -3,7 +3,6 @@ title: Cycle generator type: snippet language: javascript tags: [function,generator] -author: chalarangelo cover: secret-tree dateModified: 2020-10-11 --- diff --git a/content/snippets/js/s/data-structures-binary-search-tree.md b/content/snippets/js/s/data-structures-binary-search-tree.md index d998c3c657c..dfe3d817602 100644 --- a/content/snippets/js/s/data-structures-binary-search-tree.md +++ b/content/snippets/js/s/data-structures-binary-search-tree.md @@ -4,7 +4,6 @@ shortTitle: Binary Search Tree type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-4 excerpt: A binary search tree is a hierarchical data structure of ordered nodes with at most two children each. dateModified: 2021-08-31 diff --git a/content/snippets/js/s/data-structures-binary-tree.md b/content/snippets/js/s/data-structures-binary-tree.md index 5b4bb7026bc..67412af5b8b 100644 --- a/content/snippets/js/s/data-structures-binary-tree.md +++ b/content/snippets/js/s/data-structures-binary-tree.md @@ -4,7 +4,6 @@ shortTitle: Binary Tree type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-3 excerpt: A binary tree is a hierarchical data structure of linked nodes with at most two children each. dateModified: 2021-08-26 diff --git a/content/snippets/js/s/data-structures-doubly-linked-list.md b/content/snippets/js/s/data-structures-doubly-linked-list.md index b406c8e611b..034193cd45d 100644 --- a/content/snippets/js/s/data-structures-doubly-linked-list.md +++ b/content/snippets/js/s/data-structures-doubly-linked-list.md @@ -4,7 +4,6 @@ shortTitle: Doubly Linked List type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-4 excerpt: A doubly linked list is a linear data structure where each element points both to the next and the previous one. dateModified: 2021-08-12 diff --git a/content/snippets/js/s/data-structures-graph.md b/content/snippets/js/s/data-structures-graph.md index a9c615e052c..e8ca42eed6c 100644 --- a/content/snippets/js/s/data-structures-graph.md +++ b/content/snippets/js/s/data-structures-graph.md @@ -4,7 +4,6 @@ shortTitle: Graph type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-1 excerpt: A graph is a data structure consisting of a set of vertices connected by a set of edges. dateModified: 2021-08-17 diff --git a/content/snippets/js/s/data-structures-linked-list.md b/content/snippets/js/s/data-structures-linked-list.md index 7a3d71dd3f1..96543849ef2 100644 --- a/content/snippets/js/s/data-structures-linked-list.md +++ b/content/snippets/js/s/data-structures-linked-list.md @@ -4,7 +4,6 @@ shortTitle: Linked List type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-3 excerpt: A linked list is a linear data structure where each element points to the next. dateModified: 2021-08-08 diff --git a/content/snippets/js/s/data-structures-queue.md b/content/snippets/js/s/data-structures-queue.md index d4e2433f90a..44035c03e6b 100644 --- a/content/snippets/js/s/data-structures-queue.md +++ b/content/snippets/js/s/data-structures-queue.md @@ -4,7 +4,6 @@ shortTitle: Queue type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-2 excerpt: A queue is a linear data structure which follows a first in, first out (FIFO) order of operations. dateModified: 2021-07-29 diff --git a/content/snippets/js/s/data-structures-stack.md b/content/snippets/js/s/data-structures-stack.md index 5e38b613e79..9241073acbe 100644 --- a/content/snippets/js/s/data-structures-stack.md +++ b/content/snippets/js/s/data-structures-stack.md @@ -4,7 +4,6 @@ shortTitle: Stack type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-1 excerpt: A stack is a linear data structure which follows a last in, first out (LIFO) order of operations. dateModified: 2021-08-03 diff --git a/content/snippets/js/s/data-structures-tree.md b/content/snippets/js/s/data-structures-tree.md index 5537fb4152e..65bd7cdf4c1 100644 --- a/content/snippets/js/s/data-structures-tree.md +++ b/content/snippets/js/s/data-structures-tree.md @@ -4,7 +4,6 @@ shortTitle: Tree type: story language: javascript tags: [class] -author: chalarangelo cover: purple-flower-macro-2 excerpt: A tree is a data structure consisting of a set of linked nodes representing a hierarchical tree structure. dateModified: 2021-08-22 diff --git a/content/snippets/js/s/date-comparison.md b/content/snippets/js/s/date-comparison.md index 43f93ce9d5a..e65836bcc82 100644 --- a/content/snippets/js/s/date-comparison.md +++ b/content/snippets/js/s/date-comparison.md @@ -4,7 +4,6 @@ shortTitle: Date comparison type: question language: javascript tags: [date,comparison] -author: chalarangelo cover: pineapple-at-work excerpt: Learn how you can compare two dates in JavaScript using various different techniques. dateModified: 2022-01-16 diff --git a/content/snippets/js/s/debounce-function.md b/content/snippets/js/s/debounce-function.md index 23c293f328c..bf99b9572b1 100644 --- a/content/snippets/js/s/debounce-function.md +++ b/content/snippets/js/s/debounce-function.md @@ -4,7 +4,6 @@ shortTitle: Debounce function type: tip language: javascript tags: [function] -author: chalarangelo cover: solitude-beach excerpt: Create a debounced function that waits a certain amount of time before invoking the provided function again. dateModified: 2023-10-12 diff --git a/content/snippets/js/s/debounce-promise.md b/content/snippets/js/s/debounce-promise.md index c65f7186a1e..971faf6e016 100644 --- a/content/snippets/js/s/debounce-promise.md +++ b/content/snippets/js/s/debounce-promise.md @@ -4,7 +4,6 @@ shortTitle: Debounce promise type: tip language: javascript tags: [function,promise] -author: chalarangelo excerpt: Easily create a debounced function that returns a promise. cover: chess-pawns dateModified: 2023-10-13 diff --git a/content/snippets/js/s/decimal-to-hex.md b/content/snippets/js/s/decimal-to-hex.md index fa5b1ff6f93..453a85492a5 100644 --- a/content/snippets/js/s/decimal-to-hex.md +++ b/content/snippets/js/s/decimal-to-hex.md @@ -4,7 +4,6 @@ shortTitle: Decimal to hexadecimal type: tip language: javascript tags: [math] -author: chalarangelo cover: waves-from-above excerpt: Ever needed to convert a decimal number to hexadecimal? Here's a quick and easy way to do it. dateModified: 2022-09-21 diff --git a/content/snippets/js/s/deep-freeze-object.md b/content/snippets/js/s/deep-freeze-object.md index d41de625b10..07d0b2f1b7d 100644 --- a/content/snippets/js/s/deep-freeze-object.md +++ b/content/snippets/js/s/deep-freeze-object.md @@ -4,7 +4,6 @@ shortTitle: Deep freeze object type: question language: javascript tags: [object] -author: chalarangelo cover: frozen-globe excerpt: Learn how mutability works in JavaScript, its applications to objects and how you can properly freeze them to make them constant. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/deep-merge-objects.md b/content/snippets/js/s/deep-merge-objects.md index f9233fae3b0..115903fa3ef 100644 --- a/content/snippets/js/s/deep-merge-objects.md +++ b/content/snippets/js/s/deep-merge-objects.md @@ -3,7 +3,6 @@ title: Deep merge objects type: snippet language: javascript tags: [object,function] -author: chalarangelo cover: coffee-drip dateModified: 2021-07-25 --- diff --git a/content/snippets/js/s/destructuring-assignment.md b/content/snippets/js/s/destructuring-assignment.md index b9b684d6abf..f6835c1cf32 100644 --- a/content/snippets/js/s/destructuring-assignment.md +++ b/content/snippets/js/s/destructuring-assignment.md @@ -4,7 +4,6 @@ shortTitle: Destructuring assignment introduction type: question language: javascript tags: [array,object] -author: chalarangelo cover: building-blocks excerpt: Learn the basics of the destructuring assignment syntax in JavaScript ES6 and improve your code with this easy guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/detect-caps-lock-is-on.md b/content/snippets/js/s/detect-caps-lock-is-on.md index fd49d29dc93..22fd52e97d4 100644 --- a/content/snippets/js/s/detect-caps-lock-is-on.md +++ b/content/snippets/js/s/detect-caps-lock-is-on.md @@ -4,7 +4,6 @@ shortTitle: Detect Caps Lock type: question language: javascript tags: [browser,event] -author: chalarangelo cover: keyboard excerpt: If you need to check if Caps Lock is on when the user is typing in the browser, JavaScript's got you covered. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/detect-undefined-object-property.md b/content/snippets/js/s/detect-undefined-object-property.md index 464c7643b9c..9356e76a78a 100644 --- a/content/snippets/js/s/detect-undefined-object-property.md +++ b/content/snippets/js/s/detect-undefined-object-property.md @@ -4,7 +4,6 @@ shortTitle: Detect undefined object property type: story language: javascript tags: [object] -author: chalarangelo cover: pink-flower excerpt: Learn how to detect `undefined` object properties in JavaScript the correct way. dateModified: 2022-08-07 diff --git a/content/snippets/js/s/double-negation-operator.md b/content/snippets/js/s/double-negation-operator.md index bf371b61645..ff2e51928b7 100644 --- a/content/snippets/js/s/double-negation-operator.md +++ b/content/snippets/js/s/double-negation-operator.md @@ -4,7 +4,6 @@ shortTitle: Double negation operator type: question language: javascript tags: [type] -author: chalarangelo cover: memories-of-pineapple-2 excerpt: You've probably come across the double negation operator (`!!`) before, but do you know what it does? dateModified: 2022-07-26 diff --git a/content/snippets/js/s/dynamic-getter-chain-proxy.md b/content/snippets/js/s/dynamic-getter-chain-proxy.md index ce688c87880..738dc7552ea 100644 --- a/content/snippets/js/s/dynamic-getter-chain-proxy.md +++ b/content/snippets/js/s/dynamic-getter-chain-proxy.md @@ -4,7 +4,6 @@ shortTitle: Dynamic getter chaining type: story language: javascript tags: [object,proxy] -author: chalarangelo cover: colorful-rocks excerpt: Using the Proxy object, we can create chainable dynamic getters for objects in JavaScript. dateModified: 2023-05-28 diff --git a/content/snippets/js/s/dynamic-getter-setter-proxy.md b/content/snippets/js/s/dynamic-getter-setter-proxy.md index d523f6864ee..b6f551a2c50 100644 --- a/content/snippets/js/s/dynamic-getter-setter-proxy.md +++ b/content/snippets/js/s/dynamic-getter-setter-proxy.md @@ -4,7 +4,6 @@ shortTitle: Dynamic getters and setters type: question language: javascript tags: [object,proxy] -author: chalarangelo cover: green-cabin-cow excerpt: Using the Proxy object, we can create dynamic getters and setters for objects in JavaScript. dateModified: 2023-04-09 diff --git a/content/snippets/js/s/dynamic-properties-are-slow.md b/content/snippets/js/s/dynamic-properties-are-slow.md index 7b39aa2ff88..f9d48976355 100644 --- a/content/snippets/js/s/dynamic-properties-are-slow.md +++ b/content/snippets/js/s/dynamic-properties-are-slow.md @@ -4,7 +4,6 @@ shortTitle: Dynamically added property optimization type: tip language: javascript tags: [object,performance] -author: chalarangelo cover: hiking-balance excerpt: Dynamically adding object properties can be pretty slow in some cases. Here's how to optimize it. dateModified: 2022-11-02 diff --git a/content/snippets/js/s/edit-url-params.md b/content/snippets/js/s/edit-url-params.md index 8684105838e..f9ec7e10129 100644 --- a/content/snippets/js/s/edit-url-params.md +++ b/content/snippets/js/s/edit-url-params.md @@ -4,7 +4,6 @@ shortTitle: Edit URL Parameters type: tip language: javascript tags: [string] -author: chalarangelo cover: sofia-tram excerpt: Avoid the naive approach and use a more robust method to edit URL parameters in JavaScript. dateModified: 2022-12-07 diff --git a/content/snippets/js/s/element-from-point.md b/content/snippets/js/s/element-from-point.md index 8bfe01e6454..36dc607de71 100644 --- a/content/snippets/js/s/element-from-point.md +++ b/content/snippets/js/s/element-from-point.md @@ -4,7 +4,6 @@ shortTitle: Element at specific coordinates type: tip language: javascript tags: [browser] -author: chalarangelo cover: armchair-in-yellow excerpt: Using `Document.elementFromPoint()` to easily get the element at a specific point on the page. dateModified: 2022-12-18 diff --git a/content/snippets/js/s/element-is-focused.md b/content/snippets/js/s/element-is-focused.md index 74c9e07b5c0..c98432ff040 100644 --- a/content/snippets/js/s/element-is-focused.md +++ b/content/snippets/js/s/element-is-focused.md @@ -3,7 +3,6 @@ title: Element is focused type: snippet language: javascript tags: [browser] -author: chalarangelo cover: female-hiker dateModified: 2020-10-19 --- diff --git a/content/snippets/js/s/email-validation.md b/content/snippets/js/s/email-validation.md index fd005b6acb8..6a454b73f26 100644 --- a/content/snippets/js/s/email-validation.md +++ b/content/snippets/js/s/email-validation.md @@ -4,7 +4,6 @@ shortTitle: Email address validation type: question language: javascript tags: [string,regexp] -author: chalarangelo cover: blank-card excerpt: Email address validation can be much trickier than it sounds. Here's why and my advice on how to approach this problem. dateModified: 2022-10-05 diff --git a/content/snippets/js/s/empty-array.md b/content/snippets/js/s/empty-array.md index 6a12a16f1f9..2f1be3540aa 100644 --- a/content/snippets/js/s/empty-array.md +++ b/content/snippets/js/s/empty-array.md @@ -4,7 +4,6 @@ shortTitle: Empty an array type: question language: javascript tags: [array] -author: chalarangelo cover: coconuts excerpt: You can use a lot of different techniques to empty an array in JavaScript. See which ones best suits your needs with this quick guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/encodeuri-encodeuricomponent.md b/content/snippets/js/s/encodeuri-encodeuricomponent.md index e076c9d4598..524825f491f 100644 --- a/content/snippets/js/s/encodeuri-encodeuricomponent.md +++ b/content/snippets/js/s/encodeuri-encodeuricomponent.md @@ -4,7 +4,6 @@ shortTitle: encodeURI() vs encodeURIComponent() type: question language: javascript tags: [browser] -author: chalarangelo cover: laptop-view excerpt: JavaScript provides two methods for encoding characters to URL-safe strings. Do you know when to use each one? dateModified: 2021-06-12 diff --git a/content/snippets/js/s/ends-with-substring.md b/content/snippets/js/s/ends-with-substring.md index 60ad5f26923..6d3d407adc3 100644 --- a/content/snippets/js/s/ends-with-substring.md +++ b/content/snippets/js/s/ends-with-substring.md @@ -5,7 +5,6 @@ shortTitle: Ends with substring language: javascript tags: [string] cover: boutique-home-office-4 -author: chalarangelo dateModified: 2022-08-01 --- diff --git a/content/snippets/js/s/enum.md b/content/snippets/js/s/enum.md index 53867a85a9e..2b9097dc0e6 100644 --- a/content/snippets/js/s/enum.md +++ b/content/snippets/js/s/enum.md @@ -4,7 +4,6 @@ shortTitle: Enum implementation type: question language: javascript tags: [object,class,symbol,generator] -author: chalarangelo cover: book-chair excerpt: Enums are part of TypeScript, but what about defining enums in plain old JavaScript? Here are a few way you can do that. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/equality.md b/content/snippets/js/s/equality.md index 6a18669c112..c410cc19eba 100644 --- a/content/snippets/js/s/equality.md +++ b/content/snippets/js/s/equality.md @@ -4,7 +4,6 @@ shortTitle: JavaScript equality operators type: question language: javascript tags: [type,comparison] -author: chalarangelo cover: beach-pineapple excerpt: Learn all you need to know about the differences between JavaScript's double equals and triple equals operators. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/eslint-refactor-for-in.md b/content/snippets/js/s/eslint-refactor-for-in.md index f3fa4448552..4b6fb00327e 100644 --- a/content/snippets/js/s/eslint-refactor-for-in.md +++ b/content/snippets/js/s/eslint-refactor-for-in.md @@ -4,7 +4,6 @@ shortTitle: Refactoring for...in loops to avoid ESLint warnings type: tip language: javascript tags: [array,iterator,eslint] -author: chalarangelo cover: typing excerpt: ESLint is a really useful tool, but sometimes it gets in the way. Learn how to refactor code to get rid of a common warning. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/euclidean-distance.md b/content/snippets/js/s/euclidean-distance.md index 73f915094bc..e74d1fc423f 100644 --- a/content/snippets/js/s/euclidean-distance.md +++ b/content/snippets/js/s/euclidean-distance.md @@ -3,7 +3,6 @@ title: Euclidean distance type: snippet language: javascript tags: [math,algorithm] -author: chalarangelo cover: ancient-greek-building dateModified: 2020-12-28 --- diff --git a/content/snippets/js/s/event-bubbling-capturing-delegation.md b/content/snippets/js/s/event-bubbling-capturing-delegation.md index 6323e85d0f6..e456fca122d 100644 --- a/content/snippets/js/s/event-bubbling-capturing-delegation.md +++ b/content/snippets/js/s/event-bubbling-capturing-delegation.md @@ -4,7 +4,6 @@ shortTitle: Event bubbling, capturing and delegation type: story language: javascript tags: [browser,event] -author: chalarangelo cover: fishermen excerpt: Understand how events work in JavaScript and learn when to use event bubbling, event capturing and event delegation with this short guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/event-loop-explained.md b/content/snippets/js/s/event-loop-explained.md index cf5da4f4b54..bdbc5ef512a 100644 --- a/content/snippets/js/s/event-loop-explained.md +++ b/content/snippets/js/s/event-loop-explained.md @@ -4,7 +4,6 @@ shortTitle: Event loop explained type: question language: javascript tags: [browser,event] -author: chalarangelo cover: tranquility excerpt: The Event Loop is a source of confusion for many developers, but it's a fundamental piece of the JavaScript engine. dateModified: 2022-08-21 diff --git a/content/snippets/js/s/evil-closures.md b/content/snippets/js/s/evil-closures.md index 32707259c1f..35812c24b4e 100644 --- a/content/snippets/js/s/evil-closures.md +++ b/content/snippets/js/s/evil-closures.md @@ -4,7 +4,6 @@ shortTitle: Closures and hidden state type: story language: javascript tags: [function,closure] -author: chalarangelo cover: silver-flat-screen excerpt: Closures are used frequently, yet often misunderstood. Understanding them in depth is crucial to be able to write clean, maintainable code. dateModified: 2022-05-18 diff --git a/content/snippets/js/s/expand-tabs.md b/content/snippets/js/s/expand-tabs.md index c2543103583..2eb1ee3e542 100644 --- a/content/snippets/js/s/expand-tabs.md +++ b/content/snippets/js/s/expand-tabs.md @@ -3,7 +3,6 @@ title: Expand tabs into spaces type: snippet language: javascript tags: [string,regexp] -author: chalarangelo cover: naming-conventions dateModified: 2020-09-15 --- diff --git a/content/snippets/js/s/expression-statement.md b/content/snippets/js/s/expression-statement.md index 29d4d3523dc..29c1a543410 100644 --- a/content/snippets/js/s/expression-statement.md +++ b/content/snippets/js/s/expression-statement.md @@ -4,7 +4,6 @@ shortTitle: Expressions and statements type: question language: javascript tags: [type] -author: chalarangelo cover: forest-balcony excerpt: JavaScript distinguishes expressions and statements. Learn their differences in this short article. dateModified: 2021-11-07 diff --git a/content/snippets/js/s/fast-remove-array-element.md b/content/snippets/js/s/fast-remove-array-element.md index e570d575cb5..a87155daf1b 100644 --- a/content/snippets/js/s/fast-remove-array-element.md +++ b/content/snippets/js/s/fast-remove-array-element.md @@ -4,7 +4,6 @@ shortTitle: Faster element removal in unordered arrays type: story language: javascript tags: [array] -author: chalarangelo cover: purple-flower-bunch excerpt: Are you performing a lot of array operations? Maybe element removal is a performance bottleneck you can avoid. dateModified: 2022-03-20 diff --git a/content/snippets/js/s/find-closest-anchor.md b/content/snippets/js/s/find-closest-anchor.md index 42262128191..72248fa5717 100644 --- a/content/snippets/js/s/find-closest-anchor.md +++ b/content/snippets/js/s/find-closest-anchor.md @@ -3,7 +3,6 @@ title: Find closest anchor type: snippet language: javascript tags: [browser] -author: chalarangelo cover: clouds-n-mountains dateModified: 2021-04-22 --- diff --git a/content/snippets/js/s/find-closest-matching-node.md b/content/snippets/js/s/find-closest-matching-node.md index 1b85b38c9ad..9f8f33d9b82 100644 --- a/content/snippets/js/s/find-closest-matching-node.md +++ b/content/snippets/js/s/find-closest-matching-node.md @@ -3,7 +3,6 @@ title: Find closest matching node type: snippet language: javascript tags: [browser] -author: chalarangelo cover: flowering-hills dateModified: 2021-04-22 --- diff --git a/content/snippets/js/s/first-last-n-elements.md b/content/snippets/js/s/first-last-n-elements.md index 590fbafd843..5da627f358b 100644 --- a/content/snippets/js/s/first-last-n-elements.md +++ b/content/snippets/js/s/first-last-n-elements.md @@ -4,7 +4,6 @@ shortTitle: First or last n elements of an array type: tip language: javascript tags: [array] -author: chalarangelo cover: fort-lamp excerpt: Learn how to retrieve the first or last `n` elements in a JavaScript array with a single line of code. dateModified: 2023-10-04 diff --git a/content/snippets/js/s/flat-iterator.md b/content/snippets/js/s/flat-iterator.md index 36876b2e690..bfb876ca08d 100644 --- a/content/snippets/js/s/flat-iterator.md +++ b/content/snippets/js/s/flat-iterator.md @@ -3,7 +3,6 @@ title: Flat iterator type: snippet language: javascript tags: [array,iterator,generator] -author: chalarangelo cover: sail-away-2 dateModified: 2022-03-09 --- diff --git a/content/snippets/js/s/for-each-right.md b/content/snippets/js/s/for-each-right.md index 7518f1c3c8f..bdeacccd1cb 100644 --- a/content/snippets/js/s/for-each-right.md +++ b/content/snippets/js/s/for-each-right.md @@ -4,7 +4,6 @@ shortTitle: Iterate over array in reverse type: tip language: javascript tags: [array] -author: chalarangelo cover: interior-6 excerpt: Learn how to execute a function for each element of an array, starting from the last one. dateModified: 2023-10-10 diff --git a/content/snippets/js/s/for-in-for-of-foreach.md b/content/snippets/js/s/for-in-for-of-foreach.md index 3deb3f9ec26..8a1ad41c883 100644 --- a/content/snippets/js/s/for-in-for-of-foreach.md +++ b/content/snippets/js/s/for-in-for-of-foreach.md @@ -4,7 +4,6 @@ shortTitle: JavaScript iteration methods comparison type: question language: javascript tags: [array,object,iterator] -author: chalarangelo cover: lake-loop excerpt: Learn the differences between the three most commonly used iteration methods in JavaScript, that often confuse beginners and veterans alike. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/for-loop-early-break.md b/content/snippets/js/s/for-loop-early-break.md index e35a1637a40..e457009d151 100644 --- a/content/snippets/js/s/for-loop-early-break.md +++ b/content/snippets/js/s/for-loop-early-break.md @@ -4,7 +4,6 @@ shortTitle: For loops for early breaking type: tip language: javascript tags: [array,loop] -author: chalarangelo cover: armchair excerpt: Iteration in JavaScript can be done a handfuld of ways, most often using array methods, but sometimes a `for` loop is the best option. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/frequency-map-data-structure.md b/content/snippets/js/s/frequency-map-data-structure.md index b9c48e60868..56fa7b42926 100644 --- a/content/snippets/js/s/frequency-map-data-structure.md +++ b/content/snippets/js/s/frequency-map-data-structure.md @@ -4,7 +4,6 @@ shortTitle: Frequency Map type: story language: javascript tags: [class] -author: chalarangelo cover: radio-monstera excerpt: A custom data structure to keep track of value frequencies in an array. dateModified: 2022-11-13 diff --git a/content/snippets/js/s/function-based-array-indexing.md b/content/snippets/js/s/function-based-array-indexing.md index 0e88b2250ce..a9891d766ac 100644 --- a/content/snippets/js/s/function-based-array-indexing.md +++ b/content/snippets/js/s/function-based-array-indexing.md @@ -3,7 +3,6 @@ title: Index array based on function type: snippet language: javascript tags: [array,object] -author: chalarangelo cover: guitar-living-room dateModified: 2021-06-20 --- diff --git a/content/snippets/js/s/function-call-apply-bind.md b/content/snippets/js/s/function-call-apply-bind.md index 6a6f4cf542d..33e3a726e8e 100644 --- a/content/snippets/js/s/function-call-apply-bind.md +++ b/content/snippets/js/s/function-call-apply-bind.md @@ -4,7 +4,6 @@ shortTitle: Function methods - call(), apply() and bind() type: story language: javascript tags: [function] -author: chalarangelo cover: canoe excerpt: Learn everything you need to know about JavaScript's `call()`, `apply()` and `bind()` in this short guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/generate-until.md b/content/snippets/js/s/generate-until.md index acf390a4c10..85212d8252a 100644 --- a/content/snippets/js/s/generate-until.md +++ b/content/snippets/js/s/generate-until.md @@ -3,7 +3,6 @@ title: Generate until condition is met type: snippet language: javascript tags: [function,generator] -author: chalarangelo cover: type-stamps dateModified: 2022-01-21 --- diff --git a/content/snippets/js/s/generate-while.md b/content/snippets/js/s/generate-while.md index 2da7c67449e..9c02e592a58 100644 --- a/content/snippets/js/s/generate-while.md +++ b/content/snippets/js/s/generate-while.md @@ -3,7 +3,6 @@ title: Generate while condition is met type: snippet language: javascript tags: [function,generator] -author: chalarangelo cover: yellow-sofa dateModified: 2022-01-21 --- diff --git a/content/snippets/js/s/generator-for-range.md b/content/snippets/js/s/generator-for-range.md index c6f04d36810..5d4be398dda 100644 --- a/content/snippets/js/s/generator-for-range.md +++ b/content/snippets/js/s/generator-for-range.md @@ -4,7 +4,6 @@ shortTitle: Generator functions for ranges type: story language: javascript tags: [function,array] -author: chalarangelo cover: generator excerpt: Learn how to use JavaScript ES6 generators and iterators to iterate over ranges of numbers. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/generator-to-array.md b/content/snippets/js/s/generator-to-array.md index 2d402ef8ddf..efd25a541f2 100644 --- a/content/snippets/js/s/generator-to-array.md +++ b/content/snippets/js/s/generator-to-array.md @@ -3,7 +3,6 @@ title: Generator to array type: snippet language: javascript tags: [function,array,generator] -author: chalarangelo cover: messy-papers dateModified: 2020-12-31 --- diff --git a/content/snippets/js/s/get-ancestors.md b/content/snippets/js/s/get-ancestors.md index fd71b360e45..a66c05d87ad 100644 --- a/content/snippets/js/s/get-ancestors.md +++ b/content/snippets/js/s/get-ancestors.md @@ -3,7 +3,6 @@ title: Get element ancestors type: snippet language: javascript tags: [browser] -author: chalarangelo cover: interior-8 dateModified: 2021-01-05 --- diff --git a/content/snippets/js/s/get-base-url.md b/content/snippets/js/s/get-base-url.md index 86361340d2c..89c911ce7c1 100644 --- a/content/snippets/js/s/get-base-url.md +++ b/content/snippets/js/s/get-base-url.md @@ -3,7 +3,6 @@ title: Get base URL type: snippet language: javascript tags: [string,browser,regexp] -author: chalarangelo cover: blue-lake dateModified: 2021-01-03 --- diff --git a/content/snippets/js/s/get-parents-until.md b/content/snippets/js/s/get-parents-until.md index 843aa8ce734..15e427e87a2 100644 --- a/content/snippets/js/s/get-parents-until.md +++ b/content/snippets/js/s/get-parents-until.md @@ -3,7 +3,6 @@ title: Get parents until element matches selector type: snippet language: javascript tags: [browser] -author: chalarangelo cover: orange-coffee-4 dateModified: 2021-01-06 --- diff --git a/content/snippets/js/s/get-scrollbar-width.md b/content/snippets/js/s/get-scrollbar-width.md index aada2c43317..27254de1607 100644 --- a/content/snippets/js/s/get-scrollbar-width.md +++ b/content/snippets/js/s/get-scrollbar-width.md @@ -4,7 +4,6 @@ type: snippet language: javascript tags: [browser] cover: violin -author: chalarangelo dateModified: 2022-07-16 --- diff --git a/content/snippets/js/s/get-selected-text.md b/content/snippets/js/s/get-selected-text.md index 8483b8b2843..6d834dfaf1b 100644 --- a/content/snippets/js/s/get-selected-text.md +++ b/content/snippets/js/s/get-selected-text.md @@ -3,7 +3,6 @@ title: Get selected text type: snippet language: javascript tags: [browser] -author: chalarangelo cover: white-tablet-2 dateModified: 2020-10-19 --- diff --git a/content/snippets/js/s/get-siblings.md b/content/snippets/js/s/get-siblings.md index 0269094258a..fd96d3faad0 100644 --- a/content/snippets/js/s/get-siblings.md +++ b/content/snippets/js/s/get-siblings.md @@ -3,7 +3,6 @@ title: Array of element's siblings type: snippet language: javascript tags: [browser] -author: chalarangelo cover: little-white-flowers dateModified: 2020-10-19 --- diff --git a/content/snippets/js/s/get-url-parameters.md b/content/snippets/js/s/get-url-parameters.md index 43c3090541d..8a7e952f5f5 100644 --- a/content/snippets/js/s/get-url-parameters.md +++ b/content/snippets/js/s/get-url-parameters.md @@ -3,7 +3,6 @@ title: URL parameters as object type: snippet language: javascript tags: [browser,string,regexp] -author: chalarangelo cover: metro-tunnel dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/get-vertical-offset.md b/content/snippets/js/s/get-vertical-offset.md index 34199594945..b845e652468 100644 --- a/content/snippets/js/s/get-vertical-offset.md +++ b/content/snippets/js/s/get-vertical-offset.md @@ -3,7 +3,6 @@ title: Vertical offset of element type: snippet language: javascript tags: [browser] -author: chalarangelo cover: waves-from-above-2 dateModified: 2021-01-05 --- diff --git a/content/snippets/js/s/has-decimals.md b/content/snippets/js/s/has-decimals.md index 76aee994cad..3c585ca5e6a 100644 --- a/content/snippets/js/s/has-decimals.md +++ b/content/snippets/js/s/has-decimals.md @@ -3,7 +3,6 @@ title: Number has decimal digits type: snippet language: javascript tags: [math] -author: chalarangelo cover: man-cup-laptop dateModified: 2022-05-13 --- diff --git a/content/snippets/js/s/hash-sha-256.md b/content/snippets/js/s/hash-sha-256.md index bdd7e787461..b2b7b7fea00 100644 --- a/content/snippets/js/s/hash-sha-256.md +++ b/content/snippets/js/s/hash-sha-256.md @@ -4,7 +4,6 @@ shortTitle: SHA-256 hash type: story language: javascript tags: [browser,node,promise] -author: chalarangelo cover: padlocks excerpt: Calculate a SHA-256 hash in JavaScript using native APIs in both the browser and Node.js. dateModified: 2023-10-07 diff --git a/content/snippets/js/s/heapsort.md b/content/snippets/js/s/heapsort.md index 562b0e81d96..fc90e4328a8 100644 --- a/content/snippets/js/s/heapsort.md +++ b/content/snippets/js/s/heapsort.md @@ -3,7 +3,6 @@ title: Heap sort type: snippet language: javascript tags: [algorithm,array,recursion] -author: chalarangelo cover: building-blocks dateModified: 2020-12-28 --- diff --git a/content/snippets/js/s/higher-order-functions.md b/content/snippets/js/s/higher-order-functions.md index 62c59e332fc..44eccfdadbe 100644 --- a/content/snippets/js/s/higher-order-functions.md +++ b/content/snippets/js/s/higher-order-functions.md @@ -4,7 +4,6 @@ shortTitle: Higher-order functions type: story language: javascript tags: [function] -author: chalarangelo cover: rock-climbing excerpt: Learn everything you need to know about higher-order functions with this short guide and level up your programming skills. dateModified: 2021-11-07 diff --git a/content/snippets/js/s/iife.md b/content/snippets/js/s/iife.md index a5c0cb93dac..b6b2d7bb401 100644 --- a/content/snippets/js/s/iife.md +++ b/content/snippets/js/s/iife.md @@ -4,7 +4,6 @@ shortTitle: IIFE introduction type: question language: javascript tags: [function] -author: chalarangelo cover: tropical-waterfall excerpt: An Immediately Invoked Function Expression (IIFE) is a JavaScript trick that trips up many developers. Here's what you need to know. dateModified: 2021-06-14 diff --git a/content/snippets/js/s/immutable-object-proxy.md b/content/snippets/js/s/immutable-object-proxy.md index 18f6e4d86ad..496ac6d3a13 100644 --- a/content/snippets/js/s/immutable-object-proxy.md +++ b/content/snippets/js/s/immutable-object-proxy.md @@ -4,7 +4,6 @@ shortTitle: Immutable objects using Proxy type: story language: javascript tags: [object,proxy] -author: chalarangelo cover: frozen-globe excerpt: Freezing objects is not the only way to prevent mutations. Learn how you can leverage the Proxy object to your advantage. dateModified: 2022-04-10 diff --git a/content/snippets/js/s/includes-case-insensitive.md b/content/snippets/js/s/includes-case-insensitive.md index 4adc7246283..761cca9eeb3 100644 --- a/content/snippets/js/s/includes-case-insensitive.md +++ b/content/snippets/js/s/includes-case-insensitive.md @@ -3,7 +3,6 @@ title: Case-insensitive substring search type: snippet language: javascript tags: [string] -author: chalarangelo cover: cup-of-orange dateModified: 2022-07-28 --- diff --git a/content/snippets/js/s/index-for-of-loop.md b/content/snippets/js/s/index-for-of-loop.md index 71a34246ac3..d7a6bb66cc4 100644 --- a/content/snippets/js/s/index-for-of-loop.md +++ b/content/snippets/js/s/index-for-of-loop.md @@ -4,7 +4,6 @@ shortTitle: Array index in for...of loops type: tip language: javascript tags: [array,iterator] -author: chalarangelo cover: cave-view excerpt: Did you know you can get the index of an array item in a JavaScript for...of loop? Learn how with this bite-sized tip. dateModified: 2021-07-25 diff --git a/content/snippets/js/s/index-of-substrings.md b/content/snippets/js/s/index-of-substrings.md index 71bd0e22d74..71ff55b4467 100644 --- a/content/snippets/js/s/index-of-substrings.md +++ b/content/snippets/js/s/index-of-substrings.md @@ -3,7 +3,6 @@ title: Index of substrings type: snippet language: javascript tags: [string,algorithm,generator] -author: chalarangelo cover: armchair-in-yellow dateModified: 2020-12-31 --- diff --git a/content/snippets/js/s/initialize-array-until.md b/content/snippets/js/s/initialize-array-until.md index 6fc9ebe6000..7dd881ddc78 100644 --- a/content/snippets/js/s/initialize-array-until.md +++ b/content/snippets/js/s/initialize-array-until.md @@ -3,7 +3,6 @@ title: Initialize array until type: snippet language: javascript tags: [array] -author: chalarangelo cover: neon-desk-2 dateModified: 2023-06-22 --- diff --git a/content/snippets/js/s/initialize-array-while.md b/content/snippets/js/s/initialize-array-while.md index 9ed13c56a0c..571bf063249 100644 --- a/content/snippets/js/s/initialize-array-while.md +++ b/content/snippets/js/s/initialize-array-while.md @@ -3,7 +3,6 @@ title: Initialize array while type: snippet language: javascript tags: [array] -author: chalarangelo cover: neon-desk-1 dateModified: 2023-06-20 --- diff --git a/content/snippets/js/s/initialize-array-with-values.md b/content/snippets/js/s/initialize-array-with-values.md index cdc25f0cabe..c3f301c0584 100644 --- a/content/snippets/js/s/initialize-array-with-values.md +++ b/content/snippets/js/s/initialize-array-with-values.md @@ -3,7 +3,6 @@ title: Initialize array with values type: snippet language: javascript tags: [array] -author: chalarangelo cover: flower-portrait-1 dateModified: 2020-10-20 --- diff --git a/content/snippets/js/s/initialize-mapped-array.md b/content/snippets/js/s/initialize-mapped-array.md index ff6663a7f27..6f9f6483108 100644 --- a/content/snippets/js/s/initialize-mapped-array.md +++ b/content/snippets/js/s/initialize-mapped-array.md @@ -3,7 +3,6 @@ title: Initialize mapped array type: snippet language: javascript tags: [array] -author: chalarangelo cover: yellow-shoes dateModified: 2023-06-13 --- diff --git a/content/snippets/js/s/insert-value-at-array-index.md b/content/snippets/js/s/insert-value-at-array-index.md index b7f0a41cbf3..25f7ec68fe9 100644 --- a/content/snippets/js/s/insert-value-at-array-index.md +++ b/content/snippets/js/s/insert-value-at-array-index.md @@ -3,7 +3,6 @@ title: Insert value at array index type: snippet language: javascript tags: [array] -author: chalarangelo cover: messy-papers dateModified: 2020-10-20 --- diff --git a/content/snippets/js/s/insertion-sort.md b/content/snippets/js/s/insertion-sort.md index e6d14975d03..b300cfc19a4 100644 --- a/content/snippets/js/s/insertion-sort.md +++ b/content/snippets/js/s/insertion-sort.md @@ -3,7 +3,6 @@ title: Insertion sort type: snippet language: javascript tags: [algorithm,array] -author: chalarangelo cover: white-tablet-2 dateModified: 2020-12-28 --- diff --git a/content/snippets/js/s/is-async-function.md b/content/snippets/js/s/is-async-function.md index 4f910f657bc..e141403f166 100644 --- a/content/snippets/js/s/is-async-function.md +++ b/content/snippets/js/s/is-async-function.md @@ -3,7 +3,6 @@ title: Value is async function type: snippet language: javascript tags: [type,function] -author: chalarangelo cover: interior-12 dateModified: 2020-10-20 --- diff --git a/content/snippets/js/s/is-generator-function.md b/content/snippets/js/s/is-generator-function.md index 65bec69ef0b..eec18819ff2 100644 --- a/content/snippets/js/s/is-generator-function.md +++ b/content/snippets/js/s/is-generator-function.md @@ -3,7 +3,6 @@ title: Value is generator function type: snippet language: javascript tags: [type,function] -author: chalarangelo cover: interior-4 dateModified: 2020-10-20 --- diff --git a/content/snippets/js/s/is-iso-formatted-date.md b/content/snippets/js/s/is-iso-formatted-date.md index e211667adfb..9ac7379f283 100644 --- a/content/snippets/js/s/is-iso-formatted-date.md +++ b/content/snippets/js/s/is-iso-formatted-date.md @@ -3,7 +3,6 @@ title: String is ISO formatted date type: snippet language: javascript tags: [date] -author: chalarangelo cover: icebreaker dateModified: 2020-11-29 --- diff --git a/content/snippets/js/s/is-local-storage-enabled.md b/content/snippets/js/s/is-local-storage-enabled.md index a1405630ddc..3425ca012b0 100644 --- a/content/snippets/js/s/is-local-storage-enabled.md +++ b/content/snippets/js/s/is-local-storage-enabled.md @@ -3,7 +3,6 @@ title: Check if localStorage is enabled type: snippet language: javascript tags: [browser] -author: chalarangelo cover: guitar-living-room dateModified: 2020-12-31 --- diff --git a/content/snippets/js/s/is-power-of-ten.md b/content/snippets/js/s/is-power-of-ten.md index e006e906b65..088e4619785 100644 --- a/content/snippets/js/s/is-power-of-ten.md +++ b/content/snippets/js/s/is-power-of-ten.md @@ -3,7 +3,6 @@ title: Number is power of ten type: snippet language: javascript tags: [math] -author: chalarangelo cover: boulder-beach dateModified: 2021-01-06 --- diff --git a/content/snippets/js/s/is-power-of-two.md b/content/snippets/js/s/is-power-of-two.md index d1a6afc49fb..8258f6e008f 100644 --- a/content/snippets/js/s/is-power-of-two.md +++ b/content/snippets/js/s/is-power-of-two.md @@ -3,7 +3,6 @@ title: Number is power of two type: snippet language: javascript tags: [math] -author: chalarangelo cover: flower-portrait-10 dateModified: 2020-10-20 --- diff --git a/content/snippets/js/s/is-same-origin.md b/content/snippets/js/s/is-same-origin.md index 245b287c090..0bdb7cc8e51 100644 --- a/content/snippets/js/s/is-same-origin.md +++ b/content/snippets/js/s/is-same-origin.md @@ -3,7 +3,6 @@ title: Same-origin URLs type: snippet language: javascript tags: [browser] -author: chalarangelo cover: leafy-screens dateModified: 2021-04-22 --- diff --git a/content/snippets/js/s/is-session-storage-enabled.md b/content/snippets/js/s/is-session-storage-enabled.md index e1ff70f96c1..f928649d121 100644 --- a/content/snippets/js/s/is-session-storage-enabled.md +++ b/content/snippets/js/s/is-session-storage-enabled.md @@ -3,7 +3,6 @@ title: Check if sessionStorage is enabled type: snippet language: javascript tags: [browser] -author: chalarangelo cover: flower-camera dateModified: 2020-12-31 --- diff --git a/content/snippets/js/s/iterable-to-array.md b/content/snippets/js/s/iterable-to-array.md index c37345a2245..9ed4b0f3ba6 100644 --- a/content/snippets/js/s/iterable-to-array.md +++ b/content/snippets/js/s/iterable-to-array.md @@ -4,7 +4,6 @@ shortTitle: Iterable to array type: question language: javascript tags: [object,array,string] -author: chalarangelo cover: waves excerpt: Learn how to use the JavaScript ES6 spread syntax to converting iterables to arrays and level up your code today. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/iterators.md b/content/snippets/js/s/iterators.md index 3760e193aa2..b888660e3d6 100644 --- a/content/snippets/js/s/iterators.md +++ b/content/snippets/js/s/iterators.md @@ -4,7 +4,6 @@ shortTitle: JavaScript iterators introduction type: question language: javascript tags: [array,object,iterator] -author: chalarangelo cover: balloons excerpt: Learn how JavaScript's iterators work and how you can use them to level up your projects by understanding these short code examples. dateModified: 2021-09-26 diff --git a/content/snippets/js/s/jest-mock-global-methods.md b/content/snippets/js/s/jest-mock-global-methods.md index 5c560091507..193607e9241 100644 --- a/content/snippets/js/s/jest-mock-global-methods.md +++ b/content/snippets/js/s/jest-mock-global-methods.md @@ -3,7 +3,6 @@ title: Mocking global object methods in Jest type: story language: javascript tags: [testing] -author: chalarangelo cover: trippy-chemicals excerpt: Testing your code is important, but mocking can be tricky at times. Here's a quick guide on how to mock global object methods in Jest. dateModified: 2022-03-27 diff --git a/content/snippets/js/s/json-stringify-pick-keys.md b/content/snippets/js/s/json-stringify-pick-keys.md index 88a0bea6c29..3b7de125da1 100644 --- a/content/snippets/js/s/json-stringify-pick-keys.md +++ b/content/snippets/js/s/json-stringify-pick-keys.md @@ -4,7 +4,6 @@ shortTitle: Selective property serialization type: tip language: javascript tags: [object,json] -author: chalarangelo cover: coffee-drip excerpt: Have you ever wanted to serialize an object but only include certain keys? Turns out JavaScript provides an easy way to do this! dateModified: 2021-07-06 diff --git a/content/snippets/js/s/k-means.md b/content/snippets/js/s/k-means.md index cf3174a2154..4d5db91cc7a 100644 --- a/content/snippets/js/s/k-means.md +++ b/content/snippets/js/s/k-means.md @@ -3,7 +3,6 @@ title: K-means clustering type: snippet language: javascript tags: [algorithm,array] -author: chalarangelo cover: antelope dateModified: 2020-12-29 --- diff --git a/content/snippets/js/s/k-nearest-neighbors.md b/content/snippets/js/s/k-nearest-neighbors.md index f5513a831bb..0634eac2feb 100644 --- a/content/snippets/js/s/k-nearest-neighbors.md +++ b/content/snippets/js/s/k-nearest-neighbors.md @@ -3,7 +3,6 @@ title: K-nearest neighbors type: snippet language: javascript tags: [algorithm,array] -author: chalarangelo cover: building-blocks dateModified: 2021-10-13 --- diff --git a/content/snippets/js/s/last-element-of-array.md b/content/snippets/js/s/last-element-of-array.md index b2b862030a7..49d7ea72a74 100644 --- a/content/snippets/js/s/last-element-of-array.md +++ b/content/snippets/js/s/last-element-of-array.md @@ -4,7 +4,6 @@ shortTitle: Last element of array type: tip language: javascript tags: [array] -author: chalarangelo cover: purple-laptop excerpt: Array destructuring can be leveraged in many different ways. Here's one of them. dateModified: 2022-08-28 diff --git a/content/snippets/js/s/left-substring-generator.md b/content/snippets/js/s/left-substring-generator.md index 4e094a60f35..76bbd49f99d 100644 --- a/content/snippets/js/s/left-substring-generator.md +++ b/content/snippets/js/s/left-substring-generator.md @@ -4,7 +4,6 @@ type: snippet language: javascript tags: [string,generator] cover: boutique-home-office-1 -author: chalarangelo dateModified: 2022-07-24 --- diff --git a/content/snippets/js/s/levenshtein-distance.md b/content/snippets/js/s/levenshtein-distance.md index 7a5c9483e2c..b6d671855a0 100644 --- a/content/snippets/js/s/levenshtein-distance.md +++ b/content/snippets/js/s/levenshtein-distance.md @@ -3,7 +3,6 @@ title: Levenshtein distance type: snippet language: javascript tags: [string,algorithm] -author: chalarangelo cover: purple-sunset-waves dateModified: 2020-12-29 --- diff --git a/content/snippets/js/s/listen-once.md b/content/snippets/js/s/listen-once.md index 298b049642f..bd9b7107485 100644 --- a/content/snippets/js/s/listen-once.md +++ b/content/snippets/js/s/listen-once.md @@ -3,7 +3,6 @@ title: Listen for an event only once type: snippet language: javascript tags: [browser,event] -author: chalarangelo cover: fruit-feast dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/listify.md b/content/snippets/js/s/listify.md index 97c611fb79b..16cb55ae78f 100644 --- a/content/snippets/js/s/listify.md +++ b/content/snippets/js/s/listify.md @@ -3,7 +3,6 @@ title: Map an object to an array type: snippet language: javascript tags: [object,array] -author: chalarangelo cover: metro-arrival dateModified: 2023-02-05 --- diff --git a/content/snippets/js/s/locale-sensitive-string-truncation.md b/content/snippets/js/s/locale-sensitive-string-truncation.md index 97a9b741f48..802221eaf5e 100644 --- a/content/snippets/js/s/locale-sensitive-string-truncation.md +++ b/content/snippets/js/s/locale-sensitive-string-truncation.md @@ -4,7 +4,6 @@ shortTitle: Locale-sensitive string truncation type: question language: javascript tags: [string] -author: chalarangelo cover: reflection-on-lake excerpt: Locale-sensitive string splitting and truncation are finally possible in JavaScript. dateModified: 2022-12-04 diff --git a/content/snippets/js/s/lowerize.md b/content/snippets/js/s/lowerize.md index dbbaf43627f..ed7f5e2e0b7 100644 --- a/content/snippets/js/s/lowerize.md +++ b/content/snippets/js/s/lowerize.md @@ -3,7 +3,6 @@ title: Lowercase object keys type: snippet language: javascript tags: [object] -author: chalarangelo cover: building-facade dateModified: 2023-02-12 --- diff --git a/content/snippets/js/s/make-iterable.md b/content/snippets/js/s/make-iterable.md index 129868a06bf..9954de201be 100644 --- a/content/snippets/js/s/make-iterable.md +++ b/content/snippets/js/s/make-iterable.md @@ -4,7 +4,6 @@ shortTitle: Make any value iterable type: tip language: javascript tags: [array,iterator,generator] -author: chalarangelo cover: rain-shopping excerpt: Did you know you can define an iterator for any JavaScript value? This quick tip will show you how. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/map-consecutive-elements.md b/content/snippets/js/s/map-consecutive-elements.md index 2ae74f0bc27..3aa361e579d 100644 --- a/content/snippets/js/s/map-consecutive-elements.md +++ b/content/snippets/js/s/map-consecutive-elements.md @@ -3,7 +3,6 @@ title: Map consecutive elements type: snippet language: javascript tags: [array] -author: chalarangelo cover: cold-mountains dateModified: 2021-08-08 --- diff --git a/content/snippets/js/s/map-vs-object.md b/content/snippets/js/s/map-vs-object.md index 9f9f0fa2fbc..883e92d0d39 100644 --- a/content/snippets/js/s/map-vs-object.md +++ b/content/snippets/js/s/map-vs-object.md @@ -4,7 +4,6 @@ shortTitle: Maps vs objects type: question language: javascript tags: [object] -author: chalarangelo cover: tent-stars excerpt: Maps and objects are very similar, but they have some differences that can help you decide which one better fits your use-case. dateModified: 2022-02-13 diff --git a/content/snippets/js/s/max-subarray.md b/content/snippets/js/s/max-subarray.md index 1b88bf9fbbb..67c3fb830a4 100644 --- a/content/snippets/js/s/max-subarray.md +++ b/content/snippets/js/s/max-subarray.md @@ -3,7 +3,6 @@ title: Maximum subarray type: snippet language: javascript tags: [algorithm,math,array] -author: chalarangelo cover: work-hard-computer dateModified: 2022-09-07 --- diff --git a/content/snippets/js/s/memoization.md b/content/snippets/js/s/memoization.md index 02a847e3dad..8dcbf409b99 100644 --- a/content/snippets/js/s/memoization.md +++ b/content/snippets/js/s/memoization.md @@ -4,7 +4,6 @@ shortTitle: Memoization introduction type: question language: javascript tags: [function,memoization] -author: chalarangelo cover: cherry-trees excerpt: Learn different ways to memoize function calls in JavaScript as well as when to use memoization to get the best performance results. dateModified: 2021-11-07 diff --git a/content/snippets/js/s/merge-arrays.md b/content/snippets/js/s/merge-arrays.md index 2fc8b535aad..beef35d06bc 100644 --- a/content/snippets/js/s/merge-arrays.md +++ b/content/snippets/js/s/merge-arrays.md @@ -4,7 +4,6 @@ shortTitle: Merge arrays type: question language: javascript tags: [array] -author: chalarangelo cover: arrays excerpt: Arrays are one of the most used data types in any programming language. Learn how to merge two arrays in JavaScript with this short guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/modify-url-without-reload.md b/content/snippets/js/s/modify-url-without-reload.md index 35b3f88e254..218bb52b6d9 100644 --- a/content/snippets/js/s/modify-url-without-reload.md +++ b/content/snippets/js/s/modify-url-without-reload.md @@ -4,7 +4,6 @@ shortTitle: Modify URL without reloading type: question language: javascript tags: [browser] -author: chalarangelo cover: compass excerpt: Learn all of the options JavaScript provides for modifying the URL of the current page in the browser without reloading the page. dateModified: 2021-09-27 diff --git a/content/snippets/js/s/module-cheatsheet.md b/content/snippets/js/s/module-cheatsheet.md index bc62d1700b6..f4bb20a7845 100644 --- a/content/snippets/js/s/module-cheatsheet.md +++ b/content/snippets/js/s/module-cheatsheet.md @@ -3,7 +3,6 @@ title: JavaScript modules Cheat Sheet type: cheatsheet language: javascript tags: [cheatsheet] -author: chalarangelo cover: mountain-lake-2 excerpt: Learn everything you need to know about JavaScript modules with this handy cheatsheet. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/most-frequent-array-element.md b/content/snippets/js/s/most-frequent-array-element.md index 7c9471de156..a97f0b529d1 100644 --- a/content/snippets/js/s/most-frequent-array-element.md +++ b/content/snippets/js/s/most-frequent-array-element.md @@ -3,7 +3,6 @@ title: Most frequent element in array type: snippet language: javascript tags: [array] -author: chalarangelo cover: clock dateModified: 2020-09-15 --- diff --git a/content/snippets/js/s/n-min-max-elements-in-array.md b/content/snippets/js/s/n-min-max-elements-in-array.md index 0b490d7510e..7d8d1645930 100644 --- a/content/snippets/js/s/n-min-max-elements-in-array.md +++ b/content/snippets/js/s/n-min-max-elements-in-array.md @@ -4,7 +4,6 @@ shortTitle: N min or max elements of an array type: tip language: javascript tags: [math,array] -author: chalarangelo cover: digital-nomad-15 excerpt: Find the `n` minimum or maximum elements in a JavaScript array quickly and easily. dateModified: 2023-10-05 diff --git a/content/snippets/js/s/naming-conventions.md b/content/snippets/js/s/naming-conventions.md index 9d1394ebd17..891b01a619b 100644 --- a/content/snippets/js/s/naming-conventions.md +++ b/content/snippets/js/s/naming-conventions.md @@ -4,7 +4,6 @@ shortTitle: Naming conventions type: story language: javascript tags: [variable,cheatsheet] -author: chalarangelo cover: naming-conventions excerpt: Naming conventions make code easier to read and understand. Learn how to name your variables in JavaScript with this handy guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/native-data-structures.md b/content/snippets/js/s/native-data-structures.md index 10fce8ca03e..1dc7fb3b7ef 100644 --- a/content/snippets/js/s/native-data-structures.md +++ b/content/snippets/js/s/native-data-structures.md @@ -4,7 +4,6 @@ shortTitle: Native Data Structures type: story language: javascript tags: [array] -author: chalarangelo cover: purple-flower-macro-2 excerpt: JavaScript provides a handful of native data structures that you can start using in your code right now. dateModified: 2021-09-05 diff --git a/content/snippets/js/s/nodejs-chrome-debugging.md b/content/snippets/js/s/nodejs-chrome-debugging.md index e417bb56380..2b071b8e9e7 100644 --- a/content/snippets/js/s/nodejs-chrome-debugging.md +++ b/content/snippets/js/s/nodejs-chrome-debugging.md @@ -4,7 +4,6 @@ shortTitle: Debug Node.js with Chrome Developer Tools type: tip language: javascript tags: [node,debugging] -author: chalarangelo cover: bug excerpt: Did you know you can use Chrome Developer Tools to debug your Node.js code? Find out how in this short guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/nodejs-static-file-server.md b/content/snippets/js/s/nodejs-static-file-server.md index f421c010857..8603de3f65c 100644 --- a/content/snippets/js/s/nodejs-static-file-server.md +++ b/content/snippets/js/s/nodejs-static-file-server.md @@ -4,7 +4,6 @@ shortTitle: Node.js static file server type: story language: javascript tags: [node,server] -author: chalarangelo cover: man-cup-laptop excerpt: Create your own static file server with Node.js in just 70 lines of code. dateModified: 2022-06-05 diff --git a/content/snippets/js/s/nodejs-test-module-introduction.md b/content/snippets/js/s/nodejs-test-module-introduction.md index 7d4d2528f71..27432c79001 100644 --- a/content/snippets/js/s/nodejs-test-module-introduction.md +++ b/content/snippets/js/s/nodejs-test-module-introduction.md @@ -4,7 +4,6 @@ shortTitle: Node.js test module introduction type: story language: javascript tags: [node,testing] -author: chalarangelo cover: contemporary-desk excerpt: The Node.js test module is a new testing tool that's still in its early stages. Learn more about it in this short introduction. dateModified: 2023-04-30 diff --git a/content/snippets/js/s/normalize-line-endings.md b/content/snippets/js/s/normalize-line-endings.md index f563a8867a1..c4c3471f103 100644 --- a/content/snippets/js/s/normalize-line-endings.md +++ b/content/snippets/js/s/normalize-line-endings.md @@ -3,7 +3,6 @@ title: Normalize line endings type: snippet language: javascript tags: [string,regexp] -author: chalarangelo cover: red-light dateModified: 2020-10-21 --- diff --git a/content/snippets/js/s/nth-number-root.md b/content/snippets/js/s/nth-number-root.md index 2c64f6b1047..5037a3afc71 100644 --- a/content/snippets/js/s/nth-number-root.md +++ b/content/snippets/js/s/nth-number-root.md @@ -3,7 +3,6 @@ title: Nth root of number type: snippet language: javascript tags: [math] -author: chalarangelo cover: tree-roots dateModified: 2021-01-06 --- diff --git a/content/snippets/js/s/nullish-coalescing-optional-chaining.md b/content/snippets/js/s/nullish-coalescing-optional-chaining.md index 7389ab0e941..b79241be120 100644 --- a/content/snippets/js/s/nullish-coalescing-optional-chaining.md +++ b/content/snippets/js/s/nullish-coalescing-optional-chaining.md @@ -4,7 +4,6 @@ shortTitle: Optional chaining and nullish coalescing type: question language: javascript tags: [type] -author: chalarangelo cover: purple-leaves excerpt: JavaScript ES2020 introduced optional chaining and nullish coalescing. Learn everything you need to know with this quick guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/number-is-even-odd.md b/content/snippets/js/s/number-is-even-odd.md index 6c6f00991ba..2f64cfdf06d 100644 --- a/content/snippets/js/s/number-is-even-odd.md +++ b/content/snippets/js/s/number-is-even-odd.md @@ -4,7 +4,6 @@ shortTitle: Check if a number is even or odd type: question language: javascript tags: [math] -author: chalarangelo cover: by-the-lighthouse excerpt: Check if a number is even or odd using JavaScript using the modulo operator or bitwise AND operator. dateModified: 2023-10-06 diff --git a/content/snippets/js/s/number-to-optional-fixed.md b/content/snippets/js/s/number-to-optional-fixed.md index 38296f299d0..fb847adf236 100644 --- a/content/snippets/js/s/number-to-optional-fixed.md +++ b/content/snippets/js/s/number-to-optional-fixed.md @@ -3,7 +3,6 @@ title: Number to fixed-point notation without trailing zeros type: snippet language: javascript tags: [math,string] -author: chalarangelo cover: white-chapel dateModified: 2022-05-10 --- diff --git a/content/snippets/js/s/numeric-separator.md b/content/snippets/js/s/numeric-separator.md index 95f6c4db689..c525ec5b060 100644 --- a/content/snippets/js/s/numeric-separator.md +++ b/content/snippets/js/s/numeric-separator.md @@ -4,7 +4,6 @@ shortTitle: Numeric separators explained type: story language: javascript tags: [math,type] -author: chalarangelo cover: coffee-drip excerpt: Numeric separators are a somewhat lesser-known JavaScript syntactic sugar that can make working with large constants a lot easier. dateModified: 2021-06-27 diff --git a/content/snippets/js/s/object-array-proxy.md b/content/snippets/js/s/object-array-proxy.md index f871a856d37..5ff9d63256c 100644 --- a/content/snippets/js/s/object-array-proxy.md +++ b/content/snippets/js/s/object-array-proxy.md @@ -4,7 +4,6 @@ shortTitle: Object as array type: question language: javascript tags: [object,array,proxy,iterator,pattern] -author: chalarangelo cover: birds excerpt: Learn how you can leverage the Proxy object to use a JavaScript object the same way as you would use a regular array. dateModified: 2021-09-27 diff --git a/content/snippets/js/s/object-comparison.md b/content/snippets/js/s/object-comparison.md index 6f2ca8913d4..de32ba60dc0 100644 --- a/content/snippets/js/s/object-comparison.md +++ b/content/snippets/js/s/object-comparison.md @@ -4,7 +4,6 @@ shortTitle: Object comparison type: question language: javascript tags: [object,comparison] -author: chalarangelo cover: blue-lake excerpt: Learn how you can compare two objects in JavaScript using various different techniques. dateModified: 2021-09-26 diff --git a/content/snippets/js/s/object-freeze-vs-seal.md b/content/snippets/js/s/object-freeze-vs-seal.md index 976a1dc4894..d8a2abc1f74 100644 --- a/content/snippets/js/s/object-freeze-vs-seal.md +++ b/content/snippets/js/s/object-freeze-vs-seal.md @@ -4,7 +4,6 @@ shortTitle: Object.freeze() vs Object.seal() type: question language: javascript tags: [object] -author: chalarangelo cover: frozen-globe excerpt: Both `Object.freeze()` and `Object.seal()` serve a similar purpose, but there's one key difference you need to remember. dateModified: 2022-02-06 diff --git a/content/snippets/js/s/object-has-key.md b/content/snippets/js/s/object-has-key.md index 2afce1f9da9..784baf6407f 100644 --- a/content/snippets/js/s/object-has-key.md +++ b/content/snippets/js/s/object-has-key.md @@ -3,7 +3,6 @@ title: Check if object has key type: snippet language: javascript tags: [object] -author: chalarangelo cover: cloudy-mountaintop dateModified: 2020-10-19 --- diff --git a/content/snippets/js/s/object-has-value.md b/content/snippets/js/s/object-has-value.md index 706e60e035a..ce035ac952a 100644 --- a/content/snippets/js/s/object-has-value.md +++ b/content/snippets/js/s/object-has-value.md @@ -3,7 +3,6 @@ title: Check if object has value type: snippet language: javascript tags: [object] -author: chalarangelo cover: plant-corner dateModified: 2023-04-10 --- diff --git a/content/snippets/js/s/object-is-triple-equals.md b/content/snippets/js/s/object-is-triple-equals.md index 8816f76a453..7297b045407 100644 --- a/content/snippets/js/s/object-is-triple-equals.md +++ b/content/snippets/js/s/object-is-triple-equals.md @@ -4,7 +4,6 @@ shortTitle: Object.is() vs triple equals operator type: question language: javascript tags: [object,type] -author: chalarangelo cover: rocky-mountains excerpt: "`Object.is()` and the triple equals operator (`===`) can both be used for equality checking in JavaScript, but when should you use each one?" dateModified: 2021-06-12 diff --git a/content/snippets/js/s/object-to-entries.md b/content/snippets/js/s/object-to-entries.md index 8ad13f2eb33..c6434a8dede 100644 --- a/content/snippets/js/s/object-to-entries.md +++ b/content/snippets/js/s/object-to-entries.md @@ -3,7 +3,6 @@ title: Object to entries type: snippet language: javascript tags: [object,array] -author: chalarangelo cover: zen-indoors dateModified: 2020-09-15 --- diff --git a/content/snippets/js/s/object-to-pairs.md b/content/snippets/js/s/object-to-pairs.md index 46a44ae616a..f9f6e656021 100644 --- a/content/snippets/js/s/object-to-pairs.md +++ b/content/snippets/js/s/object-to-pairs.md @@ -3,7 +3,6 @@ title: Object to pairs type: snippet language: javascript tags: [object,array] -author: chalarangelo cover: dreamy-flowers dateModified: 2020-09-15 --- diff --git a/content/snippets/js/s/objectify.md b/content/snippets/js/s/objectify.md index 7fd68a33897..2a2a6785153 100644 --- a/content/snippets/js/s/objectify.md +++ b/content/snippets/js/s/objectify.md @@ -3,7 +3,6 @@ title: Map an array to an object type: snippet language: javascript tags: [array,object] -author: chalarangelo cover: metro-tunnel dateModified: 2023-02-04 --- diff --git a/content/snippets/js/s/on-click-outside.md b/content/snippets/js/s/on-click-outside.md index 3263e00e503..c89a17778b3 100644 --- a/content/snippets/js/s/on-click-outside.md +++ b/content/snippets/js/s/on-click-outside.md @@ -3,7 +3,6 @@ title: Handle click outside type: snippet language: javascript tags: [browser,event] -author: chalarangelo cover: interior-13 dateModified: 2021-01-06 --- diff --git a/content/snippets/js/s/on-scroll-stop.md b/content/snippets/js/s/on-scroll-stop.md index 0b887a37008..7f5b58188f3 100644 --- a/content/snippets/js/s/on-scroll-stop.md +++ b/content/snippets/js/s/on-scroll-stop.md @@ -3,7 +3,6 @@ title: Handle scroll stop type: snippet language: javascript tags: [browser,event] -author: chalarangelo cover: half-trees dateModified: 2021-01-07 --- diff --git a/content/snippets/js/s/partial-sum-array.md b/content/snippets/js/s/partial-sum-array.md index 4193b7e6cf6..54d83f8d616 100644 --- a/content/snippets/js/s/partial-sum-array.md +++ b/content/snippets/js/s/partial-sum-array.md @@ -3,7 +3,6 @@ title: Partial sum array type: snippet language: javascript tags: [math] -author: chalarangelo cover: people-on-beach dateModified: 2022-01-30 --- diff --git a/content/snippets/js/s/pass-by-reference-or-pass-by-value.md b/content/snippets/js/s/pass-by-reference-or-pass-by-value.md index 62ecdf47fd1..9831d9e66f0 100644 --- a/content/snippets/js/s/pass-by-reference-or-pass-by-value.md +++ b/content/snippets/js/s/pass-by-reference-or-pass-by-value.md @@ -4,7 +4,6 @@ shortTitle: Pass-by-value or pass-by-reference type: question language: javascript tags: [function,object] -author: chalarangelo cover: baloons-field excerpt: How JavaScript handles passing data is a source of confusion and bugs for many developers, especially when it comes to object types. dateModified: 2021-12-05 diff --git a/content/snippets/js/s/passive-scroll-listener-performance.md b/content/snippets/js/s/passive-scroll-listener-performance.md index d3fe698df8c..7aabba26c69 100644 --- a/content/snippets/js/s/passive-scroll-listener-performance.md +++ b/content/snippets/js/s/passive-scroll-listener-performance.md @@ -4,7 +4,6 @@ shortTitle: Improve scroll listener performance type: tip language: javascript tags: [browser,event] -author: chalarangelo cover: chill-surfing excerpt: Scroll listeners can easily become a performance bottleneck for your web application. Here's how to fix that. dateModified: 2023-03-07 diff --git a/content/snippets/js/s/prefers-dark-color-scheme.md b/content/snippets/js/s/prefers-dark-color-scheme.md index 49b0cbe1152..972dfeb7744 100644 --- a/content/snippets/js/s/prefers-dark-color-scheme.md +++ b/content/snippets/js/s/prefers-dark-color-scheme.md @@ -3,7 +3,6 @@ title: User prefers dark color scheme type: snippet language: javascript tags: [browser] -author: chalarangelo cover: hiking-walking dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/prefers-light-color-scheme.md b/content/snippets/js/s/prefers-light-color-scheme.md index 0cb5ade62a3..13853acb9a6 100644 --- a/content/snippets/js/s/prefers-light-color-scheme.md +++ b/content/snippets/js/s/prefers-light-color-scheme.md @@ -3,7 +3,6 @@ title: User prefers light color scheme type: snippet language: javascript tags: [browser] -author: chalarangelo cover: dark-mode dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/prefix-postfix-operators.md b/content/snippets/js/s/prefix-postfix-operators.md index 36a41088dae..80a0d1126e6 100644 --- a/content/snippets/js/s/prefix-postfix-operators.md +++ b/content/snippets/js/s/prefix-postfix-operators.md @@ -4,7 +4,6 @@ shortTitle: Prefix and postfix operators type: question language: javascript tags: [math] -author: chalarangelo cover: plant-candle excerpt: While both the prefix and postfix operators increment a value, the resulting value of the expression is very different. dateModified: 2021-10-31 diff --git a/content/snippets/js/s/pretty-print-json.md b/content/snippets/js/s/pretty-print-json.md index 9e2f3381bcb..31b3216f56b 100644 --- a/content/snippets/js/s/pretty-print-json.md +++ b/content/snippets/js/s/pretty-print-json.md @@ -4,7 +4,6 @@ shortTitle: Pretty-print JSON type: tip language: javascript tags: [object,json] -author: chalarangelo cover: memories-of-pineapple-3 excerpt: Pretty-printing JSON objects in pretty easy and customizable in JavaScript. Here's the gist of it. dateModified: 2022-07-30 diff --git a/content/snippets/js/s/prevent-string-being-escaped.md b/content/snippets/js/s/prevent-string-being-escaped.md index 8971a99bd6d..0b82073edee 100644 --- a/content/snippets/js/s/prevent-string-being-escaped.md +++ b/content/snippets/js/s/prevent-string-being-escaped.md @@ -4,7 +4,6 @@ shortTitle: Prevent string escaping type: tip language: javascript tags: [string] -author: chalarangelo cover: glass-blowing excerpt: Strings in JavaScript can be escaped in various ways. But how do you prevent a string from being escaped? Here's a handy trick for that. dateModified: 2021-06-17 diff --git a/content/snippets/js/s/primitive-instanceof.md b/content/snippets/js/s/primitive-instanceof.md index f90b34179bb..6b2031b5722 100644 --- a/content/snippets/js/s/primitive-instanceof.md +++ b/content/snippets/js/s/primitive-instanceof.md @@ -4,7 +4,6 @@ shortTitle: Using instanceof for primitive values type: question language: javascript tags: [type] -author: chalarangelo cover: wooden-bowl excerpt: JavaScript's `instanceof` operator can't be used with primitive values, but there are a some tricks that you can leverage to your advantage. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/promise-then-catch.md b/content/snippets/js/s/promise-then-catch.md index 3b0d67a968b..0de737c342c 100644 --- a/content/snippets/js/s/promise-then-catch.md +++ b/content/snippets/js/s/promise-then-catch.md @@ -3,7 +3,6 @@ title: The order of then and catch matters type: tip language: javascript tags: [function,promise] -author: chalarangelo cover: blue-sunrise excerpt: Messing up the order of chained `then` and `catch` methods in JavaScript promises can cause problems. Here's a short primer on the subject. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/promise-then-finally.md b/content/snippets/js/s/promise-then-finally.md index dc8c51515c5..7bf166a3fcc 100644 --- a/content/snippets/js/s/promise-then-finally.md +++ b/content/snippets/js/s/promise-then-finally.md @@ -4,7 +4,6 @@ shortTitle: Promise then vs finally type: question language: javascript tags: [function,promise] -author: chalarangelo cover: blue-sunrise excerpt: A JavaScript promise's `then` and `finally` methods seem very similar. But there are a few important differences you need to keep in mind. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/promises.md b/content/snippets/js/s/promises.md index 01609355601..e7301f8cf31 100644 --- a/content/snippets/js/s/promises.md +++ b/content/snippets/js/s/promises.md @@ -4,7 +4,6 @@ shortTitle: Promises introduction type: question language: javascript tags: [function,promise] -author: chalarangelo cover: sail-away excerpt: JavaScript's promises represent the eventual completion (or failure) of asynchronous operations and their resulting value. dateModified: 2021-10-24 diff --git a/content/snippets/js/s/property-enumerability.md b/content/snippets/js/s/property-enumerability.md index 8c4efdb7212..55dd114060d 100644 --- a/content/snippets/js/s/property-enumerability.md +++ b/content/snippets/js/s/property-enumerability.md @@ -4,7 +4,6 @@ shortTitle: Property enumerability type: story language: javascript tags: [object] -author: chalarangelo cover: old-consoles excerpt: Property enumerability dictates how JavaScript object properties behave in different scenarios. dateModified: 2022-09-11 diff --git a/content/snippets/js/s/proxy-array-negative-index.md b/content/snippets/js/s/proxy-array-negative-index.md index c5841cdd72f..13bb3ab1fda 100644 --- a/content/snippets/js/s/proxy-array-negative-index.md +++ b/content/snippets/js/s/proxy-array-negative-index.md @@ -4,7 +4,6 @@ shortTitle: Negative index array proxy type: story language: javascript tags: [array,proxy] -author: chalarangelo cover: budapest-palace excerpt: Ever wanted to use negative indices in JavaScript arrays? Here's a simple way to do it using a Proxy. dateModified: 2022-10-02 diff --git a/content/snippets/js/s/proxy-introduction.md b/content/snippets/js/s/proxy-introduction.md index b1bdeee2c06..059e6204bbc 100644 --- a/content/snippets/js/s/proxy-introduction.md +++ b/content/snippets/js/s/proxy-introduction.md @@ -4,7 +4,6 @@ shortTitle: JavaScript Proxy Introduction type: story language: javascript tags: [object,proxy,pattern] -author: chalarangelo cover: red-mountain-range excerpt: A quick introduction to the JavaScript Proxy object and where it can be used. dateModified: 2023-04-02 diff --git a/content/snippets/js/s/pure-functions.md b/content/snippets/js/s/pure-functions.md index 1b2ffc7784e..5e9c61edc81 100644 --- a/content/snippets/js/s/pure-functions.md +++ b/content/snippets/js/s/pure-functions.md @@ -4,7 +4,6 @@ shortTitle: Pure function introduction type: question language: javascript tags: [function] -author: chalarangelo cover: dark-leaves excerpt: Pure functions are a very important concept to know, especially if you're interested in functional programming. dateModified: 2021-12-19 diff --git a/content/snippets/js/s/query-selector-shorthand.md b/content/snippets/js/s/query-selector-shorthand.md index 4138ca6811c..3fa4408e4ad 100644 --- a/content/snippets/js/s/query-selector-shorthand.md +++ b/content/snippets/js/s/query-selector-shorthand.md @@ -4,7 +4,6 @@ shortTitle: Query selector shorthand type: tip language: javascript tags: [browser] -author: chalarangelo cover: pineapple-at-work excerpt: Ever wanted to create your own jquery-like query selector shorthand? Here's how! dateModified: 2021-06-12 diff --git a/content/snippets/js/s/random-boolean.md b/content/snippets/js/s/random-boolean.md index 3a11860b880..fbd87b70eb3 100644 --- a/content/snippets/js/s/random-boolean.md +++ b/content/snippets/js/s/random-boolean.md @@ -3,7 +3,6 @@ title: Random boolean value type: snippet language: javascript tags: [math,random] -author: chalarangelo cover: malibu dateModified: 2021-01-20 --- diff --git a/content/snippets/js/s/random-gauss.md b/content/snippets/js/s/random-gauss.md index a4556424cfc..330ba4e7c86 100644 --- a/content/snippets/js/s/random-gauss.md +++ b/content/snippets/js/s/random-gauss.md @@ -4,7 +4,6 @@ type: snippet language: javascript tags: [math,random] cover: chess-pawns -author: chalarangelo dateModified: 2023-04-03 --- diff --git a/content/snippets/js/s/random-value-pure-functions.md b/content/snippets/js/s/random-value-pure-functions.md index b4c561e243f..4a99cb9a596 100644 --- a/content/snippets/js/s/random-value-pure-functions.md +++ b/content/snippets/js/s/random-value-pure-functions.md @@ -4,7 +4,6 @@ shortTitle: Pure functions & randomness type: story language: javascript tags: [function,random,testing] -author: chalarangelo cover: do-more-computer excerpt: Randomness and pure functions don't seem to go hand in hand. But where there's a will, there's a way. dateModified: 2022-06-19 diff --git a/content/snippets/js/s/range-generator.md b/content/snippets/js/s/range-generator.md index 504057ac2b4..47aaa8f5651 100644 --- a/content/snippets/js/s/range-generator.md +++ b/content/snippets/js/s/range-generator.md @@ -3,7 +3,6 @@ title: Range generator type: snippet language: javascript tags: [function,generator] -author: chalarangelo cover: dark-leaves-6 dateModified: 2020-10-11 --- diff --git a/content/snippets/js/s/recursion.md b/content/snippets/js/s/recursion.md index 0a093bf5e1b..e66d244c820 100644 --- a/content/snippets/js/s/recursion.md +++ b/content/snippets/js/s/recursion.md @@ -4,7 +4,6 @@ shortTitle: Recursion introduction type: question language: javascript tags: [function,recursion] -author: chalarangelo cover: curve excerpt: Recursion is a very important programming concept all developers should be familiar with. dateModified: 2022-01-23 diff --git a/content/snippets/js/s/regexp-cheatsheet.md b/content/snippets/js/s/regexp-cheatsheet.md index 237515acc55..6c5e4506d18 100644 --- a/content/snippets/js/s/regexp-cheatsheet.md +++ b/content/snippets/js/s/regexp-cheatsheet.md @@ -3,7 +3,6 @@ title: Regular Expressions Cheat Sheet type: cheatsheet language: javascript tags: [string,regexp,cheatsheet] -author: chalarangelo cover: tools excerpt: Regular expressions are a very useful tool. Save this cheatsheet for when you need to look up their syntax and speed up your development. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/reload-page.md b/content/snippets/js/s/reload-page.md index a46ff63c2c7..ed0a39f5eb6 100644 --- a/content/snippets/js/s/reload-page.md +++ b/content/snippets/js/s/reload-page.md @@ -4,7 +4,6 @@ shortTitle: Reload page type: story language: javascript tags: [browser] -author: chalarangelo cover: night-tram excerpt: Need to reload the current page using JavaScript? Here's the best way to do it, as well as some alternatives. dateModified: 2023-05-14 diff --git a/content/snippets/js/s/remove-array-duplicates.md b/content/snippets/js/s/remove-array-duplicates.md index ed1c0c305ee..0e281ac006d 100644 --- a/content/snippets/js/s/remove-array-duplicates.md +++ b/content/snippets/js/s/remove-array-duplicates.md @@ -4,7 +4,6 @@ shortTitle: Remove duplicates from an array type: tip language: javascript tags: [array] -author: chalarangelo cover: architectural excerpt: Easily remove duplicates from a JavaScript array using the built-in `Set` object. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/remove-attributes.md b/content/snippets/js/s/remove-attributes.md index e7e7f49a5b5..e5f3df1518d 100644 --- a/content/snippets/js/s/remove-attributes.md +++ b/content/snippets/js/s/remove-attributes.md @@ -4,7 +4,6 @@ type: snippet language: javascript tags: [browser] cover: new-york -author: chalarangelo dateModified: 2022-07-20 --- diff --git a/content/snippets/js/s/remove-class-from-html-element.md b/content/snippets/js/s/remove-class-from-html-element.md index 1cbd5016b6d..38251f2ef67 100644 --- a/content/snippets/js/s/remove-class-from-html-element.md +++ b/content/snippets/js/s/remove-class-from-html-element.md @@ -3,7 +3,6 @@ title: Remove class from HTML element type: snippet language: javascript tags: [browser] -author: chalarangelo cover: bag-waiting dateModified: 2020-12-30 --- diff --git a/content/snippets/js/s/remove-dom-element.md b/content/snippets/js/s/remove-dom-element.md index 6206e20474b..fa8c6435e3e 100644 --- a/content/snippets/js/s/remove-dom-element.md +++ b/content/snippets/js/s/remove-dom-element.md @@ -3,7 +3,6 @@ title: Remove DOM element type: snippet language: javascript tags: [browser] -author: chalarangelo cover: by-the-lighthouse dateModified: 2021-01-07 --- diff --git a/content/snippets/js/s/remove-element-from-array.md b/content/snippets/js/s/remove-element-from-array.md index 35a58e95062..b4083714f91 100644 --- a/content/snippets/js/s/remove-element-from-array.md +++ b/content/snippets/js/s/remove-element-from-array.md @@ -4,7 +4,6 @@ shortTitle: Remove element from array type: story language: javascript tags: [array] -author: chalarangelo cover: maple-leaf-palette excerpt: Did you know there are multiple ways to remove an element from an array? Let's take a look. dateModified: 2022-06-26 diff --git a/content/snippets/js/s/remove-multiple-event-listeners.md b/content/snippets/js/s/remove-multiple-event-listeners.md index 24a717e05e1..7015392c9b1 100644 --- a/content/snippets/js/s/remove-multiple-event-listeners.md +++ b/content/snippets/js/s/remove-multiple-event-listeners.md @@ -3,7 +3,6 @@ title: Remove event listeners from target type: snippet language: javascript tags: [browser,event] -author: chalarangelo cover: snowy-mountains dateModified: 2021-04-22 --- diff --git a/content/snippets/js/s/remove-object-property.md b/content/snippets/js/s/remove-object-property.md index 6992fea592a..08c50bf62a0 100644 --- a/content/snippets/js/s/remove-object-property.md +++ b/content/snippets/js/s/remove-object-property.md @@ -4,7 +4,6 @@ shortTitle: Remove property from object type: question language: javascript tags: [object] -author: chalarangelo cover: brown-bird excerpt: Ever wanted to delete a property from a JavaScript object? Here are a few way you can accomplish that. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/remove-trailing-zeros.md b/content/snippets/js/s/remove-trailing-zeros.md index c13444deb51..f901e4f90d1 100644 --- a/content/snippets/js/s/remove-trailing-zeros.md +++ b/content/snippets/js/s/remove-trailing-zeros.md @@ -4,7 +4,6 @@ shortTitle: Remove trailing zeros from number type: story language: javascript tags: [math] -author: chalarangelo cover: island-corridor excerpt: When formatting decimal values in JavaScript, trailing zeros can be undesired. Here's how to deal with them. dateModified: 2022-05-08 diff --git a/content/snippets/js/s/render-dom-element.md b/content/snippets/js/s/render-dom-element.md index fd1e4b586d0..5a93798a1c3 100644 --- a/content/snippets/js/s/render-dom-element.md +++ b/content/snippets/js/s/render-dom-element.md @@ -3,7 +3,6 @@ title: Render DOM element type: snippet language: javascript tags: [browser,recursion] -author: chalarangelo cover: standing-stones dateModified: 2021-10-13 --- diff --git a/content/snippets/js/s/repeat-generator.md b/content/snippets/js/s/repeat-generator.md index 70ae613e21b..433d9a182f4 100644 --- a/content/snippets/js/s/repeat-generator.md +++ b/content/snippets/js/s/repeat-generator.md @@ -3,7 +3,6 @@ title: Repeat generator type: snippet language: javascript tags: [function,generator] -author: chalarangelo cover: laptop-journey dateModified: 2020-10-11 --- diff --git a/content/snippets/js/s/replace-all-occurences-of-string.md b/content/snippets/js/s/replace-all-occurences-of-string.md index 5706d92a1bf..d0cb2478c35 100644 --- a/content/snippets/js/s/replace-all-occurences-of-string.md +++ b/content/snippets/js/s/replace-all-occurences-of-string.md @@ -4,7 +4,6 @@ shortTitle: Replace all occurrences of a string type: story language: javascript tags: [string,regexp] -author: chalarangelo cover: blue-computer excerpt: If you need to replace all occurrences of a string in JavaScript, you have a couple of options. dateModified: 2022-07-03 diff --git a/content/snippets/js/s/replace-last-occurrence.md b/content/snippets/js/s/replace-last-occurrence.md index bb36b3a0f7d..0c2122c9199 100644 --- a/content/snippets/js/s/replace-last-occurrence.md +++ b/content/snippets/js/s/replace-last-occurrence.md @@ -3,7 +3,6 @@ title: Replace last occurrence in string type: snippet language: javascript tags: [string,regexp] -author: chalarangelo cover: waves dateModified: 2021-04-22 --- diff --git a/content/snippets/js/s/replace-or-append-array-value.md b/content/snippets/js/s/replace-or-append-array-value.md index 7bceb6db0fa..a2ca054a6fd 100644 --- a/content/snippets/js/s/replace-or-append-array-value.md +++ b/content/snippets/js/s/replace-or-append-array-value.md @@ -3,7 +3,6 @@ title: Replace or append array value type: snippet language: javascript tags: [array] -author: chalarangelo cover: boutique-home-office-2 dateModified: 2023-02-19 --- diff --git a/content/snippets/js/s/resolve-promise-after-amount-of-time.md b/content/snippets/js/s/resolve-promise-after-amount-of-time.md index 3106937a063..a7b35ec5d53 100644 --- a/content/snippets/js/s/resolve-promise-after-amount-of-time.md +++ b/content/snippets/js/s/resolve-promise-after-amount-of-time.md @@ -3,7 +3,6 @@ title: Resolve promise after given amount of time type: snippet language: javascript tags: [function,promise] -author: chalarangelo cover: filter-coffee-pot dateModified: 2022-01-08 --- diff --git a/content/snippets/js/s/return-constructor.md b/content/snippets/js/s/return-constructor.md index 270e0a6d390..7d108fe319f 100644 --- a/content/snippets/js/s/return-constructor.md +++ b/content/snippets/js/s/return-constructor.md @@ -4,7 +4,6 @@ shortTitle: Constructor return value type: question language: javascript tags: [function,class,object] -author: chalarangelo cover: architectural excerpt: The constructor is a crucial part of any JavaScript class, which is why you might want to take a closer look at what they return. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/right-substring-generator.md b/content/snippets/js/s/right-substring-generator.md index 9767e6a0819..7467b7ab56e 100644 --- a/content/snippets/js/s/right-substring-generator.md +++ b/content/snippets/js/s/right-substring-generator.md @@ -4,7 +4,6 @@ type: snippet language: javascript tags: [string,generator] cover: boutique-home-office-2 -author: chalarangelo dateModified: 2022-07-25 --- diff --git a/content/snippets/js/s/select-focused-dom-element.md b/content/snippets/js/s/select-focused-dom-element.md index c9ae0c3e863..56a0dd90a53 100644 --- a/content/snippets/js/s/select-focused-dom-element.md +++ b/content/snippets/js/s/select-focused-dom-element.md @@ -4,7 +4,6 @@ shortTitle: Focused DOM element type: tip language: javascript tags: [browser] -author: chalarangelo cover: horse-sunset excerpt: Here's a quick and easy way to select the currently focused DOM element in JavaScript. dateModified: 2022-10-23 diff --git a/content/snippets/js/s/selection-sort.md b/content/snippets/js/s/selection-sort.md index e1d26f2b71c..72c40355a2b 100644 --- a/content/snippets/js/s/selection-sort.md +++ b/content/snippets/js/s/selection-sort.md @@ -3,7 +3,6 @@ title: Selection sort type: snippet language: javascript tags: [algorithm,array] -author: chalarangelo cover: yellow-sofa dateModified: 2021-10-13 --- diff --git a/content/snippets/js/s/semantic-versioning.md b/content/snippets/js/s/semantic-versioning.md index a2edcf745f1..13b79d789c5 100644 --- a/content/snippets/js/s/semantic-versioning.md +++ b/content/snippets/js/s/semantic-versioning.md @@ -4,7 +4,6 @@ shortTitle: Semantic Versioning (SemVer) explained type: story language: javascript tags: [node] -author: chalarangelo cover: wet-lowland-golden-hour excerpt: Learn how semantic versioning works and how to use it to correctly version your software. dateModified: 2023-07-16 diff --git a/content/snippets/js/s/shallow-deep-clone.md b/content/snippets/js/s/shallow-deep-clone.md index b433ff053ee..9ca34d226e0 100644 --- a/content/snippets/js/s/shallow-deep-clone.md +++ b/content/snippets/js/s/shallow-deep-clone.md @@ -4,7 +4,6 @@ shortTitle: Object cloning type: question language: javascript tags: [object] -author: chalarangelo cover: pagodas excerpt: Learn how JavaScript handles mutable data, such as objects and arrays, and understand how shallow cloning and deep cloning work. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/singleton-proxy.md b/content/snippets/js/s/singleton-proxy.md index d62194cb575..4f2ba045098 100644 --- a/content/snippets/js/s/singleton-proxy.md +++ b/content/snippets/js/s/singleton-proxy.md @@ -4,7 +4,6 @@ shortTitle: Singleton implementation type: question language: javascript tags: [object,proxy,pattern] -author: chalarangelo cover: obelisk excerpt: Learn how to implement the singleton design pattern in JavaScript, using the Proxy object. dateModified: 2021-09-28 diff --git a/content/snippets/js/s/sleep.md b/content/snippets/js/s/sleep.md index 2e3927834b3..801f40c0fda 100644 --- a/content/snippets/js/s/sleep.md +++ b/content/snippets/js/s/sleep.md @@ -4,7 +4,6 @@ shortTitle: Sleep function type: question language: javascript tags: [date,promise] -author: chalarangelo cover: sleepy-cat excerpt: Learn all the different ways you can implement a `sleep()` function in JavaScript. dateModified: 2021-11-06 diff --git a/content/snippets/js/s/sort-array-alphabetically.md b/content/snippets/js/s/sort-array-alphabetically.md index 6e7e0739bf2..2838cc32243 100644 --- a/content/snippets/js/s/sort-array-alphabetically.md +++ b/content/snippets/js/s/sort-array-alphabetically.md @@ -3,7 +3,6 @@ title: Sort array alphabetically type: snippet language: javascript tags: [array] -author: chalarangelo cover: boutique-home-office-1 dateModified: 2023-02-15 --- diff --git a/content/snippets/js/s/split-array-into-n-chunks.md b/content/snippets/js/s/split-array-into-n-chunks.md index 4d4cd28617e..a321ebfb3fb 100644 --- a/content/snippets/js/s/split-array-into-n-chunks.md +++ b/content/snippets/js/s/split-array-into-n-chunks.md @@ -3,7 +3,6 @@ title: Split array into n chunks type: snippet language: javascript tags: [array] -author: chalarangelo cover: dark-leaves-2 dateModified: 2020-11-03 --- diff --git a/content/snippets/js/s/spread-operator-tricks.md b/content/snippets/js/s/spread-operator-tricks.md index 8495801daf2..fc0ee220328 100644 --- a/content/snippets/js/s/spread-operator-tricks.md +++ b/content/snippets/js/s/spread-operator-tricks.md @@ -4,7 +4,6 @@ shortTitle: Array tricks using the spread operator type: story language: javascript tags: [array] -author: chalarangelo cover: succulent-crowd excerpt: JavaScript’s spread operator is a very versatile tool. Here are some simple ways to use it. dateModified: 2022-04-17 diff --git a/content/snippets/js/s/spread-rest-syntax.md b/content/snippets/js/s/spread-rest-syntax.md index d9b8936329c..85ef92faef1 100644 --- a/content/snippets/js/s/spread-rest-syntax.md +++ b/content/snippets/js/s/spread-rest-syntax.md @@ -4,7 +4,6 @@ shortTitle: Spread and rest syntax type: story language: javascript tags: [array,function] -author: chalarangelo cover: antelope excerpt: JavaScript ES6 introduced us to powerful new features, such as the spread and rest syntax. Learn all you need to know in this quick guide. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/starts-with-substring.md b/content/snippets/js/s/starts-with-substring.md index e0ed0e500cf..a49e48e9d1c 100644 --- a/content/snippets/js/s/starts-with-substring.md +++ b/content/snippets/js/s/starts-with-substring.md @@ -5,7 +5,6 @@ shortTitle: Starts with substring language: javascript tags: [string] cover: boutique-home-office-3 -author: chalarangelo dateModified: 2022-07-31 --- diff --git a/content/snippets/js/s/static-instance-methods.md b/content/snippets/js/s/static-instance-methods.md index c8ccfc25df9..f0fa440d3d2 100644 --- a/content/snippets/js/s/static-instance-methods.md +++ b/content/snippets/js/s/static-instance-methods.md @@ -4,7 +4,6 @@ shortTitle: Static Instance Methods type: question language: javascript tags: [object,function,class] -author: chalarangelo cover: lake-runner excerpt: Static and instance methods are pretty easy to distinguish and serve different purposes. Learn all about them in this article. dateModified: 2022-01-30 diff --git a/content/snippets/js/s/store-dom-items.md b/content/snippets/js/s/store-dom-items.md index 619c01fceb9..024f2f16303 100644 --- a/content/snippets/js/s/store-dom-items.md +++ b/content/snippets/js/s/store-dom-items.md @@ -4,7 +4,6 @@ shortTitle: Minimize DOM access type: tip language: javascript tags: [browser] -author: chalarangelo cover: armchair excerpt: Increase your JavaScript code's performance when working with the DOM by leveraging this simple trick. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/string-contains-substring.md b/content/snippets/js/s/string-contains-substring.md index 645a9da8790..4a5d471eac4 100644 --- a/content/snippets/js/s/string-contains-substring.md +++ b/content/snippets/js/s/string-contains-substring.md @@ -4,7 +4,6 @@ shortTitle: String contains substring type: story language: javascript tags: [string] -author: chalarangelo cover: cave-explorer excerpt: Let's have a look at how to check if a string contains a substring in JavaScript. dateModified: 2022-07-27 diff --git a/content/snippets/js/s/string-immutability.md b/content/snippets/js/s/string-immutability.md index 1c538fb55d5..fa764b1853b 100644 --- a/content/snippets/js/s/string-immutability.md +++ b/content/snippets/js/s/string-immutability.md @@ -4,7 +4,6 @@ shortTitle: String immutability type: question language: javascript tags: [string,type] -author: chalarangelo cover: purple-sunset excerpt: When it comes to immutability, JavaScript strings are often a source of confusion. Yet they're not as complicated as you might expect. dateModified: 2021-10-10 diff --git a/content/snippets/js/s/string-to-boolean.md b/content/snippets/js/s/string-to-boolean.md index dc6ffdb3774..4e7073094e9 100644 --- a/content/snippets/js/s/string-to-boolean.md +++ b/content/snippets/js/s/string-to-boolean.md @@ -4,7 +4,6 @@ shortTitle: String to boolean type: tip language: javascript tags: [string,boolean,type] -author: chalarangelo cover: two-cities excerpt: Have you ever tried to convert the string representation of a boolean to an actual boolean value? Here's a simple way to do it. dateModified: 2022-09-14 diff --git a/content/snippets/js/s/supports-touch-events.md b/content/snippets/js/s/supports-touch-events.md index 6221481294e..fd442a93855 100644 --- a/content/snippets/js/s/supports-touch-events.md +++ b/content/snippets/js/s/supports-touch-events.md @@ -3,7 +3,6 @@ title: Device supports touch events type: snippet language: javascript tags: [browser] -author: chalarangelo cover: man-red-sunset dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/swap-two-variables.md b/content/snippets/js/s/swap-two-variables.md index 129f6dba750..e747e4e0aba 100644 --- a/content/snippets/js/s/swap-two-variables.md +++ b/content/snippets/js/s/swap-two-variables.md @@ -4,7 +4,6 @@ shortTitle: Swap two variables type: tip language: javascript tags: [variables] -author: chalarangelo cover: mountain-lake-2 excerpt: Learn how to swap the values of two variables in JavaScript using a single line of ES6 code. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/switch-object.md b/content/snippets/js/s/switch-object.md index ec843128ad1..b8e406e6979 100644 --- a/content/snippets/js/s/switch-object.md +++ b/content/snippets/js/s/switch-object.md @@ -4,7 +4,6 @@ shortTitle: Switch with object literals type: story language: javascript tags: [object] -author: chalarangelo cover: rocky-lake excerpt: JavaScript's `switch` statement often feels hard to remember and a little bit out of place. Maybe it's time to use object literals, instead. dateModified: 2021-11-07 diff --git a/content/snippets/js/s/symbolize-object-keys.md b/content/snippets/js/s/symbolize-object-keys.md index 46b51283dd3..a30972fea28 100644 --- a/content/snippets/js/s/symbolize-object-keys.md +++ b/content/snippets/js/s/symbolize-object-keys.md @@ -3,7 +3,6 @@ title: Symbolize object keys type: snippet language: javascript tags: [object] -author: chalarangelo cover: computer-screens dateModified: 2021-08-01 --- diff --git a/content/snippets/js/s/sync-async.md b/content/snippets/js/s/sync-async.md index 9ec4602aef8..21840ee3034 100644 --- a/content/snippets/js/s/sync-async.md +++ b/content/snippets/js/s/sync-async.md @@ -4,7 +4,6 @@ shortTitle: Synchronous vs asynchronous code type: question language: javascript tags: [function,promise] -author: chalarangelo cover: pineapple-on-green excerpt: Understanding the differences between synchronous and asynchronous code is a crucial piece of knowledge for every web developer. dateModified: 2021-11-14 diff --git a/content/snippets/js/s/take-n-elements-from-array-start-or-end.md b/content/snippets/js/s/take-n-elements-from-array-start-or-end.md index 209bb3c1b55..3a39257a359 100644 --- a/content/snippets/js/s/take-n-elements-from-array-start-or-end.md +++ b/content/snippets/js/s/take-n-elements-from-array-start-or-end.md @@ -4,7 +4,6 @@ shortTitle: Get N array elements from start or end type: story language: javascript tags: [array] -author: chalarangelo cover: interior-7 excerpt: Learn how to get the first or last N elements of a JavaScript array, using `Array.prototype.slice()`. dateModified: 2023-07-09 diff --git a/content/snippets/js/s/textcontent-or-innertext.md b/content/snippets/js/s/textcontent-or-innertext.md index 39dcc1ad9da..29bbc68b08b 100644 --- a/content/snippets/js/s/textcontent-or-innertext.md +++ b/content/snippets/js/s/textcontent-or-innertext.md @@ -4,7 +4,6 @@ shortTitle: Differences between innerText and textContent type: question language: javascript tags: [browser] -author: chalarangelo cover: dark-city excerpt: While these two properties are very similar, there are some key differences that you should be aware of. dateModified: 2023-03-19 diff --git a/content/snippets/js/s/the-case-for-trailing-commas.md b/content/snippets/js/s/the-case-for-trailing-commas.md index a11adf868c7..9b11b218d8f 100644 --- a/content/snippets/js/s/the-case-for-trailing-commas.md +++ b/content/snippets/js/s/the-case-for-trailing-commas.md @@ -4,7 +4,6 @@ shortTitle: Trailing commas in JavaScript type: story language: javascript tags: [webdev] -author: chalarangelo cover: contemporary-desk excerpt: Trailing commas are not without controversy. Here's why I think you should use them. dateModified: 2023-03-12 diff --git a/content/snippets/js/s/this.md b/content/snippets/js/s/this.md index bb6a05e9a6a..35e11c9baf2 100644 --- a/content/snippets/js/s/this.md +++ b/content/snippets/js/s/this.md @@ -4,7 +4,6 @@ shortTitle: The "this" keyword in JavaScript type: story language: javascript tags: [function,object] -author: chalarangelo cover: u-got-this excerpt: JavaScript's `this` keyword can confuse beginners and veterans alike. Learn how it works in different scenarios and start using it correctly. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/timeout-interval-delay.md b/content/snippets/js/s/timeout-interval-delay.md index 00a1d450beb..62dbf93a6c2 100644 --- a/content/snippets/js/s/timeout-interval-delay.md +++ b/content/snippets/js/s/timeout-interval-delay.md @@ -4,7 +4,6 @@ shortTitle: Delays in JavaScript timing functions type: story language: javascript tags: [browser,timeout] -author: chalarangelo cover: river-house-lights excerpt: Did you know that the delay of `setTimeout()` and `setInterval()` is merely a suggestion? dateModified: 2022-10-26 diff --git a/content/snippets/js/s/to-flags-object.md b/content/snippets/js/s/to-flags-object.md index 3d2bcaaa82e..6e5f836f04f 100644 --- a/content/snippets/js/s/to-flags-object.md +++ b/content/snippets/js/s/to-flags-object.md @@ -3,7 +3,6 @@ title: Array to flags object type: snippet language: javascript tags: [array,object] -author: chalarangelo cover: glass-blowing dateModified: 2022-04-12 --- diff --git a/content/snippets/js/s/to-pairs.md b/content/snippets/js/s/to-pairs.md index ae700e52f27..d6e0d25e7f6 100644 --- a/content/snippets/js/s/to-pairs.md +++ b/content/snippets/js/s/to-pairs.md @@ -3,7 +3,6 @@ title: Object to pairs type: snippet language: javascript tags: [object,array] -author: chalarangelo cover: beach-overview dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/to-rgb-object.md b/content/snippets/js/s/to-rgb-object.md index c51ba9cd0b9..1eb9b144912 100644 --- a/content/snippets/js/s/to-rgb-object.md +++ b/content/snippets/js/s/to-rgb-object.md @@ -3,7 +3,6 @@ title: RGB to object type: snippet language: javascript tags: [string,regexp] -author: chalarangelo cover: blue-bench dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/to-sentence-case.md b/content/snippets/js/s/to-sentence-case.md index 1e7e7e792b8..f569d9d1f41 100644 --- a/content/snippets/js/s/to-sentence-case.md +++ b/content/snippets/js/s/to-sentence-case.md @@ -4,7 +4,6 @@ type: snippet language: javascript tags: [string,regexp] cover: sofia-tram -author: chalarangelo dateModified: 2023-03-27 --- diff --git a/content/snippets/js/s/toggle-array-element.md b/content/snippets/js/s/toggle-array-element.md index 468c61c8cd9..aab905fe96c 100644 --- a/content/snippets/js/s/toggle-array-element.md +++ b/content/snippets/js/s/toggle-array-element.md @@ -3,7 +3,6 @@ title: Toggle element in array type: snippet language: javascript tags: [array] -author: chalarangelo cover: digital-nomad-7 dateModified: 2022-04-15 --- diff --git a/content/snippets/js/s/transpose-matrix.md b/content/snippets/js/s/transpose-matrix.md index c17be3e1909..ef5aff85b1d 100644 --- a/content/snippets/js/s/transpose-matrix.md +++ b/content/snippets/js/s/transpose-matrix.md @@ -3,7 +3,6 @@ title: Transpose matrix type: snippet language: javascript tags: [array] -author: chalarangelo cover: camera-zoom dateModified: 2022-04-20 --- diff --git a/content/snippets/js/s/truthy-falsy-values.md b/content/snippets/js/s/truthy-falsy-values.md index ed0502a46fc..70f2402422e 100644 --- a/content/snippets/js/s/truthy-falsy-values.md +++ b/content/snippets/js/s/truthy-falsy-values.md @@ -4,7 +4,6 @@ shortTitle: Truthy and falsy values type: question language: javascript tags: [type,comparison] -author: chalarangelo cover: little-bird excerpt: JavaScript uses type coercion in Boolean contexts, resulting in truthy or falsy values. Get a hang of how it all works in this quick guide. dateModified: 2021-09-12 diff --git a/content/snippets/js/s/typecheck-array.md b/content/snippets/js/s/typecheck-array.md index b7903ec8c2c..fccde7e290a 100644 --- a/content/snippets/js/s/typecheck-array.md +++ b/content/snippets/js/s/typecheck-array.md @@ -4,7 +4,6 @@ shortTitle: Array typechecking type: tip language: javascript tags: [type,array] -author: chalarangelo cover: purple-flower-field excerpt: Make sure to use the correct method when checking if a JavaScript object is an array. dateModified: 2022-11-06 diff --git a/content/snippets/js/s/typecheck-proxy.md b/content/snippets/js/s/typecheck-proxy.md index e7a4c1f8b3e..e62297a886b 100644 --- a/content/snippets/js/s/typecheck-proxy.md +++ b/content/snippets/js/s/typecheck-proxy.md @@ -4,7 +4,6 @@ shortTitle: Object type checking with Proxy type: story language: javascript tags: [object,type,proxy] -author: chalarangelo cover: customs excerpt: Learn how to type check objects at runtime using the powerful Proxy object in JavaScript. dateModified: 2023-04-23 diff --git a/content/snippets/js/s/uncached-module-require.md b/content/snippets/js/s/uncached-module-require.md index 11600abdc74..70a93ddda06 100644 --- a/content/snippets/js/s/uncached-module-require.md +++ b/content/snippets/js/s/uncached-module-require.md @@ -3,7 +3,6 @@ title: Uncached module require type: snippet language: javascript tags: [node] -author: chalarangelo cover: tea-laptop-table dateModified: 2020-09-15 --- diff --git a/content/snippets/js/s/undeclared-undefined-null.md b/content/snippets/js/s/undeclared-undefined-null.md index d9d040fb817..8afe7307bef 100644 --- a/content/snippets/js/s/undeclared-undefined-null.md +++ b/content/snippets/js/s/undeclared-undefined-null.md @@ -4,7 +4,6 @@ shortTitle: Undeclared, undefined and null type: question language: javascript tags: [type] -author: chalarangelo cover: river-houses excerpt: JavaScript has three different empty states for variables. Learn their differences and how you can check for each one. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/unwind-object.md b/content/snippets/js/s/unwind-object.md index 3668a64f185..df980bb2ba6 100644 --- a/content/snippets/js/s/unwind-object.md +++ b/content/snippets/js/s/unwind-object.md @@ -3,7 +3,6 @@ title: Unwind object type: snippet language: javascript tags: [object] -author: chalarangelo cover: orange-coffee dateModified: 2022-04-18 --- diff --git a/content/snippets/js/s/upperize.md b/content/snippets/js/s/upperize.md index 41fd814de75..f2798ef03a9 100644 --- a/content/snippets/js/s/upperize.md +++ b/content/snippets/js/s/upperize.md @@ -3,7 +3,6 @@ title: Uppercase object keys type: snippet language: javascript tags: [object] -author: chalarangelo cover: sofia-tram dateModified: 2023-02-11 --- diff --git a/content/snippets/js/s/use-strict.md b/content/snippets/js/s/use-strict.md index b64a13dedeb..177162b3ed2 100644 --- a/content/snippets/js/s/use-strict.md +++ b/content/snippets/js/s/use-strict.md @@ -4,7 +4,6 @@ shortTitle: Strict mode introduction type: question language: javascript tags: [function,object] -author: chalarangelo cover: palm-tree-house excerpt: JavaScript's strict mode can make your code faster, cleaner and more secure. dateModified: 2021-11-28 diff --git a/content/snippets/js/s/value-as-number.md b/content/snippets/js/s/value-as-number.md index 6fb7145d01d..d00b4a54b26 100644 --- a/content/snippets/js/s/value-as-number.md +++ b/content/snippets/js/s/value-as-number.md @@ -4,7 +4,6 @@ shortTitle: Input element value as number type: tip language: javascript tags: [browser,input] -author: chalarangelo cover: mac-and-coffee excerpt: Ever wanted to get the value of an HTML input element as a number? Learn an easy way to do it with this handy trick. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/value-frequencies.md b/content/snippets/js/s/value-frequencies.md index bc3a5f89ea7..3c7407d7e99 100644 --- a/content/snippets/js/s/value-frequencies.md +++ b/content/snippets/js/s/value-frequencies.md @@ -3,7 +3,6 @@ title: Value frequencies type: snippet language: javascript tags: [array,object] -author: chalarangelo cover: tropical-waterfall dateModified: 2023-09-27 --- diff --git a/content/snippets/js/s/value-not-equal-to-itself.md b/content/snippets/js/s/value-not-equal-to-itself.md index 4fcb56acd18..3e020ffc97a 100644 --- a/content/snippets/js/s/value-not-equal-to-itself.md +++ b/content/snippets/js/s/value-not-equal-to-itself.md @@ -4,7 +4,6 @@ shortTitle: The only value not equal to itself type: question language: javascript tags: [type,comparison] -author: chalarangelo cover: eagle excerpt: Did you know there's a JavaScript value that's not equal to itself? dateModified: 2021-12-12 diff --git a/content/snippets/js/s/var-let-const.md b/content/snippets/js/s/var-let-const.md index f673bc5ccf4..3c6aa27787c 100644 --- a/content/snippets/js/s/var-let-const.md +++ b/content/snippets/js/s/var-let-const.md @@ -4,7 +4,6 @@ shortTitle: Var, let and const type: question language: javascript tags: [type,variable] -author: chalarangelo cover: green-css excerpt: JavaScript variables can be declared a handful of ways. However, understanding their differences can drastically change the way you code. dateModified: 2021-12-02 diff --git a/content/snippets/js/s/variable-hoisting.md b/content/snippets/js/s/variable-hoisting.md index 268ab01a6c0..467b2c2807c 100644 --- a/content/snippets/js/s/variable-hoisting.md +++ b/content/snippets/js/s/variable-hoisting.md @@ -4,7 +4,6 @@ shortTitle: Hoisting introduction type: question language: javascript tags: [type,variable] -author: chalarangelo cover: boat-port excerpt: Hoisting comes up a lot during JavaScript interviews. It's a concept that may require some getting used to, so read our guide to learn more. dateModified: 2023-09-28 diff --git a/content/snippets/js/s/variable-scope.md b/content/snippets/js/s/variable-scope.md index f37d411ecc9..b517e8df447 100644 --- a/content/snippets/js/s/variable-scope.md +++ b/content/snippets/js/s/variable-scope.md @@ -4,7 +4,6 @@ shortTitle: Variables and scopes type: story language: javascript tags: [type,variable] -author: chalarangelo cover: periscope excerpt: JavaScript developers often get confused by JavaScript's variables and scope. Here's a quick guide to understanding these concepts. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/void-links.md b/content/snippets/js/s/void-links.md index 64b36ebb762..a0f9d7d7d72 100644 --- a/content/snippets/js/s/void-links.md +++ b/content/snippets/js/s/void-links.md @@ -3,7 +3,6 @@ title: Avoid "javascript:void(0)" for empty links type: tip language: javascript tags: [browser,accessibility] -author: chalarangelo cover: white-flower excerpt: There are many ways to create empty links, some more appropriate than others. Learn how to best handle empty links with this quick tip. dateModified: 2021-06-12 diff --git a/content/snippets/js/s/walk-through-object.md b/content/snippets/js/s/walk-through-object.md index 5ecd1dd82f1..b94ed647f99 100644 --- a/content/snippets/js/s/walk-through-object.md +++ b/content/snippets/js/s/walk-through-object.md @@ -3,7 +3,6 @@ title: Walk through object type: snippet language: javascript tags: [object,recursion,generator] -author: chalarangelo cover: bridge dateModified: 2021-11-15 --- diff --git a/content/snippets/js/s/week-of-year.md b/content/snippets/js/s/week-of-year.md index 484a015e6d3..5df9184bce5 100644 --- a/content/snippets/js/s/week-of-year.md +++ b/content/snippets/js/s/week-of-year.md @@ -3,7 +3,6 @@ title: Week of year type: snippet language: javascript tags: [date] -author: chalarangelo cover: godray-computer-mug dateModified: 2021-08-15 --- diff --git a/content/snippets/js/s/weighted-sample.md b/content/snippets/js/s/weighted-sample.md index 0768040beb2..efa744d9c77 100644 --- a/content/snippets/js/s/weighted-sample.md +++ b/content/snippets/js/s/weighted-sample.md @@ -3,7 +3,6 @@ title: Weighted sample type: snippet language: javascript tags: [array,random] -author: chalarangelo cover: digital-nomad-14 dateModified: 2020-10-22 --- diff --git a/content/snippets/js/s/window-location-cheatsheet.md b/content/snippets/js/s/window-location-cheatsheet.md index 50da19ae2d6..65b9e3382b8 100644 --- a/content/snippets/js/s/window-location-cheatsheet.md +++ b/content/snippets/js/s/window-location-cheatsheet.md @@ -3,7 +3,6 @@ title: Window.location Cheat Sheet type: cheatsheet language: javascript tags: [browser] -author: chalarangelo cover: yellow-sofa excerpt: A quick reference for the `window.location` object. dateModified: 2022-12-21 diff --git a/content/snippets/python/s/6-f-strings-tips.md b/content/snippets/python/s/6-f-strings-tips.md index ce433d86df9..2d3d4d80742 100644 --- a/content/snippets/python/s/6-f-strings-tips.md +++ b/content/snippets/python/s/6-f-strings-tips.md @@ -3,7 +3,6 @@ title: 6 Python f-strings tips and tricks type: story language: python tags: [string] -author: chalarangelo cover: sea-view excerpt: Python's f-strings can do a lot more than you might expect. Learn a few useful tips and tricks in this quick guide. dateModified: 2021-07-20 diff --git a/content/snippets/python/s/bare-except.md b/content/snippets/python/s/bare-except.md index 55dacc6c4bb..c971ce19939 100644 --- a/content/snippets/python/s/bare-except.md +++ b/content/snippets/python/s/bare-except.md @@ -4,7 +4,6 @@ shortTitle: Bare except best practices type: tip language: python tags: [error] -author: chalarangelo cover: dark-cloud excerpt: It's generally not a good idea to use bare `except` clause in Python, but do you know why? dateModified: 2022-02-20 diff --git a/content/snippets/python/s/dict-getkey-vs-dictkey.md b/content/snippets/python/s/dict-getkey-vs-dictkey.md index c5c9388bbc8..7bc19b6e1ad 100644 --- a/content/snippets/python/s/dict-getkey-vs-dictkey.md +++ b/content/snippets/python/s/dict-getkey-vs-dictkey.md @@ -4,7 +4,6 @@ shortTitle: dict.get(key) vs dict[key] type: tip language: python tags: [dictionary] -author: chalarangelo cover: compass-2 excerpt: Learn the difference between two common ways to access values in Python dictionaries and level up your code today. dateModified: 2021-06-12 diff --git a/content/snippets/python/s/drop-right.md b/content/snippets/python/s/drop-right.md index 4919424dd0f..a96f96026f3 100644 --- a/content/snippets/python/s/drop-right.md +++ b/content/snippets/python/s/drop-right.md @@ -3,7 +3,6 @@ title: Drop list elements from the right type: snippet language: python tags: [list] -author: chalarangelo cover: digital-nomad-7 dateModified: 2020-11-02 --- diff --git a/content/snippets/python/s/drop.md b/content/snippets/python/s/drop.md index 7a6acd48e45..e70e5e45caa 100644 --- a/content/snippets/python/s/drop.md +++ b/content/snippets/python/s/drop.md @@ -3,7 +3,6 @@ title: Drop list elements from the left type: snippet language: python tags: [list] -author: chalarangelo cover: pink-flower dateModified: 2020-11-02 --- diff --git a/content/snippets/python/s/empty-list.md b/content/snippets/python/s/empty-list.md index 818bcc66247..38f7d7b0c29 100644 --- a/content/snippets/python/s/empty-list.md +++ b/content/snippets/python/s/empty-list.md @@ -4,7 +4,6 @@ shortTitle: Empty list type: question language: python tags: [list] -author: chalarangelo cover: salad-2 excerpt: There's a good way to test the emptiness of a Python list and a better one. Which one are you using? dateModified: 2023-01-15 diff --git a/content/snippets/python/s/fstrings-str-format.md b/content/snippets/python/s/fstrings-str-format.md index c0ab9b4e8ff..ab8651b0c56 100644 --- a/content/snippets/python/s/fstrings-str-format.md +++ b/content/snippets/python/s/fstrings-str-format.md @@ -4,7 +4,6 @@ shortTitle: String formatting type: tip language: python tags: [string] -author: chalarangelo cover: feathers excerpt: Learn two ways to format a string in Python with this quick tip. dateModified: 2021-06-12 diff --git a/content/snippets/python/s/is-empty.md b/content/snippets/python/s/is-empty.md index a1e9f96db65..601571ed971 100644 --- a/content/snippets/python/s/is-empty.md +++ b/content/snippets/python/s/is-empty.md @@ -3,7 +3,6 @@ title: Collection is empty type: snippet language: python tags: [list,dictionary,string] -author: chalarangelo cover: salad-1 dateModified: 2023-01-12 --- diff --git a/content/snippets/python/s/lists-tuples.md b/content/snippets/python/s/lists-tuples.md index 1810efa39d5..46fe0b1ca20 100644 --- a/content/snippets/python/s/lists-tuples.md +++ b/content/snippets/python/s/lists-tuples.md @@ -4,7 +4,6 @@ shortTitle: Lists vs Tuples type: question language: python tags: [list] -author: chalarangelo cover: red-mountain excerpt: Learn how Python's lists and tuples are different and level up your code today. dateModified: 2021-06-12 diff --git a/content/snippets/python/s/mutable-default-arguments.md b/content/snippets/python/s/mutable-default-arguments.md index 1117715391d..0785ae2ef7d 100644 --- a/content/snippets/python/s/mutable-default-arguments.md +++ b/content/snippets/python/s/mutable-default-arguments.md @@ -4,7 +4,6 @@ shortTitle: Mutable default arguments type: tip language: python tags: [function] -author: chalarangelo cover: goat-wooden-cottage excerpt: Mutable default arguments can trip up Python beginners and veterans alike. Here's a quick workaround to deal with them. dateModified: 2022-02-27 diff --git a/content/snippets/python/s/pad.md b/content/snippets/python/s/pad.md index 39c71b8a78f..0acba582c2d 100644 --- a/content/snippets/python/s/pad.md +++ b/content/snippets/python/s/pad.md @@ -3,7 +3,6 @@ title: Pad string type: snippet language: python tags: [string] -author: chalarangelo cover: digital-nomad-11 dateModified: 2020-10-04 --- diff --git a/content/snippets/python/s/powerset.md b/content/snippets/python/s/powerset.md index c257f72c58e..084b8304508 100644 --- a/content/snippets/python/s/powerset.md +++ b/content/snippets/python/s/powerset.md @@ -3,7 +3,6 @@ title: Powerset type: snippet language: python tags: [math,list] -author: chalarangelo cover: rock-climbing dateModified: 2020-11-02 --- diff --git a/content/snippets/python/s/setup-python3-pip3-as-default.md b/content/snippets/python/s/setup-python3-pip3-as-default.md index bd9335f25f6..1e0b91ef867 100644 --- a/content/snippets/python/s/setup-python3-pip3-as-default.md +++ b/content/snippets/python/s/setup-python3-pip3-as-default.md @@ -4,7 +4,6 @@ shortTitle: Python 3 and pip 3 setup type: tip language: python tags: [setup] -author: chalarangelo cover: avocado-slices excerpt: A very common problem when working with Python is having to remember the correct version. Luckily, there's an easy fix for that. dateModified: 2021-06-12 diff --git a/content/snippets/python/s/sort-dictionary-tuple-key.md b/content/snippets/python/s/sort-dictionary-tuple-key.md index 2e38480ac78..b043f09d2df 100644 --- a/content/snippets/python/s/sort-dictionary-tuple-key.md +++ b/content/snippets/python/s/sort-dictionary-tuple-key.md @@ -4,7 +4,6 @@ shortTitle: Sort dictionary list using a tuple key type: tip language: python tags: [list,dictionary] -author: chalarangelo cover: matrix-flow excerpt: Learn how to sort a Python dictionary list using a tuple key. dateModified: 2023-01-04 diff --git a/content/snippets/python/s/string-is-empty.md b/content/snippets/python/s/string-is-empty.md index d8c51c49864..d65e574e652 100644 --- a/content/snippets/python/s/string-is-empty.md +++ b/content/snippets/python/s/string-is-empty.md @@ -4,7 +4,6 @@ shortTitle: String is empty type: question language: python tags: [string] -author: chalarangelo cover: tea-laptop-table excerpt: Here are two quick and elegant ways to check if a string is empty in Python. dateModified: 2022-08-05 diff --git a/content/snippets/python/s/take-right.md b/content/snippets/python/s/take-right.md index 6f95f689c5f..b5f478549a2 100644 --- a/content/snippets/python/s/take-right.md +++ b/content/snippets/python/s/take-right.md @@ -3,7 +3,6 @@ title: Remove list elements from the end type: snippet language: python tags: [list] -author: chalarangelo cover: three-vases dateModified: 2020-09-15 --- diff --git a/content/snippets/python/s/take.md b/content/snippets/python/s/take.md index da8202889e8..321937cd4e6 100644 --- a/content/snippets/python/s/take.md +++ b/content/snippets/python/s/take.md @@ -3,7 +3,6 @@ title: Remove list elements type: snippet language: python tags: [list] -author: chalarangelo cover: sea-view-2 dateModified: 2020-09-15 --- diff --git a/content/snippets/react/s/auto-link.md b/content/snippets/react/s/auto-link.md index 7efce733c66..e6ffc9a9d9b 100644 --- a/content/snippets/react/s/auto-link.md +++ b/content/snippets/react/s/auto-link.md @@ -3,7 +3,6 @@ title: Automatic text linking type: snippet language: react tags: [components,fragment,regexp] -author: chalarangelo cover: red-petals dateModified: 2020-11-03 --- diff --git a/content/snippets/react/s/breaking-react.md b/content/snippets/react/s/breaking-react.md index 40cb502e503..55057838b47 100644 --- a/content/snippets/react/s/breaking-react.md +++ b/content/snippets/react/s/breaking-react.md @@ -3,7 +3,6 @@ title: Breaking React - a common pattern to avoid type: story language: react tags: [debugging] -author: chalarangelo cover: broken-screen excerpt: As powerful as React is, it is also quite fragile at places. Did you know that a few lines can easily break your entire React application? dateModified: 2021-11-06 diff --git a/content/snippets/react/s/callto.md b/content/snippets/react/s/callto.md index a2d81e64252..f4bbfb4e751 100644 --- a/content/snippets/react/s/callto.md +++ b/content/snippets/react/s/callto.md @@ -3,7 +3,6 @@ title: Callable telephone link type: snippet language: react tags: [components] -author: chalarangelo unlisted: true cover: rabbit-call dateModified: 2021-01-04 diff --git a/content/snippets/react/s/conditional-classname.md b/content/snippets/react/s/conditional-classname.md index ecc5a13631b..99182ae4528 100644 --- a/content/snippets/react/s/conditional-classname.md +++ b/content/snippets/react/s/conditional-classname.md @@ -4,7 +4,6 @@ shortTitle: Conditional className type: tip language: react tags: [components] -author: chalarangelo cover: succulent-red-light excerpt: In React components, you might need to conditionally apply a `className`. Learn how to handle empty values correctly using this handy tip. dateModified: 2021-11-07 diff --git a/content/snippets/react/s/file-drop.md b/content/snippets/react/s/file-drop.md index 9aa90773987..49c48a70a58 100644 --- a/content/snippets/react/s/file-drop.md +++ b/content/snippets/react/s/file-drop.md @@ -3,7 +3,6 @@ title: File drag and drop area type: snippet language: react tags: [components,input,state,effect,event] -author: chalarangelo cover: man-red-sunset dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/lazy-load-image.md b/content/snippets/react/s/lazy-load-image.md index f9c853f3216..860ab0de05a 100644 --- a/content/snippets/react/s/lazy-load-image.md +++ b/content/snippets/react/s/lazy-load-image.md @@ -4,7 +4,6 @@ type: snippet language: react tags: [components,effect,state] cover: strawberries -author: chalarangelo dateModified: 2022-07-29 --- diff --git a/content/snippets/react/s/mailto.md b/content/snippets/react/s/mailto.md index 35ede44dea5..4d0650b56e7 100644 --- a/content/snippets/react/s/mailto.md +++ b/content/snippets/react/s/mailto.md @@ -3,7 +3,6 @@ title: Email link type: snippet language: react tags: [components] -author: chalarangelo cover: digital-nomad-4 dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/password-revealer.md b/content/snippets/react/s/password-revealer.md index 0b4cbbc78a0..4025a1b51eb 100644 --- a/content/snippets/react/s/password-revealer.md +++ b/content/snippets/react/s/password-revealer.md @@ -3,7 +3,6 @@ title: Show/hide password toggle type: snippet language: react tags: [components,input,state] -author: chalarangelo cover: thread dateModified: 2020-11-25 --- diff --git a/content/snippets/react/s/proptypes-objectof-vs-shape.md b/content/snippets/react/s/proptypes-objectof-vs-shape.md index c8e8f62d147..63351503f6d 100644 --- a/content/snippets/react/s/proptypes-objectof-vs-shape.md +++ b/content/snippets/react/s/proptypes-objectof-vs-shape.md @@ -4,7 +4,6 @@ shortTitle: PropTypes - objectOf vs shape type: story language: react tags: [components,proptypes] -author: chalarangelo cover: shapes excerpt: Learn the differences between `PropTypes.objectOf()` and `PropTypes.shape()` and where to use each one with this quick guide. dateModified: 2021-06-12 diff --git a/content/snippets/react/s/redux-readable-reducers.md b/content/snippets/react/s/redux-readable-reducers.md index b59e9253cb7..411be2f08b3 100644 --- a/content/snippets/react/s/redux-readable-reducers.md +++ b/content/snippets/react/s/redux-readable-reducers.md @@ -4,7 +4,6 @@ shortTitle: Readable reducer tips type: story language: react tags: [logic] -author: chalarangelo cover: beach-from-above excerpt: When working with stateful code, you can run into issues realted to complexity and readability. Oftentimes, they are easily fixable. dateModified: 2021-06-12 diff --git a/content/snippets/react/s/rendering-basics.md b/content/snippets/react/s/rendering-basics.md index b5e23856c94..ba00728ad78 100644 --- a/content/snippets/react/s/rendering-basics.md +++ b/content/snippets/react/s/rendering-basics.md @@ -3,7 +3,6 @@ title: React rendering basics type: story language: react tags: [render] -author: chalarangelo cover: comic-glasses excerpt: Take a deeper dive into React's rendering process and understand the basics behind the popular JavaScript framework. dateModified: 2021-06-12 diff --git a/content/snippets/react/s/rendering-optimization.md b/content/snippets/react/s/rendering-optimization.md index eeb13874153..b321abd4fa2 100644 --- a/content/snippets/react/s/rendering-optimization.md +++ b/content/snippets/react/s/rendering-optimization.md @@ -3,7 +3,6 @@ title: React rendering optimization type: story language: react tags: [render] -author: chalarangelo cover: comic-glasses excerpt: Take a deeper dive into React's rendering process and understand how to make small yet powerful tweaks to optimize performance. dateModified: 2021-06-12 diff --git a/content/snippets/react/s/rendering-state.md b/content/snippets/react/s/rendering-state.md index 88f79996bef..8a87b218519 100644 --- a/content/snippets/react/s/rendering-state.md +++ b/content/snippets/react/s/rendering-state.md @@ -3,7 +3,6 @@ title: React rendering state type: story language: react tags: [render] -author: chalarangelo cover: comic-glasses excerpt: Take a deeper dive into React's rendering process and understand the role of the Context API and Redux in it. dateModified: 2021-06-12 diff --git a/content/snippets/react/s/ripple-button.md b/content/snippets/react/s/ripple-button.md index 9974632bcdb..c033e7dfb3d 100644 --- a/content/snippets/react/s/ripple-button.md +++ b/content/snippets/react/s/ripple-button.md @@ -3,7 +3,6 @@ title: Button with ripple effect type: snippet language: react tags: [components,state,effect] -author: chalarangelo cover: mountain-lake-cottage dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/testing-portals.md b/content/snippets/react/s/testing-portals.md index 4c35935ada0..196f3affcf6 100644 --- a/content/snippets/react/s/testing-portals.md +++ b/content/snippets/react/s/testing-portals.md @@ -4,7 +4,6 @@ shortTitle: Portal testing type: story language: react tags: [testing] -author: chalarangelo cover: portal-timelapse excerpt: Testing React components that use portals can be difficult until you understand what you really need to be testing. dateModified: 2022-03-13 diff --git a/content/snippets/react/s/testing-redux-connected-components.md b/content/snippets/react/s/testing-redux-connected-components.md index 0c65c19689f..5c5842ba82c 100644 --- a/content/snippets/react/s/testing-redux-connected-components.md +++ b/content/snippets/react/s/testing-redux-connected-components.md @@ -4,7 +4,6 @@ shortTitle: Redux-connected components testing type: story language: react tags: [testing] -author: chalarangelo cover: sparkles excerpt: Testing Redux-connected components is pretty common. Learn how to use this simple utility function to speed up your testing. dateModified: 2021-11-07 diff --git a/content/snippets/react/s/testing-stateful-ui-components.md b/content/snippets/react/s/testing-stateful-ui-components.md index ec254cfbc44..f2fbc7d21ba 100644 --- a/content/snippets/react/s/testing-stateful-ui-components.md +++ b/content/snippets/react/s/testing-stateful-ui-components.md @@ -4,7 +4,6 @@ shortTitle: Stateful component testing type: story language: react tags: [testing] -author: chalarangelo cover: lake-trees excerpt: Testing stateful React components is not difficult, but did you know there's a solution that doesn't involve testing state directly? dateModified: 2021-06-12 diff --git a/content/snippets/react/s/tree-view.md b/content/snippets/react/s/tree-view.md index 53be5bcecd5..71ce1abd980 100644 --- a/content/snippets/react/s/tree-view.md +++ b/content/snippets/react/s/tree-view.md @@ -3,7 +3,6 @@ title: Expandable object tree view type: snippet language: react tags: [components,object,state,recursion] -author: chalarangelo cover: digital-nomad-9 dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-body-scroll-lock.md b/content/snippets/react/s/use-body-scroll-lock.md index 5b5514b7520..7e381da8e41 100644 --- a/content/snippets/react/s/use-body-scroll-lock.md +++ b/content/snippets/react/s/use-body-scroll-lock.md @@ -3,7 +3,6 @@ title: React useBodyScrollLock hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: folded-map dateModified: 2021-09-02 --- diff --git a/content/snippets/react/s/use-click-inside.md b/content/snippets/react/s/use-click-inside.md index 3b7333d38de..2687fac6fcf 100644 --- a/content/snippets/react/s/use-click-inside.md +++ b/content/snippets/react/s/use-click-inside.md @@ -3,7 +3,6 @@ title: React useClickInside hook type: snippet language: react tags: [hooks,effect,event] -author: chalarangelo cover: digital-nomad-10 dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-click-outside.md b/content/snippets/react/s/use-click-outside.md index 711dc668f09..cf7d05f5eb7 100644 --- a/content/snippets/react/s/use-click-outside.md +++ b/content/snippets/react/s/use-click-outside.md @@ -3,7 +3,6 @@ title: React useClickOutside hook type: snippet language: react tags: [hooks,effect,event] -author: chalarangelo cover: clutter dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-component-did-mount.md b/content/snippets/react/s/use-component-did-mount.md index 4c002e0af0a..944a277c4b2 100644 --- a/content/snippets/react/s/use-component-did-mount.md +++ b/content/snippets/react/s/use-component-did-mount.md @@ -3,7 +3,6 @@ title: React useComponentDidMount hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: green-cabin-cow dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/use-component-did-update.md b/content/snippets/react/s/use-component-did-update.md index 49db4b91131..05a7ef62211 100644 --- a/content/snippets/react/s/use-component-did-update.md +++ b/content/snippets/react/s/use-component-did-update.md @@ -3,7 +3,6 @@ title: React useComponentDidUpdate hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: flower-portrait-10 dateModified: 2021-11-09 --- diff --git a/content/snippets/react/s/use-component-will-unmount.md b/content/snippets/react/s/use-component-will-unmount.md index 200f211a69e..1dd48c3f3de 100644 --- a/content/snippets/react/s/use-component-will-unmount.md +++ b/content/snippets/react/s/use-component-will-unmount.md @@ -3,7 +3,6 @@ title: React useComponentWillUnmount hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: rocky-beach-3 dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/use-copy-to-clipboard.md b/content/snippets/react/s/use-copy-to-clipboard.md index 3afdb51f8c0..1714ce4f6c4 100644 --- a/content/snippets/react/s/use-copy-to-clipboard.md +++ b/content/snippets/react/s/use-copy-to-clipboard.md @@ -3,7 +3,6 @@ title: React useCopyToClipboard hook type: snippet language: react tags: [hooks,effect,state,callback] -author: chalarangelo cover: antelope dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-debounce.md b/content/snippets/react/s/use-debounce.md index d99b5323618..9565ba60204 100644 --- a/content/snippets/react/s/use-debounce.md +++ b/content/snippets/react/s/use-debounce.md @@ -3,7 +3,6 @@ title: React useDebounce hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: blue-bird dateModified: 2021-01-04 --- diff --git a/content/snippets/react/s/use-default.md b/content/snippets/react/s/use-default.md index 569d28925f4..ddbea63c919 100644 --- a/content/snippets/react/s/use-default.md +++ b/content/snippets/react/s/use-default.md @@ -3,7 +3,6 @@ title: React useDefault hook type: snippet language: react tags: [hooks,state] -author: chalarangelo cover: flower-portrait-8 dateModified: 2021-10-23 --- diff --git a/content/snippets/react/s/use-effect-once.md b/content/snippets/react/s/use-effect-once.md index bc03219079d..f355fc85719 100644 --- a/content/snippets/react/s/use-effect-once.md +++ b/content/snippets/react/s/use-effect-once.md @@ -3,7 +3,6 @@ title: React useEffectOnce hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: pop-of-green dateModified: 2021-11-16 --- diff --git a/content/snippets/react/s/use-effect-primitive-dependencies.md b/content/snippets/react/s/use-effect-primitive-dependencies.md index 548139c7bb5..2d6e0c786e4 100644 --- a/content/snippets/react/s/use-effect-primitive-dependencies.md +++ b/content/snippets/react/s/use-effect-primitive-dependencies.md @@ -4,7 +4,6 @@ shortTitle: Primitive useEffect dependencies type: tip language: react tags: [hooks,effect,object,comparison] -author: chalarangelo cover: automaton excerpt: Avoid unnecessary re-runs by using primitive dependencies in your React effect. dateModified: 2022-06-12 diff --git a/content/snippets/react/s/use-error.md b/content/snippets/react/s/use-error.md index 15c340e55c9..b359148828e 100644 --- a/content/snippets/react/s/use-error.md +++ b/content/snippets/react/s/use-error.md @@ -3,7 +3,6 @@ title: React useError hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: cloudy-mountaintop dateModified: 2021-09-30 --- diff --git a/content/snippets/react/s/use-event-listener.md b/content/snippets/react/s/use-event-listener.md index b825a81a7fe..ee14245759f 100644 --- a/content/snippets/react/s/use-event-listener.md +++ b/content/snippets/react/s/use-event-listener.md @@ -3,7 +3,6 @@ title: React useEventListener hook type: snippet language: react tags: [hooks,effect,event] -author: chalarangelo cover: beach-riders dateModified: 2021-09-01 --- diff --git a/content/snippets/react/s/use-fetch.md b/content/snippets/react/s/use-fetch.md index 442ae392906..16f52c73099 100644 --- a/content/snippets/react/s/use-fetch.md +++ b/content/snippets/react/s/use-fetch.md @@ -3,7 +3,6 @@ title: React useFetch hook type: snippet language: react tags: [hooks,effect,state] -author: chalarangelo cover: coworking-space dateModified: 2022-05-01 --- diff --git a/content/snippets/react/s/use-get-set.md b/content/snippets/react/s/use-get-set.md index c7b300d70ee..0676a7f7e39 100644 --- a/content/snippets/react/s/use-get-set.md +++ b/content/snippets/react/s/use-get-set.md @@ -3,7 +3,6 @@ title: React useGetSet hook type: snippet language: react tags: [hooks,state] -author: chalarangelo cover: interior-12 dateModified: 2021-10-27 --- diff --git a/content/snippets/react/s/use-hash.md b/content/snippets/react/s/use-hash.md index a1b730d4b2e..b533239dd34 100644 --- a/content/snippets/react/s/use-hash.md +++ b/content/snippets/react/s/use-hash.md @@ -3,7 +3,6 @@ title: React useHash hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: capsule-coffee dateModified: 2021-10-02 --- diff --git a/content/snippets/react/s/use-hover.md b/content/snippets/react/s/use-hover.md index 94e4facec19..db864fb024a 100644 --- a/content/snippets/react/s/use-hover.md +++ b/content/snippets/react/s/use-hover.md @@ -3,7 +3,6 @@ title: React useHover hook type: snippet language: react tags: [hooks,state,callback] -author: chalarangelo cover: camper-school-bus dateModified: 2021-10-05 --- diff --git a/content/snippets/react/s/use-intersection-observer.md b/content/snippets/react/s/use-intersection-observer.md index d9d96c913ac..17913cea52d 100644 --- a/content/snippets/react/s/use-intersection-observer.md +++ b/content/snippets/react/s/use-intersection-observer.md @@ -3,7 +3,6 @@ title: React useIntersectionObserver hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: light-leaves dateModified: 2021-09-10 --- diff --git a/content/snippets/react/s/use-interval-explained.md b/content/snippets/react/s/use-interval-explained.md index 9b146927a29..d54070b439f 100644 --- a/content/snippets/react/s/use-interval-explained.md +++ b/content/snippets/react/s/use-interval-explained.md @@ -4,7 +4,6 @@ shortTitle: Step-by-step useInterval hook type: story language: react tags: [hooks,effect] -author: chalarangelo cover: clock excerpt: Wrapping your mind around React hooks and how they interact with `setInterval()` can be difficult. Here's a guide to get you started. dateModified: 2021-09-28 diff --git a/content/snippets/react/s/use-interval.md b/content/snippets/react/s/use-interval.md index 368bcd0a38e..b31f3e77411 100644 --- a/content/snippets/react/s/use-interval.md +++ b/content/snippets/react/s/use-interval.md @@ -3,7 +3,6 @@ title: React useInterval hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: digital-nomad-13 dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-isomporphic-effect.md b/content/snippets/react/s/use-isomporphic-effect.md index a1a44e7713d..daef82f135c 100644 --- a/content/snippets/react/s/use-isomporphic-effect.md +++ b/content/snippets/react/s/use-isomporphic-effect.md @@ -3,7 +3,6 @@ title: React useIsomporphicEffect hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: jars-on-shelf-2 dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/use-key-press.md b/content/snippets/react/s/use-key-press.md index 7d4b1c0c121..888f6accf44 100644 --- a/content/snippets/react/s/use-key-press.md +++ b/content/snippets/react/s/use-key-press.md @@ -3,7 +3,6 @@ title: React useKeyPress hook type: snippet language: react tags: [hooks,state,effect,event] -author: chalarangelo cover: yellow-white-mug-1 dateModified: 2021-09-07 --- diff --git a/content/snippets/react/s/use-local-storage.md b/content/snippets/react/s/use-local-storage.md index 83a8670a244..0e41128bfdc 100644 --- a/content/snippets/react/s/use-local-storage.md +++ b/content/snippets/react/s/use-local-storage.md @@ -3,7 +3,6 @@ title: React useLocalStorage hook type: snippet language: react tags: [hooks,state] -author: chalarangelo cover: houses-rock-sea dateModified: 2021-09-13 --- diff --git a/content/snippets/react/s/use-map.md b/content/snippets/react/s/use-map.md index 24a4bb557aa..a9e35376e11 100644 --- a/content/snippets/react/s/use-map.md +++ b/content/snippets/react/s/use-map.md @@ -3,7 +3,6 @@ title: React useMap hook type: snippet language: react tags: [hooks,state] -author: chalarangelo cover: work-hard-computer dateModified: 2021-11-06 --- diff --git a/content/snippets/react/s/use-media-query.md b/content/snippets/react/s/use-media-query.md index 7ce7d63c7a6..1b2cc5e21cb 100644 --- a/content/snippets/react/s/use-media-query.md +++ b/content/snippets/react/s/use-media-query.md @@ -3,7 +3,6 @@ title: React useMediaQuery hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: clay-pot-horizon dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/use-merge-state.md b/content/snippets/react/s/use-merge-state.md index ec51ce620c7..f67a3f55ade 100644 --- a/content/snippets/react/s/use-merge-state.md +++ b/content/snippets/react/s/use-merge-state.md @@ -3,7 +3,6 @@ title: React useMergeState hook type: snippet language: react tags: [hooks,state] -author: chalarangelo cover: digital-nomad-6 dateModified: 2021-09-23 --- diff --git a/content/snippets/react/s/use-mutation-observer.md b/content/snippets/react/s/use-mutation-observer.md index 5a2b157fc2b..d705842697d 100644 --- a/content/snippets/react/s/use-mutation-observer.md +++ b/content/snippets/react/s/use-mutation-observer.md @@ -3,7 +3,6 @@ title: React useMutationObserver hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: lemon-tea dateModified: 2021-11-23 --- diff --git a/content/snippets/react/s/use-navigator-on-line.md b/content/snippets/react/s/use-navigator-on-line.md index 01b3f07d0fa..1526582abae 100644 --- a/content/snippets/react/s/use-navigator-on-line.md +++ b/content/snippets/react/s/use-navigator-on-line.md @@ -3,7 +3,6 @@ title: React useNavigatorOnLine hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: digital-nomad-7 dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-on-global-event.md b/content/snippets/react/s/use-on-global-event.md index 1671d202c18..eb1c11f9c7e 100644 --- a/content/snippets/react/s/use-on-global-event.md +++ b/content/snippets/react/s/use-on-global-event.md @@ -3,7 +3,6 @@ title: React useOnGlobalEvent hook type: snippet language: react tags: [hooks,effect,event] -author: chalarangelo cover: plant-corner dateModified: 2021-12-22 --- diff --git a/content/snippets/react/s/use-on-window-resize.md b/content/snippets/react/s/use-on-window-resize.md index 13757133c15..f23b0ec3fb7 100644 --- a/content/snippets/react/s/use-on-window-resize.md +++ b/content/snippets/react/s/use-on-window-resize.md @@ -3,7 +3,6 @@ title: React useOnWindowResize hook type: snippet language: react tags: [hooks,effect,event] -author: chalarangelo cover: flower-camera dateModified: 2021-12-01 --- diff --git a/content/snippets/react/s/use-on-window-scroll.md b/content/snippets/react/s/use-on-window-scroll.md index 7103c10fe34..7c0cd842fc0 100644 --- a/content/snippets/react/s/use-on-window-scroll.md +++ b/content/snippets/react/s/use-on-window-scroll.md @@ -3,7 +3,6 @@ title: React useOnWindowScroll hook type: snippet language: react tags: [hooks,effect,event] -author: chalarangelo cover: planning dateModified: 2021-12-08 --- diff --git a/content/snippets/react/s/use-persisted-state.md b/content/snippets/react/s/use-persisted-state.md index df7845c5552..5a1f5f7bcf9 100644 --- a/content/snippets/react/s/use-persisted-state.md +++ b/content/snippets/react/s/use-persisted-state.md @@ -3,7 +3,6 @@ title: React usePersistedState hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: red-berries dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/use-portal.md b/content/snippets/react/s/use-portal.md index cd711d59bf3..9f6ad05a794 100644 --- a/content/snippets/react/s/use-portal.md +++ b/content/snippets/react/s/use-portal.md @@ -3,7 +3,6 @@ title: React usePortal hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: interior-3 dateModified: 2022-01-05 --- diff --git a/content/snippets/react/s/use-previous.md b/content/snippets/react/s/use-previous.md index a7000ed560c..ab7544c1d8b 100644 --- a/content/snippets/react/s/use-previous.md +++ b/content/snippets/react/s/use-previous.md @@ -3,7 +3,6 @@ title: React usePrevious hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: couch-laptop dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-request-animation-frame.md b/content/snippets/react/s/use-request-animation-frame.md index d8842a8205f..2750d8ea1c1 100644 --- a/content/snippets/react/s/use-request-animation-frame.md +++ b/content/snippets/react/s/use-request-animation-frame.md @@ -3,7 +3,6 @@ title: React useRequestAnimationFrame hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: aerial-view-port dateModified: 2021-12-29 --- diff --git a/content/snippets/react/s/use-script.md b/content/snippets/react/s/use-script.md index b223fea187f..fbe0cf5fc37 100644 --- a/content/snippets/react/s/use-script.md +++ b/content/snippets/react/s/use-script.md @@ -3,7 +3,6 @@ title: React useScript hook type: snippet language: react tags: [hooks,effect,state,event] -author: chalarangelo cover: travel-mug-3 dateModified: 2021-10-08 --- diff --git a/content/snippets/react/s/use-search-param.md b/content/snippets/react/s/use-search-param.md index 8964bdda63d..6936d0423dc 100644 --- a/content/snippets/react/s/use-search-param.md +++ b/content/snippets/react/s/use-search-param.md @@ -3,7 +3,6 @@ title: React useSearchParam hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: coffee-phone-tray-3 dateModified: 2021-10-13 --- diff --git a/content/snippets/react/s/use-session-storage.md b/content/snippets/react/s/use-session-storage.md index 122227d1195..b20be3a3df9 100644 --- a/content/snippets/react/s/use-session-storage.md +++ b/content/snippets/react/s/use-session-storage.md @@ -3,7 +3,6 @@ title: React useSessionStorage hook type: snippet language: react tags: [hooks,state] -author: chalarangelo cover: white-laptop dateModified: 2021-09-15 --- diff --git a/content/snippets/react/s/use-set.md b/content/snippets/react/s/use-set.md index 8bef829bdf8..30f50b3fdbe 100644 --- a/content/snippets/react/s/use-set.md +++ b/content/snippets/react/s/use-set.md @@ -3,7 +3,6 @@ title: React useSet hook type: snippet language: react tags: [hooks,state] -author: chalarangelo cover: engine dateModified: 2021-11-01 --- diff --git a/content/snippets/react/s/use-ssr.md b/content/snippets/react/s/use-ssr.md index 7871b759785..abdfb20b18e 100644 --- a/content/snippets/react/s/use-ssr.md +++ b/content/snippets/react/s/use-ssr.md @@ -3,7 +3,6 @@ title: React useSSR hook type: snippet language: react tags: [hooks,effect,state,memo] -author: chalarangelo cover: interior-6 dateModified: 2021-03-10 --- diff --git a/content/snippets/react/s/use-state-with-label.md b/content/snippets/react/s/use-state-with-label.md index f52bee85d4f..79a20272eaa 100644 --- a/content/snippets/react/s/use-state-with-label.md +++ b/content/snippets/react/s/use-state-with-label.md @@ -4,7 +4,6 @@ shortTitle: Labelling useState values type: tip language: react tags: [hooks] -author: chalarangelo cover: bunny-poster excerpt: Multiple `useState` hooks in React can complicate things while debugging. Luckily, there's an easy way to label these values. dateModified: 2021-11-07 diff --git a/content/snippets/react/s/use-timeout.md b/content/snippets/react/s/use-timeout.md index 5e0fcb4c8a7..b494fc54c06 100644 --- a/content/snippets/react/s/use-timeout.md +++ b/content/snippets/react/s/use-timeout.md @@ -3,7 +3,6 @@ title: React useTimeout hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: interior-10 dateModified: 2020-11-16 --- diff --git a/content/snippets/react/s/use-title.md b/content/snippets/react/s/use-title.md index f775a051153..04b25ef1bc9 100644 --- a/content/snippets/react/s/use-title.md +++ b/content/snippets/react/s/use-title.md @@ -3,7 +3,6 @@ title: React useTitle hook type: snippet language: react tags: [hooks,effect] -author: chalarangelo cover: chubby-squirrel dateModified: 2021-09-27 --- diff --git a/content/snippets/react/s/use-toggler.md b/content/snippets/react/s/use-toggler.md index 4456c4d93ea..f77ccf10b14 100644 --- a/content/snippets/react/s/use-toggler.md +++ b/content/snippets/react/s/use-toggler.md @@ -3,7 +3,6 @@ title: React useToggler hook type: snippet language: react tags: [hooks,state,callback] -author: chalarangelo cover: tram-car-2 dateModified: 2020-11-27 --- diff --git a/content/snippets/react/s/use-update.md b/content/snippets/react/s/use-update.md index 31caf1fb90b..64fcd5ef409 100644 --- a/content/snippets/react/s/use-update.md +++ b/content/snippets/react/s/use-update.md @@ -3,7 +3,6 @@ title: React useUpdate hook type: snippet language: react tags: [components,reducer] -author: chalarangelo cover: lavender-shelf dateModified: 2021-09-24 --- diff --git a/content/snippets/react/s/use-window-size.md b/content/snippets/react/s/use-window-size.md index 76d514ce72a..61d7b26a2af 100644 --- a/content/snippets/react/s/use-window-size.md +++ b/content/snippets/react/s/use-window-size.md @@ -3,7 +3,6 @@ title: React useWindowSize hook type: snippet language: react tags: [hooks,state,effect] -author: chalarangelo cover: polar-bear dateModified: 2021-10-18 --- diff --git a/src/blocks/application.js b/src/blocks/application.js index 765ab7895de..3e04e3702c6 100644 --- a/src/blocks/application.js +++ b/src/blocks/application.js @@ -216,13 +216,12 @@ export class Application { Snippet, Collection, Language, - Author, SnippetPage, CollectionPage, CollectionsPage, HomePage, } = Application.models; - const { snippets, collections, languages, authors, collectionsHub } = + const { snippets, collections, languages, collectionsHub } = Application.datasetObject; const { featuredListings } = collectionsHub; const { @@ -232,9 +231,8 @@ export class Application { topCollectionChips, } = Application.settings.presentation; - // Populate languages, authors, snippets + // Populate languages, snippets languages.forEach(language => Language.createRecord(language)); - authors.forEach(author => Author.createRecord(author)); snippets.forEach(snippet => Snippet.createRecord(snippet)); // Populate collections diff --git a/src/blocks/extractor/extractor.js b/src/blocks/extractor/extractor.js index e24c6361a75..59d2987ac1a 100644 --- a/src/blocks/extractor/extractor.js +++ b/src/blocks/extractor/extractor.js @@ -19,7 +19,6 @@ export class Extractor { const { rawContentPath: contentDir } = pathSettings; const languageData = Extractor.extractLanguageData(contentDir); const collectionConfigs = Extractor.extractCollectionConfigs(contentDir); - const authors = Extractor.extractAuthors(contentDir); const snippets = await Extractor.extractSnippets(contentDir, languageData); const collectionsHubConfig = Extractor.extractCollectionsHubConfig(contentDir); @@ -27,7 +26,6 @@ export class Extractor { const data = { collections: collectionConfigs, snippets, - authors, languages: [...languageData].map(([id, data]) => { const { references, ...restData } = data; return { ...restData }; @@ -79,21 +77,6 @@ export class Extractor { return configs; }; - static extractAuthors = contentDir => { - const logger = new Logger('Extractor.extractAuthors'); - logger.log('Extracting authors'); - const authors = Object.entries( - YAMLHandler.fromFile(`${contentDir}/authors.yaml`) - ).map(([id, author]) => { - return { - ...author, - id, - }; - }); - logger.success('Finished extracting authors'); - return authors; - }; - static extractLanguageData = contentDir => { const logger = new Logger('Extractor.extractLanguageData'); logger.log('Extracting language data'); @@ -135,7 +118,6 @@ export class Extractor { language: languageKey, excerpt, cover, - author, dateModified, body, unlisted, @@ -232,7 +214,6 @@ export class Extractor { ...html, code, cover, - author, seoDescription, language: languageKey, }; diff --git a/src/blocks/extractor/textParser.js b/src/blocks/extractor/textParser.js index 1357c4d5761..fff6f034d34 100644 --- a/src/blocks/extractor/textParser.js +++ b/src/blocks/extractor/textParser.js @@ -17,7 +17,6 @@ export class TextParser { const { body, attributes } = frontmatter(content); const { dateModified = '2021-06-13', - author = null, language = null, ...restAttributes } = attributes; @@ -25,7 +24,6 @@ export class TextParser { body, ...restAttributes, dateModified: new Date(dateModified), - author, language, fileName, filePath, diff --git a/src/blocks/models/author.js b/src/blocks/models/author.js deleted file mode 100644 index 856bdf53992..00000000000 --- a/src/blocks/models/author.js +++ /dev/null @@ -1,19 +0,0 @@ -export const author = { - name: 'Author', - fields: { - name: 'string', - profile: 'string', - intro: 'string', - github: 'string', - }, - properties: { - contextObject: { - body: author => ({ - name: author.name, - intro: author.intro, - github: author.github, - }), - cache: true, - }, - }, -}; diff --git a/src/blocks/models/pages/snippetPage.js b/src/blocks/models/pages/snippetPage.js index 8405283ad11..611d0617a74 100644 --- a/src/blocks/models/pages/snippetPage.js +++ b/src/blocks/models/pages/snippetPage.js @@ -37,7 +37,6 @@ export const snippetPage = { description: snippet.shortText, cover: context.snippet.cover, dateModified: snippet.dateModified, - author: snippet.author, }); return context; diff --git a/src/blocks/schema.js b/src/blocks/schema.js index f276dcff0d2..fefa42e9f79 100644 --- a/src/blocks/schema.js +++ b/src/blocks/schema.js @@ -1,4 +1,3 @@ -import { author } from '#blocks/models/author'; import { collection } from '#blocks/models/collection'; import { language } from '#blocks/models/language'; import { snippet } from '#blocks/models/snippet'; @@ -16,7 +15,6 @@ import { snippetContextSerializer } from '#blocks/serializers/snippetContextSeri export default { models: [ // Main models - author, collection, language, snippet, @@ -34,11 +32,6 @@ export default { ], relationships: [ // Main models - { - from: { model: 'Snippet', name: 'author' }, - to: { model: 'Author', name: 'articles' }, - type: 'manyToOne', - }, { from: { model: 'Snippet', name: 'language' }, to: { model: 'Language', name: 'snippets' }, diff --git a/src/blocks/serializers/snippetContextSerializer.js b/src/blocks/serializers/snippetContextSerializer.js index 320da40da14..94bd16d4eca 100644 --- a/src/blocks/serializers/snippetContextSerializer.js +++ b/src/blocks/serializers/snippetContextSerializer.js @@ -4,8 +4,6 @@ export const snippetContextSerializer = { name: 'SnippetContextSerializer', methods: { code: snippet => snippet.code || undefined, - author: snippet => - snippet.author ? snippet.author.contextObject : undefined, coverUrl: snippet => `/${pathSettings.staticAssetPath}/cover/${snippet.cover}.jpg`, fullDescription: snippet => snippet.fullDescriptionHtml, @@ -19,7 +17,6 @@ export const snippetContextSerializer = { ['formattedTags', 'tags'], 'actionType', 'code', - 'author', ['coverUrl', 'cover'], ], }; diff --git a/src/blocks/utilities/schemer.js b/src/blocks/utilities/schemer.js index afaa61d6f03..9682e5f835a 100644 --- a/src/blocks/utilities/schemer.js +++ b/src/blocks/utilities/schemer.js @@ -1,40 +1,21 @@ import settings from '#settings/global'; -const { websiteUrl, orgName } = settings; +const { websiteUrl, ownerName, ownerUrl } = settings; const orgLogoSrc = '/assets/30s-icon.png'; /** * Utility for generating structured data for pages. */ export class Schemer { - static logo = { - '@type': 'ImageObject', - url: `${websiteUrl}${orgLogoSrc}`, - }; - - static organization = { - '@type': 'Organization', - name: orgName, - logo: Schemer.logo, - }; - static generateSnippetData = ({ title, slug, description, cover, dateModified, - author, }) => { const url = `${websiteUrl}${slug}`; const coverSrc = cover ? cover : orgLogoSrc; - const _author = author - ? { - '@type': 'Person', - name: author.name, - url: author.profile, - } - : Schemer.organization; return { '@context': 'https://schema.org', @@ -47,8 +28,7 @@ export class Schemer { image: `${websiteUrl}${coverSrc}`, datePublished: dateModified, dateModified, - author: _author, - publisher: Schemer.organization, + publisher: { '@type': 'Person', name: ownerName, url: ownerUrl }, }; }; diff --git a/src/components/SnippetCard.astro b/src/components/SnippetCard.astro index c9427a7cddf..a381e4d8569 100644 --- a/src/components/SnippetCard.astro +++ b/src/components/SnippetCard.astro @@ -23,27 +23,6 @@ const { snippet } = Astro.props; class='card-description flex flex-col' set:html={snippet.fullDescription} /> - { - snippet.author ? ( -- {snippet.author.intro} -
-- {'If you want to keep in touch, follow me on '} - - GitHub. -
-