chunk_id stringlengths 36 36 | source stringclasses 35
values | source_url stringlengths 0 290 | upstream_license stringclasses 1
value | document_id stringlengths 36 36 | chunk_index int64 0 324k | retrieved_at stringclasses 2
values | chunker_version stringclasses 4
values | content_hash stringlengths 15 64 | content stringlengths 50 44.7k | namespace stringclasses 9
values | source_name stringclasses 35
values | raw_text stringlengths 50 44.7k | cleaned_text stringlengths 50 44.7k | tags stringclasses 49
values | collection_name stringclasses 11
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ed02098-cbd6-44be-a666-bb657a7e568e | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 21 | SemanticChunker@1.0.0 | 0dbaf9cd809a17f853865227ea8795091090194e9af9b3a4baaa02f6b656b30e | **Tools:** Astro, jsiqle, Netlify, GitHub Actions · [Commit reference](https://github.com/30-seconds/30-seconds-of-code/commit/0b2b29c27948fd03112d38896776791bc2bdfc75)
After all the changes back and forth, it was starting to become clear that the separation between website infrastructure and content made little to no... | unknown | unknown | **Tools:** Astro, jsiqle, Netlify, GitHub Actions · [Commit reference](https://github.com/30-seconds/30-seconds-of-code/commit/0b2b29c27948fd03112d38896776791bc2bdfc75)
After all the changes back and forth, it was starting to become clear that the separation between website infrastructure and content made little to no... | **Tools:** Astro, jsiqle, Netlify, GitHub Actions · [Commit reference](https://github.com/30-seconds/30-seconds-of-code/commit/0b2b29c27948fd03112d38896776791bc2bdfc75)
After all the changes back and forth, it was starting to become clear that the separation between website infrastructure and content made little to no... | code_snippets | ||
1630e167-c04f-4143-9fc6-96df7b015a03 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 0 | SemanticChunker@1.0.0 | bbfb6847efd7fc8ff3d19163a1682f0c6a369b79546235826cb49fb30dbdad5e | ---
title: How 30 seconds of code is deployed
tags: [webdev]
cover: home-office-3
excerpt: A historical run-through of how 30 seconds of code was deployed then and now.
listed: true
dateModified: 2025-07-03
---
<style>
h2 > small {
display: block;
color: var(--color-text-lighter);
font-size: var(--font-md);
font-... | unknown | unknown | ---
title: How 30 seconds of code is deployed
tags: [webdev]
cover: home-office-3
excerpt: A historical run-through of how 30 seconds of code was deployed then and now.
listed: true
dateModified: 2025-07-03
---
<style>
h2 > small {
display: block;
color: var(--color-text-lighter);
font-size: var(--font-md);
font-... | ---
title: How 30 seconds of code is deployed
tags: [webdev]
cover: home-office-3
excerpt: A historical run-through of how 30 seconds of code was deployed then and now.
listed: true
dateModified: 2025-07-03
---
<style>
h2 > small {
display: block;
color: var(--color-text-lighter);
font-size: var(--font-md);
font-... | code_snippets | ||
1e17b0b2-5d25-4f22-b4af-70775c8b9389 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 16 | SemanticChunker@1.0.0 | 7cf6ae8ddb28535158149600f15ac40c844b0086cb8419f2f189527aa72b5612 | Using jsiqle removed a lot of the complexity from the website repository, allowing for simple [models](https://github.com/30-seconds/30-seconds-web/tree/9affd679c0a71173c1bbcc40206183c3d2b11f34/src/blocks/models) and [relationship definitions](https://github.com/30-seconds/30-seconds-web/blob/9affd679c0a71173c1bbcc4020... | unknown | unknown | Using jsiqle removed a lot of the complexity from the website repository, allowing for simple [models](https://github.com/30-seconds/30-seconds-web/tree/9affd679c0a71173c1bbcc40206183c3d2b11f34/src/blocks/models) and [relationship definitions](https://github.com/30-seconds/30-seconds-web/blob/9affd679c0a71173c1bbcc4020... | Using jsiqle removed a lot of the complexity from the website repository, allowing for simple [models](https://github.com/30-seconds/30-seconds-web/tree/9affd679c0a71173c1bbcc40206183c3d2b11f34/src/blocks/models) and [relationship definitions](https://github.com/30-seconds/30-seconds-web/blob/9affd679c0a71173c1bbcc4020... | code_snippets | ||
27914b18-5259-4a11-a9de-7992f28cf161 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 32 | SemanticChunker@1.0.0 | b8a230b61f0130f5cf7a077203d893b28cd924ea6f7344139e9a93193a8c4f42 | I wanted code tabs to work in the most frictionless way possible. This meant that I had to use a `details` element to wrap them, which made me resort to some pretty clever and complicated hacks to make them work. A simplified implementation is documented [here](https://www.30secondsofcode.org/css/s/details-tabbed-conte... | unknown | unknown | I wanted code tabs to work in the most frictionless way possible. This meant that I had to use a `details` element to wrap them, which made me resort to some pretty clever and complicated hacks to make them work. A simplified implementation is documented [here](https://www.30secondsofcode.org/css/s/details-tabbed-conte... | I wanted code tabs to work in the most frictionless way possible. This meant that I had to use a `details` element to wrap them, which made me resort to some pretty clever and complicated hacks to make them work. A simplified implementation is documented [here](https://www.30secondsofcode.org/css/s/details-tabbed-conte... | code_snippets | ||
28e52aff-a887-457c-be40-20c38ce37197 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 15 | SemanticChunker@1.0.0 | df944c1760ede595283087770916a51b2eb7cabd35422a2e3c55ed4e4dabfd7e | While the infrastructure was mostly stable, the build process was slow and clunky. Inspired by Object-Relational Mappings (ORMs) (mainly [Ruby on Rails](https://rubyonrails.org/)' [ActiveRecord](https://guides.rubyonrails.org/active_record_basics.html#what-is-active-record-questionmark)), I developed [jsiqle](https://g... | unknown | unknown | While the infrastructure was mostly stable, the build process was slow and clunky. Inspired by Object-Relational Mappings (ORMs) (mainly [Ruby on Rails](https://rubyonrails.org/)' [ActiveRecord](https://guides.rubyonrails.org/active_record_basics.html#what-is-active-record-questionmark)), I developed [jsiqle](https://g... | While the infrastructure was mostly stable, the build process was slow and clunky. Inspired by Object-Relational Mappings (ORMs) (mainly [Ruby on Rails](https://rubyonrails.org/)' [ActiveRecord](https://guides.rubyonrails.org/active_record_basics.html#what-is-active-record-questionmark)), I developed [jsiqle](https://g... | code_snippets | ||
2a72fb0e-06c6-41cb-b46e-ec6082fb9e62 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 29 | SemanticChunker@1.0.0 | 2c6e4b5b5b48870e267455d614baed1ad5f2d8afd90d6ccd1da79d79ad686a87 | Another major overhaul was the removal of [PrismJS](https://prismjs.com/) in favor of [Shiki](https://shiki.style/) for code highlights. This provided better grammars and syntax highlighting, allowing for more accurate, VS Code-like highlights. It also unlocked many new features, such as [bracket pair colorization](htt... | unknown | unknown | Another major overhaul was the removal of [PrismJS](https://prismjs.com/) in favor of [Shiki](https://shiki.style/) for code highlights. This provided better grammars and syntax highlighting, allowing for more accurate, VS Code-like highlights. It also unlocked many new features, such as [bracket pair colorization](htt... | Another major overhaul was the removal of [PrismJS](https://prismjs.com/) in favor of [Shiki](https://shiki.style/) for code highlights. This provided better grammars and syntax highlighting, allowing for more accurate, VS Code-like highlights. It also unlocked many new features, such as [bracket pair colorization](htt... | code_snippets | ||
2b036ec4-ffe3-447c-af5a-a07e4963c95f | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 19 | SemanticChunker@1.0.0 | 65e79be98a47501adfaf1a309c01b55d729873a5869bcef2bd1deef2968344f2 | Speaking of performance, both Astro and Next.js provide some asset optimization tooling, yet I chose to [roll up my own](https://github.com/30-seconds/30-seconds-web/blob/4dbad9aa9c2cdb6267eeeb92518067e7e4d3c6be/src/blocks/writers/assetWriter.js). Assets are loaded from a content repository and are then processed via [... | unknown | unknown | Speaking of performance, both Astro and Next.js provide some asset optimization tooling, yet I chose to [roll up my own](https://github.com/30-seconds/30-seconds-web/blob/4dbad9aa9c2cdb6267eeeb92518067e7e4d3c6be/src/blocks/writers/assetWriter.js). Assets are loaded from a content repository and are then processed via [... | Speaking of performance, both Astro and Next.js provide some asset optimization tooling, yet I chose to [roll up my own](https://github.com/30-seconds/30-seconds-web/blob/4dbad9aa9c2cdb6267eeeb92518067e7e4d3c6be/src/blocks/writers/assetWriter.js). Assets are loaded from a content repository and are then processed via [... | code_snippets | ||
3e53197e-af39-4f35-8510-1ef7e9bc082b | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 6 | SemanticChunker@1.0.0 | 2319e316a5106da05def3865d3845ea8a45ff4cfaf9a4a2f21147c63b855e79c | Not much had changed in the automated workflows, except for the introduction of some intermediary steps. One such step was the creation of a [JSON file](https://github.com/30-seconds/30-seconds-of-code/blob/e89d5fab140d00e37750ad8a44eabb1cb45d3a05/snippet_data/snippets.json) via the [extractor script](https://github.co... | unknown | unknown | Not much had changed in the automated workflows, except for the introduction of some intermediary steps. One such step was the creation of a [JSON file](https://github.com/30-seconds/30-seconds-of-code/blob/e89d5fab140d00e37750ad8a44eabb1cb45d3a05/snippet_data/snippets.json) via the [extractor script](https://github.co... | Not much had changed in the automated workflows, except for the introduction of some intermediary steps. One such step was the creation of a [JSON file](https://github.com/30-seconds/30-seconds-of-code/blob/e89d5fab140d00e37750ad8a44eabb1cb45d3a05/snippet_data/snippets.json) via the [extractor script](https://github.co... | code_snippets | ||
4cdc79f0-7c18-4621-a708-72ef8176b015 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 30 | SemanticChunker@1.0.0 | f8cdd66576afed36d50dd7c8891cf688f77c7e4ed1475dadf38d098b1533ad5b | Moreover, another addition was support for **Web Components** to enhance the content on various pages. These include, but are not limited to, the [table of contents scroll spy](https://github.com/Chalarangelo/30-seconds-of-code/commit/7afca7cdbf3116109225cf575a2373b9266bf61a), [code tabs](https://github.com/Chalarangel... | unknown | unknown | Moreover, another addition was support for **Web Components** to enhance the content on various pages. These include, but are not limited to, the [table of contents scroll spy](https://github.com/Chalarangelo/30-seconds-of-code/commit/7afca7cdbf3116109225cf575a2373b9266bf61a), [code tabs](https://github.com/Chalarangel... | Moreover, another addition was support for **Web Components** to enhance the content on various pages. These include, but are not limited to, the [table of contents scroll spy](https://github.com/Chalarangelo/30-seconds-of-code/commit/7afca7cdbf3116109225cf575a2373b9266bf61a), [code tabs](https://github.com/Chalarangel... | code_snippets | ||
5fe47ad1-3773-4d65-b7ea-1782b864225c | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 28 | SemanticChunker@1.0.0 | 73890c0480641c6909bb5f7a193fcb373a08975ecffd2d47aa8a1c031d42e654 | 
<figcaption>
30 seconds of code website circa Jun. 11th, 2025
</figcaption>
</figure>
**Tools:** Web Components, Astro, Cloudflare, GitHub Actions · [Commit reference](https://github.co... | unknown | unknown | 
<figcaption>
30 seconds of code website circa Jun. 11th, 2025
</figcaption>
</figure>
**Tools:** Web Components, Astro, Cloudflare, GitHub Actions · [Commit reference](https://github.co... | 
<figcaption>
30 seconds of code website circa Jun. 11th, 2025
</figcaption>
</figure>
**Tools:** Web Components, Astro, Cloudflare, GitHub Actions · [Commit reference](https://github.co... | code_snippets | ||
6039c72a-8c54-4c1a-abb7-d573adb314bc | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 24 | SemanticChunker@1.0.0 | 87dabf0e10b80ae72024d2902da843bb2182fedc0ad3cbdb872d58f7d3a19998 | **Watch mode** was implemented in an arbitrary fashion, making it slow and a little fiddly. However, it provided enough utility to keep around until later iterations, where I could make it more elegant and practical for my needs.
</details>
<h2>
<a id="rewrite-in-ruby-on-rails" href="#rewrite-in-ruby-on-rails">Rewri... | unknown | unknown | **Watch mode** was implemented in an arbitrary fashion, making it slow and a little fiddly. However, it provided enough utility to keep around until later iterations, where I could make it more elegant and practical for my needs.
</details>
<h2>
<a id="rewrite-in-ruby-on-rails" href="#rewrite-in-ruby-on-rails">Rewri... | **Watch mode** was implemented in an arbitrary fashion, making it slow and a little fiddly. However, it provided enough utility to keep around until later iterations, where I could make it more elegant and practical for my needs.
</details>
<h2>
<a id="rewrite-in-ruby-on-rails" href="#rewrite-in-ruby-on-rails">Rewri... | code_snippets | ||
61d0b270-039e-467a-8b49-e7087a1d76b0 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 13 | SemanticChunker@1.0.0 | d6f14f171b2bdf35b05ed331299f6c5cf4fe8b92156326cfbc0d3a4a397556fa | The extraction process used at the time might be worth explaining briefly, as it ties into the next milestone. A [handful of parsers](https://github.com/30-seconds/30-seconds-web/tree/e7b2b1ebfea7727a6b50add410d285ad6bc2945f/src/blocks/parsers) were created to read and parse files, converting Markdown and plaintext int... | unknown | unknown | The extraction process used at the time might be worth explaining briefly, as it ties into the next milestone. A [handful of parsers](https://github.com/30-seconds/30-seconds-web/tree/e7b2b1ebfea7727a6b50add410d285ad6bc2945f/src/blocks/parsers) were created to read and parse files, converting Markdown and plaintext int... | The extraction process used at the time might be worth explaining briefly, as it ties into the next milestone. A [handful of parsers](https://github.com/30-seconds/30-seconds-web/tree/e7b2b1ebfea7727a6b50add410d285ad6bc2945f/src/blocks/parsers) were created to read and parse files, converting Markdown and plaintext int... | code_snippets | ||
6ade01a1-307b-4cbd-b901-8d69bacd6cf2 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 27 | SemanticChunker@1.0.0 | f2be91c70cffd0e458d4bb68b816cc84bb405eb24b17917b3243e3477fccc48d | **Notifying Astro about changes** in content was tricky. To circumvent the issue, I devised a trick where a `timestamp.js` file is [generated](https://github.com/Chalarangelo/30-seconds-of-code/commit/109a3c06609807eaf88b5fb3edb0b6efb770e65d) at the end of each content rebuild. This is then [imported](https://github.co... | unknown | unknown | **Notifying Astro about changes** in content was tricky. To circumvent the issue, I devised a trick where a `timestamp.js` file is [generated](https://github.com/Chalarangelo/30-seconds-of-code/commit/109a3c06609807eaf88b5fb3edb0b6efb770e65d) at the end of each content rebuild. This is then [imported](https://github.co... | **Notifying Astro about changes** in content was tricky. To circumvent the issue, I devised a trick where a `timestamp.js` file is [generated](https://github.com/Chalarangelo/30-seconds-of-code/commit/109a3c06609807eaf88b5fb3edb0b6efb770e65d) at the end of each content rebuild. This is then [imported](https://github.co... | code_snippets | ||
797e5c66-7a9a-4873-a74e-0da8e23640f8 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 1 | SemanticChunker@1.0.0 | 84db92be18f6ca10a69383b99a1573dc9bd405d67c60b74bb29ac4b180466588 | Some [static Markdown parts](https://github.com/30-seconds/30-seconds-of-code/tree/bf855e55e228991e864adc245504099df8342699/static-parts) were used for the file's header and footer and a [builder script](https://github.com/30-seconds/30-seconds-of-code/blob/bf855e55e228991e864adc245504099df8342699/scripts/builder.js) w... | unknown | unknown | Some [static Markdown parts](https://github.com/30-seconds/30-seconds-of-code/tree/bf855e55e228991e864adc245504099df8342699/static-parts) were used for the file's header and footer and a [builder script](https://github.com/30-seconds/30-seconds-of-code/blob/bf855e55e228991e864adc245504099df8342699/scripts/builder.js) w... | Some [static Markdown parts](https://github.com/30-seconds/30-seconds-of-code/tree/bf855e55e228991e864adc245504099df8342699/static-parts) were used for the file's header and footer and a [builder script](https://github.com/30-seconds/30-seconds-of-code/blob/bf855e55e228991e864adc245504099df8342699/scripts/builder.js) w... | code_snippets | ||
8648bf3c-1fa8-4acd-a253-f4bfb3b84d9f | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 26 | SemanticChunker@1.0.0 | dc79744cec4d6817d4fad7c5cf49729defe901cdfcd09078e2596190ef7fe1ec | Porting from Ruby back to JS took about a week, right before the summer break, and it was not particularly hard, as I was relatively fluent in both languages. The **performance** improved quite a bit, even compared to the setup I had prior to the Ruby on Rails rewrite.
A notable update at this time is the **custom mod... | unknown | unknown | Porting from Ruby back to JS took about a week, right before the summer break, and it was not particularly hard, as I was relatively fluent in both languages. The **performance** improved quite a bit, even compared to the setup I had prior to the Ruby on Rails rewrite.
A notable update at this time is the **custom mod... | Porting from Ruby back to JS took about a week, right before the summer break, and it was not particularly hard, as I was relatively fluent in both languages. The **performance** improved quite a bit, even compared to the setup I had prior to the Ruby on Rails rewrite.
A notable update at this time is the **custom mod... | code_snippets | ||
950e000f-1361-4fbe-ab9a-282d8d27d98e | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 20 | SemanticChunker@1.0.0 | 43e0d7fad6c4189e9dceb0d11da516532e8e0401b176cbd7d0809e900ac47bd4 | As community contributions were way lower, maintaining a handful of content repositories wasn't justified. Additionally, structural changes to how Markdown files were written required committing changes to 5 different repositories - a problem I was all too familiar with.
Merging all content repositories sounded exciti... | unknown | unknown | As community contributions were way lower, maintaining a handful of content repositories wasn't justified. Additionally, structural changes to how Markdown files were written required committing changes to 5 different repositories - a problem I was all too familiar with.
Merging all content repositories sounded exciti... | As community contributions were way lower, maintaining a handful of content repositories wasn't justified. Additionally, structural changes to how Markdown files were written required committing changes to 5 different repositories - a problem I was all too familiar with.
Merging all content repositories sounded exciti... | code_snippets | ||
955d5123-7d76-4b8f-b1ad-61a1ad3e8ba9 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 3 | SemanticChunker@1.0.0 | 8b27878290a0b79e8450c4d010c8dd6780c04b7b7a768a9561b3371062e37348 | Alongside the previous build script, a new [web script](https://github.com/30-seconds/30-seconds-of-code/blob/ed1170168357a9716751c596816040e7b751deeb/scripts/web.js) was added. It followed a very similar pattern, generating an **HTML page**, clearly inspired by [Lodash's website](https://lodash.com/docs/4.17.15). The ... | unknown | unknown | Alongside the previous build script, a new [web script](https://github.com/30-seconds/30-seconds-of-code/blob/ed1170168357a9716751c596816040e7b751deeb/scripts/web.js) was added. It followed a very similar pattern, generating an **HTML page**, clearly inspired by [Lodash's website](https://lodash.com/docs/4.17.15). The ... | Alongside the previous build script, a new [web script](https://github.com/30-seconds/30-seconds-of-code/blob/ed1170168357a9716751c596816040e7b751deeb/scripts/web.js) was added. It followed a very similar pattern, generating an **HTML page**, clearly inspired by [Lodash's website](https://lodash.com/docs/4.17.15). The ... | code_snippets | ||
9a381d45-294b-45d2-8963-12c61d7ae996 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 2 | SemanticChunker@1.0.0 | 32aeed66fa1c8a1ebeb617df3c9754a4db7e771f7cc6893b6ae2c769f840cff5 | Using the token, stored in an **environment variable** on GitHub, as part of a special URL one can push code from the token authorizer's account to the repository (provided the author has sufficient access). The rest of the command is written in such a way to **prevent outputting the token into the logs** and exposing ... | unknown | unknown | Using the token, stored in an **environment variable** on GitHub, as part of a special URL one can push code from the token authorizer's account to the repository (provided the author has sufficient access). The rest of the command is written in such a way to **prevent outputting the token into the logs** and exposing ... | Using the token, stored in an **environment variable** on GitHub, as part of a special URL one can push code from the token authorizer's account to the repository (provided the author has sufficient access). The rest of the command is written in such a way to **prevent outputting the token into the logs** and exposing ... | code_snippets | ||
b4415e2a-bb5e-4af0-ba52-8ee710e96e34 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 17 | SemanticChunker@1.0.0 | 5e570fa78d0d607ea7d60c05a621b2d0232ab0d775b35cf87d66f0c2cd0b21b0 | One of the conveniences afforded by jsiqle is the ability to have an interactive Node.js terminal (via the [`npm console`](https://github.com/30-seconds/30-seconds-web/blob/9affd679c0a71173c1bbcc40206183c3d2b11f34/package.json#L61) command). This allows developers to **query the extracted dataset**, much like they can ... | unknown | unknown | One of the conveniences afforded by jsiqle is the ability to have an interactive Node.js terminal (via the [`npm console`](https://github.com/30-seconds/30-seconds-web/blob/9affd679c0a71173c1bbcc40206183c3d2b11f34/package.json#L61) command). This allows developers to **query the extracted dataset**, much like they can ... | One of the conveniences afforded by jsiqle is the ability to have an interactive Node.js terminal (via the [`npm console`](https://github.com/30-seconds/30-seconds-web/blob/9affd679c0a71173c1bbcc40206183c3d2b11f34/package.json#L61) command). This allows developers to **query the extracted dataset**, much like they can ... | code_snippets | ||
b7483eae-7627-48ee-bcdc-db530a90a275 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 8 | SemanticChunker@1.0.0 | f90d66a7ef82e564ae5293765f45d3a6b5039c3d500904f5f1a793f2608165a0 | <figcaption>
Current DNS setup on Namecheap, showing old subdomain setup
</figcaption>
</figure>
Each repository maintained its own website instance, all under the same domain name, but individual **subdomains** (e.g. `css.30secondsofcode.org`). The infrastructure was pretty much the same for each repository, with un... | unknown | unknown | <figcaption>
Current DNS setup on Namecheap, showing old subdomain setup
</figcaption>
</figure>
Each repository maintained its own website instance, all under the same domain name, but individual **subdomains** (e.g. `css.30secondsofcode.org`). The infrastructure was pretty much the same for each repository, with un... | <figcaption>
Current DNS setup on Namecheap, showing old subdomain setup
</figcaption>
</figure>
Each repository maintained its own website instance, all under the same domain name, but individual **subdomains** (e.g. `css.30secondsofcode.org`). The infrastructure was pretty much the same for each repository, with un... | code_snippets | ||
ccecaa5b-27a9-4c5d-b6bd-8f64135683c5 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 11 | SemanticChunker@1.0.0 | 15ffba078c9467d5b3056e1083d4c8ced04455b21d2084be0407d877ff95aa7d | In order to make this work correctly, a [`prebuild` command](https://github.com/30-seconds/30-seconds-web/blob/14d4655fe5aa6e9026ac7bf033a52029354a372a/package.json#L78) was added to `package.json`, performing the content update whenever `npm build` (the Gatsby build) was run.
Some additional utilities and functionali... | unknown | unknown | In order to make this work correctly, a [`prebuild` command](https://github.com/30-seconds/30-seconds-web/blob/14d4655fe5aa6e9026ac7bf033a52029354a372a/package.json#L78) was added to `package.json`, performing the content update whenever `npm build` (the Gatsby build) was run.
Some additional utilities and functionali... | In order to make this work correctly, a [`prebuild` command](https://github.com/30-seconds/30-seconds-web/blob/14d4655fe5aa6e9026ac7bf033a52029354a372a/package.json#L78) was added to `package.json`, performing the content update whenever `npm build` (the Gatsby build) was run.
Some additional utilities and functionali... | code_snippets | ||
d13d961f-1c72-4dd7-9ce8-fec2eb6c88dd | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 12 | SemanticChunker@1.0.0 | a05f03841f6c16d4d7db876cd877838c951c39dd827f2bb03fa0f0ecfa613586 | <h2>
<a id="replacing-gatsby-with-nextjs" href="#replacing-gatsby-with-nextjs">Replacing Gatsby with Next.js</a>
<small>Early 2021</small>
</h2>
<figure>

<figcaption>
30 seconds of code websit... | unknown | unknown | <h2>
<a id="replacing-gatsby-with-nextjs" href="#replacing-gatsby-with-nextjs">Replacing Gatsby with Next.js</a>
<small>Early 2021</small>
</h2>
<figure>

<figcaption>
30 seconds of code websit... | <h2>
<a id="replacing-gatsby-with-nextjs" href="#replacing-gatsby-with-nextjs">Replacing Gatsby with Next.js</a>
<small>Early 2021</small>
</h2>
<figure>

<figcaption>
30 seconds of code websit... | code_snippets | ||
d47d783e-2114-45f5-81e8-77fa5e0cbac4 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 5 | SemanticChunker@1.0.0 | 03b0411e4c9da7baee8e2c68d1c7982a5e10e93f0d706d4238bfc794af9273a6 | <details>
<summary> <h3>Trivia</h3> </summary>
2018 was a year of experimentation. New **side projects** came and went, such as a localization effort, a JS glossary and a snippet archive. Traces of these experiments can be found in the commit history of the repository.
At this time, the website was only comprised of ... | unknown | unknown | <details>
<summary> <h3>Trivia</h3> </summary>
2018 was a year of experimentation. New **side projects** came and went, such as a localization effort, a JS glossary and a snippet archive. Traces of these experiments can be found in the commit history of the repository.
At this time, the website was only comprised of ... | <details>
<summary> <h3>Trivia</h3> </summary>
2018 was a year of experimentation. New **side projects** came and went, such as a localization effort, a JS glossary and a snippet archive. Traces of these experiments can be found in the commit history of the repository.
At this time, the website was only comprised of ... | code_snippets | ||
d9d7ab98-ee69-4e14-b78c-15565ace5405 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 22 | SemanticChunker@1.0.0 | 10123e5b40a362eb9d63c6b5be2f5f925c077b5599ced141b7b98000a6e8c7dc | 
<figcaption>
Changing the deployment repository in Netlify's UI
</figcaption>
</figure>
Another point of interest is the changes that I had to make to the **Netlify configuration**. I wa... | unknown | unknown | 
<figcaption>
Changing the deployment repository in Netlify's UI
</figcaption>
</figure>
Another point of interest is the changes that I had to make to the **Netlify configuration**. I wa... | 
<figcaption>
Changing the deployment repository in Netlify's UI
</figcaption>
</figure>
Another point of interest is the changes that I had to make to the **Netlify configuration**. I wa... | code_snippets | ||
dbbd7d87-cac6-43dc-a156-fac86adb15b2 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 4 | SemanticChunker@1.0.0 | 3aca519871361d7701f97110ac8862bcaf722c17d4dda97a504f45d7955ce3fd | <h2>
<a id="multi-page-website" href="#multi-page-website">Multi-page website</a>
<small>Early to mid 2018</small>
</h2>
<figure>

<figcaption>
30 seconds of code website circa Apr. 13th, 2... | unknown | unknown | <h2>
<a id="multi-page-website" href="#multi-page-website">Multi-page website</a>
<small>Early to mid 2018</small>
</h2>
<figure>

<figcaption>
30 seconds of code website circa Apr. 13th, 2... | <h2>
<a id="multi-page-website" href="#multi-page-website">Multi-page website</a>
<small>Early to mid 2018</small>
</h2>
<figure>

<figcaption>
30 seconds of code website circa Apr. 13th, 2... | code_snippets | ||
dc9c357f-293f-466e-ac6b-357c36a47fc5 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 18 | SemanticChunker@1.0.0 | 5a4824e92d7c12e476044934628468bf314bffcd9572618b7e2d6dbbe7e4861c | Next.js was starting to get in the way more so than anything else. React was also not necessary in most cases, slowing down the page. A return to **static site generation** (SSG) was justified, and [Astro](https://astro.build/) was the perfect tool, combining flexibility and simplicity.
The migration from Next.js was ... | unknown | unknown | Next.js was starting to get in the way more so than anything else. React was also not necessary in most cases, slowing down the page. A return to **static site generation** (SSG) was justified, and [Astro](https://astro.build/) was the perfect tool, combining flexibility and simplicity.
The migration from Next.js was ... | Next.js was starting to get in the way more so than anything else. React was also not necessary in most cases, slowing down the page. A return to **static site generation** (SSG) was justified, and [Astro](https://astro.build/) was the perfect tool, combining flexibility and simplicity.
The migration from Next.js was ... | code_snippets | ||
e8050892-8c5a-4ac8-89c1-3004214ee08b | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 25 | SemanticChunker@1.0.0 | 5f27d9496b7f2f9dd4f835fca303b27efa14c6d0ab88cad9eaf0ad985715132f | Finally, rake tasks and serializers were used to output JSON data in the same structure as before to then feed into Astro.
<details>
<summary> <h3>Trivia</h3> </summary>
While this approach made it a lot easier to query data and optimize structures, it was relatively slow, mainly due to the **I/O overhead** needed fo... | unknown | unknown | Finally, rake tasks and serializers were used to output JSON data in the same structure as before to then feed into Astro.
<details>
<summary> <h3>Trivia</h3> </summary>
While this approach made it a lot easier to query data and optimize structures, it was relatively slow, mainly due to the **I/O overhead** needed fo... | Finally, rake tasks and serializers were used to output JSON data in the same structure as before to then feed into Astro.
<details>
<summary> <h3>Trivia</h3> </summary>
While this approach made it a lot easier to query data and optimize structures, it was relatively slow, mainly due to the **I/O overhead** needed fo... | code_snippets | ||
e86d4222-d1a6-41f6-a788-9d138d61b7ba | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 7 | SemanticChunker@1.0.0 | a040128f936403458079c50d69e55c083875d4c0ed3a4a9cb251517cf6a23204 | <figcaption>
30 seconds of code website circa Oct. 31st, 2019
</figcaption>
</figure>
**Tools:** Gatsby, React, Travis CI, Netlify · [Commit reference](https://github.com/30-seconds/30-seconds-of-code/commit/f3258d4eea951690f61c42daede52c7650309909)
The first half of 2019 was mostly quiet. However, during the summer... | unknown | unknown | <figcaption>
30 seconds of code website circa Oct. 31st, 2019
</figcaption>
</figure>
**Tools:** Gatsby, React, Travis CI, Netlify · [Commit reference](https://github.com/30-seconds/30-seconds-of-code/commit/f3258d4eea951690f61c42daede52c7650309909)
The first half of 2019 was mostly quiet. However, during the summer... | <figcaption>
30 seconds of code website circa Oct. 31st, 2019
</figcaption>
</figure>
**Tools:** Gatsby, React, Travis CI, Netlify · [Commit reference](https://github.com/30-seconds/30-seconds-of-code/commit/f3258d4eea951690f61c42daede52c7650309909)
The first half of 2019 was mostly quiet. However, during the summer... | code_snippets | ||
eb80143d-ad58-46fa-85fe-1de17086591e | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 23 | SemanticChunker@1.0.0 | 5c5423af8beae58830479b4dd8c805cbbe697436eae3215a7c851686ff993573 | Some changes that were made include, but are not limited to, [an updated MarkDown parser](https://github.com/Chalarangelo/30-seconds-of-code/commit/9e4c3b62f78d4bb6c069ce0f169108322c1a568e), the addition of [automated CodePen embeds](https://github.com/Chalarangelo/30-seconds-of-code/commit/c54928cb23749ad42af3d27100d6... | unknown | unknown | Some changes that were made include, but are not limited to, [an updated MarkDown parser](https://github.com/Chalarangelo/30-seconds-of-code/commit/9e4c3b62f78d4bb6c069ce0f169108322c1a568e), the addition of [automated CodePen embeds](https://github.com/Chalarangelo/30-seconds-of-code/commit/c54928cb23749ad42af3d27100d6... | Some changes that were made include, but are not limited to, [an updated MarkDown parser](https://github.com/Chalarangelo/30-seconds-of-code/commit/9e4c3b62f78d4bb6c069ce0f169108322c1a568e), the addition of [automated CodePen embeds](https://github.com/Chalarangelo/30-seconds-of-code/commit/c54928cb23749ad42af3d27100d6... | code_snippets | ||
ec9669b7-1296-4a73-ad73-28d3dedc1c0f | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 10 | SemanticChunker@1.0.0 | 007a30f2941abd1aeaec466312d9fdab33eef7448f0c871286754da84c1f2736 | As mentioned previously, maintaining a handful of repositories and websites was close to impossible. The decision was taken to move the website infrastructure to its own repository (30-seconds-web) and use [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to fetch the [content repositories](https://... | unknown | unknown | As mentioned previously, maintaining a handful of repositories and websites was close to impossible. The decision was taken to move the website infrastructure to its own repository (30-seconds-web) and use [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to fetch the [content repositories](https://... | As mentioned previously, maintaining a handful of repositories and websites was close to impossible. The decision was taken to move the website infrastructure to its own repository (30-seconds-web) and use [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to fetch the [content repositories](https://... | code_snippets | ||
f6e3697f-c719-4901-9b50-9b24d168b182 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 14 | SemanticChunker@1.0.0 | 4a3854e11bd40e03037aaa5def0178df3c888c040d8cc0e7bd126a6601d0950a | Another interesting addition is the [Twitter bot](https://github.com/30-seconds/30-seconds-web/blob/e7b2b1ebfea7727a6b50add410d285ad6bc2945f/.github/workflows/tweet.yml) workflow. This GitHub Action used a JSON file that was **randomized each deployment**, generated by a [script called chirp](https://github.com/30-seco... | unknown | unknown | Another interesting addition is the [Twitter bot](https://github.com/30-seconds/30-seconds-web/blob/e7b2b1ebfea7727a6b50add410d285ad6bc2945f/.github/workflows/tweet.yml) workflow. This GitHub Action used a JSON file that was **randomized each deployment**, generated by a [script called chirp](https://github.com/30-seco... | Another interesting addition is the [Twitter bot](https://github.com/30-seconds/30-seconds-web/blob/e7b2b1ebfea7727a6b50add410d285ad6bc2945f/.github/workflows/tweet.yml) workflow. This GitHub Action used a JSON file that was **randomized each deployment**, generated by a [script called chirp](https://github.com/30-seco... | code_snippets | ||
f8df8467-651b-40c2-a909-9e48e1d728ef | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 31 | SemanticChunker@1.0.0 | b3ba4dd5ac66f21137830627ad9cfaed2107d3b3cfd320c0cb38077b167a1245 | Finally, I moved the website to [Cloudflare Pages](https://pages.cloudflare.com/) for hosting, as it provided a better experience and more features than Netlify (namely **integrated Web Analytics** and **AI Bot protection**). The website is now served from [Cloudflare](https://www.cloudflare.com/)'s edge network, which... | unknown | unknown | Finally, I moved the website to [Cloudflare Pages](https://pages.cloudflare.com/) for hosting, as it provided a better experience and more features than Netlify (namely **integrated Web Analytics** and **AI Bot protection**). The website is now served from [Cloudflare](https://www.cloudflare.com/)'s edge network, which... | Finally, I moved the website to [Cloudflare Pages](https://pages.cloudflare.com/) for hosting, as it provided a better experience and more features than Netlify (namely **integrated Web Analytics** and **AI Bot protection**). The website is now served from [Cloudflare](https://www.cloudflare.com/)'s edge network, which... | code_snippets | ||
fcb04897-15c6-4504-a2f6-898db28e4f7c | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/how-30-seconds-of-code-is-deployed.md | unknown | 89808e73-6bfb-46c2-89c8-d6b343afd7e3 | 9 | SemanticChunker@1.0.0 | 079c73ba160760ad61466614067335944b37a9c6d96da9868520c69ca13790de | Getting the rights to all the repositories was not easy. Some maintainers wanted to retain their autonomy, others were completely indifferent and some were nowhere to be found. One of the repositories' original owner had disappeared from GitHub and it took a lot of searching to track the down on Reddit and ask them to ... | unknown | unknown | Getting the rights to all the repositories was not easy. Some maintainers wanted to retain their autonomy, others were completely indifferent and some were nowhere to be found. One of the repositories' original owner had disappeared from GitHub and it took a lot of searching to track the down on Reddit and ask them to ... | Getting the rights to all the repositories was not easy. Some maintainers wanted to retain their autonomy, others were completely indifferent and some were nowhere to be found. One of the repositories' original owner had disappeared from GitHub and it took a lot of searching to track the down on Reddit and ask them to ... | code_snippets | ||
0990954b-3d04-4abe-a779-12e625a7a9c7 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/tech-stack-refactoring-problems.md | unknown | 929d0a6f-610a-4674-9ba4-6c74324f9ee3 | 1 | SemanticChunker@1.0.0 | 7496b3c45ca7f8f1c6f5b8493de19f2375148479b28ae5d6405716a67c65c8e6 | [Infinite flexibility, painful refactoring]
## Infinite flexibility, painful refactoring
**Flexible languages** like JavaScript and Python give you endless ways to solve a problem. That freedom feels empowering, but it comes with a catch. Every new feature, syntax, or method is a **potential footgun**. You can shoot ... | unknown | unknown | [Infinite flexibility, painful refactoring]
## Infinite flexibility, painful refactoring
**Flexible languages** like JavaScript and Python give you endless ways to solve a problem. That freedom feels empowering, but it comes with a catch. Every new feature, syntax, or method is a **potential footgun**. You can shoot ... | [Infinite flexibility, painful refactoring]
## Infinite flexibility, painful refactoring
**Flexible languages** like JavaScript and Python give you endless ways to solve a problem. That freedom feels empowering, but it comes with a catch. Every new feature, syntax, or method is a **potential footgun**. You can shoot ... | code_snippets | ||
384291b1-85b1-4cea-9655-eb4083c29640 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/tech-stack-refactoring-problems.md | unknown | 929d0a6f-610a-4674-9ba4-6c74324f9ee3 | 3 | SemanticChunker@1.0.0 | 1b19ae246cdff98723d03d8da1293575ffa71dc617ff2cc2e0c7e15ecb158af3 | [Infinite flexibility, painful refactoring > Overengineering and technical debt]
## Overengineering and technical debt
Before you add another method or another overload, **stop**. **Rethink your API**. Rethink your module boundaries. Would **splitting your code into smaller, focused modules** help? Would **making you... | unknown | unknown | [Infinite flexibility, painful refactoring > Overengineering and technical debt]
## Overengineering and technical debt
Before you add another method or another overload, **stop**. **Rethink your API**. Rethink your module boundaries. Would **splitting your code into smaller, focused modules** help? Would **making you... | [Infinite flexibility, painful refactoring > Overengineering and technical debt]
## Overengineering and technical debt
Before you add another method or another overload, **stop**. **Rethink your API**. Rethink your module boundaries. Would **splitting your code into smaller, focused modules** help? Would **making you... | code_snippets | ||
72cb1570-a5d5-4ee2-bda8-81c83a498b67 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/tech-stack-refactoring-problems.md | unknown | 929d0a6f-610a-4674-9ba4-6c74324f9ee3 | 4 | SemanticChunker@1.0.0 | cfa204ca2eefc58435987403702ed9338f44b693b1f9133791a31d8b431d16b4 | [Infinite flexibility, painful refactoring > Keep it simple, force good design]
## Keep it simple, force good design
Pause. **Redesign** your code. Make it simple. Split it into **modules** if needed. Force good design decisions. Make usage **explicit**. Favor **clear APIs** over clever ones. Every time you touch you... | unknown | unknown | [Infinite flexibility, painful refactoring > Keep it simple, force good design]
## Keep it simple, force good design
Pause. **Redesign** your code. Make it simple. Split it into **modules** if needed. Force good design decisions. Make usage **explicit**. Favor **clear APIs** over clever ones. Every time you touch you... | [Infinite flexibility, painful refactoring > Keep it simple, force good design]
## Keep it simple, force good design
Pause. **Redesign** your code. Make it simple. Split it into **modules** if needed. Force good design decisions. Make usage **explicit**. Favor **clear APIs** over clever ones. Every time you touch you... | code_snippets | ||
8f094c26-5bad-4a00-941a-bd70bc98cc54 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/tech-stack-refactoring-problems.md | unknown | 929d0a6f-610a-4674-9ba4-6c74324f9ee3 | 0 | SemanticChunker@1.0.0 | 48576573826a03f8b6733f774de25d99a635ba6d3fedde6ad2417054009d7933 | ---
title: How your tech stack is causing your refactoring problems
shortTitle: Tech stack refactoring problems
language: javascript
tags: [webdev,career,programming]
cover: laptop-hands
excerpt: Infinite flexibility in your tech stack can lead to refactoring headaches and technical debt. Here's how to avoid the trap.
... | unknown | unknown | ---
title: How your tech stack is causing your refactoring problems
shortTitle: Tech stack refactoring problems
language: javascript
tags: [webdev,career,programming]
cover: laptop-hands
excerpt: Infinite flexibility in your tech stack can lead to refactoring headaches and technical debt. Here's how to avoid the trap.
... | ---
title: How your tech stack is causing your refactoring problems
shortTitle: Tech stack refactoring problems
language: javascript
tags: [webdev,career,programming]
cover: laptop-hands
excerpt: Infinite flexibility in your tech stack can lead to refactoring headaches and technical debt. Here's how to avoid the trap.
... | code_snippets | ||
c931a148-6002-4b1d-8ded-6eeb580b4f8a | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/tech-stack-refactoring-problems.md | unknown | 929d0a6f-610a-4674-9ba4-6c74324f9ee3 | 2 | SemanticChunker@1.0.0 | 230c4566a86567c25404af299150d88fc03a0e41cd12e2f81e324e26ce433df8 | [Infinite flexibility, painful refactoring > Opinionated stacks force better design]
## Opinionated stacks force better design
Languages like Go are (in)famously **opinionated**. They do not let you overload functions or invent alternative syntax for the same operation. You have to **pause and rethink your approach**... | unknown | unknown | [Infinite flexibility, painful refactoring > Opinionated stacks force better design]
## Opinionated stacks force better design
Languages like Go are (in)famously **opinionated**. They do not let you overload functions or invent alternative syntax for the same operation. You have to **pause and rethink your approach**... | [Infinite flexibility, painful refactoring > Opinionated stacks force better design]
## Opinionated stacks force better design
Languages like Go are (in)famously **opinionated**. They do not let you overload functions or invent alternative syntax for the same operation. You have to **pause and rethink your approach**... | code_snippets | ||
2fe041a8-d25c-4790-8116-d2868bb67d97 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/the-frontend-trap.md | unknown | 5cbc1e38-0e47-4365-a25e-005282831536 | 4 | SemanticChunker@1.0.0 | 6dd29e17ff866eefb4c25dc5796fe7679c12fd684172454bdd1c28d00c23ba9b | [The limits of frontend work > Stay curious, stay relevant]
## Stay curious, stay relevant
In conclusion, what was my answer? That it's better to **diversify your skills** than to go super deep into just frontend development. The landscape changes fast. What's relevant today might be legacy knowledge tomorrow. Rememb... | unknown | unknown | [The limits of frontend work > Stay curious, stay relevant]
## Stay curious, stay relevant
In conclusion, what was my answer? That it's better to **diversify your skills** than to go super deep into just frontend development. The landscape changes fast. What's relevant today might be legacy knowledge tomorrow. Rememb... | [The limits of frontend work > Stay curious, stay relevant]
## Stay curious, stay relevant
In conclusion, what was my answer? That it's better to **diversify your skills** than to go super deep into just frontend development. The landscape changes fast. What's relevant today might be legacy knowledge tomorrow. Rememb... | code_snippets | ||
36cd32f6-6040-4937-9265-c1ec53b9e1be | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/the-frontend-trap.md | unknown | 5cbc1e38-0e47-4365-a25e-005282831536 | 1 | SemanticChunker@1.0.0 | 72ae6a8cf3a11dd3be297158c1d143112eb0f4b38567110b60e0f71b24445e4a | [The limits of frontend work]
## The limits of frontend work
Starting with something obvious to me, I mentioned that **some high-level problems simply don't exist on the frontend**. You rarely worry about distributed systems, data consistency, or scaling a service to millions of users. Most frontend work revolves aro... | unknown | unknown | [The limits of frontend work]
## The limits of frontend work
Starting with something obvious to me, I mentioned that **some high-level problems simply don't exist on the frontend**. You rarely worry about distributed systems, data consistency, or scaling a service to millions of users. Most frontend work revolves aro... | [The limits of frontend work]
## The limits of frontend work
Starting with something obvious to me, I mentioned that **some high-level problems simply don't exist on the frontend**. You rarely worry about distributed systems, data consistency, or scaling a service to millions of users. Most frontend work revolves aro... | code_snippets | ||
62f134d2-d3be-4e8d-9e8c-83af70198cb3 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/the-frontend-trap.md | unknown | 5cbc1e38-0e47-4365-a25e-005282831536 | 0 | SemanticChunker@1.0.0 | 37c049717ec0e294a65ce075be842bca3afce852c0e6b313697ae9a467532ec9 | ---
title: The frontend trap
tags: [webdev,career,programming,jobs]
cover: coffee-n-laptop-2
excerpt: How staying on the frontend can limit your career growth and a hot take on how to escape it.
listed: true
dateModified: 2025-08-19
---
A while back, I was having a conversation with a mid-senior colleague I'm mentorin... | unknown | unknown | ---
title: The frontend trap
tags: [webdev,career,programming,jobs]
cover: coffee-n-laptop-2
excerpt: How staying on the frontend can limit your career growth and a hot take on how to escape it.
listed: true
dateModified: 2025-08-19
---
A while back, I was having a conversation with a mid-senior colleague I'm mentorin... | ---
title: The frontend trap
tags: [webdev,career,programming,jobs]
cover: coffee-n-laptop-2
excerpt: How staying on the frontend can limit your career growth and a hot take on how to escape it.
listed: true
dateModified: 2025-08-19
---
A while back, I was having a conversation with a mid-senior colleague I'm mentorin... | code_snippets | ||
adf892cb-eb51-4604-97f0-dc89a54f304a | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/the-frontend-trap.md | unknown | 5cbc1e38-0e47-4365-a25e-005282831536 | 2 | SemanticChunker@1.0.0 | 75b0896df579b0b64cc62677defedcbe6c6609bff12309fa38187601f81ab319 | [The limits of frontend work > How the backend is different]
## How the backend is different
Backend development throws you into the deep end. You face **scaling, performance bottlenecks, design patterns, and architecture decisions** that shape entire systems. Optimizing algorithms, picking the right data structures,... | unknown | unknown | [The limits of frontend work > How the backend is different]
## How the backend is different
Backend development throws you into the deep end. You face **scaling, performance bottlenecks, design patterns, and architecture decisions** that shape entire systems. Optimizing algorithms, picking the right data structures,... | [The limits of frontend work > How the backend is different]
## How the backend is different
Backend development throws you into the deep end. You face **scaling, performance bottlenecks, design patterns, and architecture decisions** that shape entire systems. Optimizing algorithms, picking the right data structures,... | code_snippets | ||
b1f99fe9-baba-43ad-b9ac-3dd4ae66a67b | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/the-frontend-trap.md | unknown | 5cbc1e38-0e47-4365-a25e-005282831536 | 3 | SemanticChunker@1.0.0 | 26720bcc861cf8bb8ca27ab6ac71675b95999095161f535294305057f5128b6f | [The limits of frontend work > Growing beyond the frontend]
## Growing beyond the frontend
If you want to become a truly **senior developer**, with advanced knowledge and a deep understanding of **systems, patterns, and code**, you need to invest in backend development after you've mastered the frontend. That's where... | unknown | unknown | [The limits of frontend work > Growing beyond the frontend]
## Growing beyond the frontend
If you want to become a truly **senior developer**, with advanced knowledge and a deep understanding of **systems, patterns, and code**, you need to invest in backend development after you've mastered the frontend. That's where... | [The limits of frontend work > Growing beyond the frontend]
## Growing beyond the frontend
If you want to become a truly **senior developer**, with advanced knowledge and a deep understanding of **systems, patterns, and code**, you need to invest in backend development after you've mastered the frontend. That's where... | code_snippets | ||
f44be203-1b11-4eed-9a0f-a0d11c1bcb1d | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/terminal-shortcuts-cheatsheet.md | unknown | 163b3255-5071-45f3-a837-b38555251bf5 | 0 | SemanticChunker@1.0.0 | 36da66ad831801ed639f44f14500e91d15a852e6c8a5b2b4c8a45d110678ea76 | ---
title: Bash Shortcuts Cheat Sheet
tags: [webdev,bash,cheatsheet]
cover: terminal
excerpt: Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.
listed: true
dateModified: 2021-06-12
---
- <kbd>Ctrl</kbd> + <kbd>C</kbd> Terminate the command
- <kbd>Ctrl</kbd>... | unknown | unknown | ---
title: Bash Shortcuts Cheat Sheet
tags: [webdev,bash,cheatsheet]
cover: terminal
excerpt: Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.
listed: true
dateModified: 2021-06-12
---
- <kbd>Ctrl</kbd> + <kbd>C</kbd> Terminate the command
- <kbd>Ctrl</kbd>... | ---
title: Bash Shortcuts Cheat Sheet
tags: [webdev,bash,cheatsheet]
cover: terminal
excerpt: Maximize your productivity when working with a bash or other shell terminal by using these keyboard shortcuts.
listed: true
dateModified: 2021-06-12
---
- <kbd>Ctrl</kbd> + <kbd>C</kbd> Terminate the command
- <kbd>Ctrl</kbd>... | code_snippets | ||
06c5e6c7-4954-44b2-9b00-ecddbeca6e70 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/technical-debt.md | unknown | a6b963f7-fea6-4336-8adf-925bfe3fa421 | 4 | SemanticChunker@1.0.0 | 04790b425dc81bcc5b3307c61b1a36e7fc8acb81b7fd1abe238a951d06a8340b | [Definition > Solutions]
## Solutions
Dealing with technical debt is not always easy, but it's not impossible either. The most important step is realizing that it exists and that it affects the team's productivity. Once that is done, the team can start to take action. Solutions vary, depending on the team, industry a... | unknown | unknown | [Definition > Solutions]
## Solutions
Dealing with technical debt is not always easy, but it's not impossible either. The most important step is realizing that it exists and that it affects the team's productivity. Once that is done, the team can start to take action. Solutions vary, depending on the team, industry a... | [Definition > Solutions]
## Solutions
Dealing with technical debt is not always easy, but it's not impossible either. The most important step is realizing that it exists and that it affects the team's productivity. Once that is done, the team can start to take action. Solutions vary, depending on the team, industry a... | code_snippets | ||
1178133d-c6c4-49b3-a63e-f8d8c4d77f47 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/technical-debt.md | unknown | a6b963f7-fea6-4336-8adf-925bfe3fa421 | 0 | SemanticChunker@1.0.0 | 2de05f0f32ea7635b2403efce3200c9afca686f521310add85f20c1776366919 | ---
title: Technical debt
tags: [webdev,career,programming,management]
cover: new-york
excerpt: Learn what technical debt is, its causes and symptoms, and how to deal with it.
listed: true
dateModified: 2022-10-09
---
Technical debt is a jargon term that gets thrown around a lot in the software development industry. I... | unknown | unknown | ---
title: Technical debt
tags: [webdev,career,programming,management]
cover: new-york
excerpt: Learn what technical debt is, its causes and symptoms, and how to deal with it.
listed: true
dateModified: 2022-10-09
---
Technical debt is a jargon term that gets thrown around a lot in the software development industry. I... | ---
title: Technical debt
tags: [webdev,career,programming,management]
cover: new-york
excerpt: Learn what technical debt is, its causes and symptoms, and how to deal with it.
listed: true
dateModified: 2022-10-09
---
Technical debt is a jargon term that gets thrown around a lot in the software development industry. I... | code_snippets | ||
860b36dd-652f-4c1d-a01f-9a05ce820154 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/technical-debt.md | unknown | a6b963f7-fea6-4336-8adf-925bfe3fa421 | 1 | SemanticChunker@1.0.0 | b4de822df1326c9184880e7a312b545e5b57cc50e8cfd772f69ad3ae77b3e768 | [Definition]
## Definition
The term itself comes from a metaphor, in which the team's lack of understanding about the codebase leads to continuous disagreement. Continuously stumbling upon this situation slows down progress, feeling like paying interest on a loan.
**Technical debt is effectively the natural result o... | unknown | unknown | [Definition]
## Definition
The term itself comes from a metaphor, in which the team's lack of understanding about the codebase leads to continuous disagreement. Continuously stumbling upon this situation slows down progress, feeling like paying interest on a loan.
**Technical debt is effectively the natural result o... | [Definition]
## Definition
The term itself comes from a metaphor, in which the team's lack of understanding about the codebase leads to continuous disagreement. Continuously stumbling upon this situation slows down progress, feeling like paying interest on a loan.
**Technical debt is effectively the natural result o... | code_snippets | ||
94d4e5f5-0fb1-4438-b6bd-bcf84a44e47a | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/technical-debt.md | unknown | a6b963f7-fea6-4336-8adf-925bfe3fa421 | 5 | SemanticChunker@1.0.0 | 57621a6476702e2f6e468860974c64f1d6c4db5f36f629cdd2dc72777f49765f | [Definition > Conclusion]
## Conclusion
Technical debt is a natural, unavoidable part of software development. Miscommunication and lack of understanding can lead to it, resulting in lowered velocity and morale. Luckily, a bit of awareness, good communication and an actionable process can help reduce it and keep it i... | unknown | unknown | [Definition > Conclusion]
## Conclusion
Technical debt is a natural, unavoidable part of software development. Miscommunication and lack of understanding can lead to it, resulting in lowered velocity and morale. Luckily, a bit of awareness, good communication and an actionable process can help reduce it and keep it i... | [Definition > Conclusion]
## Conclusion
Technical debt is a natural, unavoidable part of software development. Miscommunication and lack of understanding can lead to it, resulting in lowered velocity and morale. Luckily, a bit of awareness, good communication and an actionable process can help reduce it and keep it i... | code_snippets | ||
951b6a92-104a-4c22-a480-4923b384c925 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/technical-debt.md | unknown | a6b963f7-fea6-4336-8adf-925bfe3fa421 | 2 | SemanticChunker@1.0.0 | 7acaa68abe301b4af348e9ff68db67072e97f4147181e117c42ada664fdc4577 | [Definition > Causes]
## Causes
But what causes technical debt in the first place? As hinted at by the previous definition, it arises from a **disagreement between business needs and how the software was written**. The root cause for such disagreements can either appear early on or later down the line.
In the former... | unknown | unknown | [Definition > Causes]
## Causes
But what causes technical debt in the first place? As hinted at by the previous definition, it arises from a **disagreement between business needs and how the software was written**. The root cause for such disagreements can either appear early on or later down the line.
In the former... | [Definition > Causes]
## Causes
But what causes technical debt in the first place? As hinted at by the previous definition, it arises from a **disagreement between business needs and how the software was written**. The root cause for such disagreements can either appear early on or later down the line.
In the former... | code_snippets | ||
9969861a-89ef-4c15-bab2-1d7e766e1b68 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/technical-debt.md | unknown | a6b963f7-fea6-4336-8adf-925bfe3fa421 | 3 | SemanticChunker@1.0.0 | 1cc4a957c32d3c531bf2907a21aa20f8727b12dc22f3217c1915993030f43bd5 | [Definition > Symptoms]
## Symptoms
So, how do you know if you have accumulated technical debt? It's not that hard to spot most of the time. **Lowered productivity** is usually one of the first signs. This translates to increased development time or effort estimates that are not met. This makes sense intuitively, as ... | unknown | unknown | [Definition > Symptoms]
## Symptoms
So, how do you know if you have accumulated technical debt? It's not that hard to spot most of the time. **Lowered productivity** is usually one of the first signs. This translates to increased development time or effort estimates that are not met. This makes sense intuitively, as ... | [Definition > Symptoms]
## Symptoms
So, how do you know if you have accumulated technical debt? It's not that hard to spot most of the time. **Lowered productivity** is usually one of the first signs. This translates to increased development time or effort estimates that are not met. This makes sense intuitively, as ... | code_snippets | ||
f2f3bee0-95fd-44b0-afa6-1ab7012110ff | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/snippet-template.md | unknown | 0fcf622c-2eb8-4ab8-a92a-9c9788ef2c10 | 0 | SemanticChunker@1.0.0 | dc3a7b3771ca7d0914d0cc712fca8b0964d2b24a10ca9b8d3f0e5c1fa3214c9d | ---
title: My amazing story
shortTitle: Amazing story
language: javascript
tags: [webdev]
cover: image
excerpt: A short summary of your story up to 140 characters long.
listed: true
dateModified: 2021-06-13
---
Write your story here. | unknown | unknown | ---
title: My amazing story
shortTitle: Amazing story
language: javascript
tags: [webdev]
cover: image
excerpt: A short summary of your story up to 140 characters long.
listed: true
dateModified: 2021-06-13
---
Write your story here. | ---
title: My amazing story
shortTitle: Amazing story
language: javascript
tags: [webdev]
cover: image
excerpt: A short summary of your story up to 140 characters long.
listed: true
dateModified: 2021-06-13
---
Write your story here. | code_snippets | ||
7d60f7c1-d8b0-4be2-962b-9f7b68a6c127 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/no-code-is-inherently-evil.md | unknown | 8b6c8a0e-c658-4b69-89c0-62498a04627c | 1 | SemanticChunker@1.0.0 | 7faec8133c906182354d9014290f24a7921046ba0727f6728a3767c1637ba9db | [No code tools]
## No code tools
Let's start with **no code tools**, an ever more-relevant topic in the age of AI. They promise to save you from the pain of writing code. Drag, drop, publish. It feels like magic, until it doesn't.
The honeymoon ends when you need to do something custom. Suddenly, you're staring at a... | unknown | unknown | [No code tools]
## No code tools
Let's start with **no code tools**, an ever more-relevant topic in the age of AI. They promise to save you from the pain of writing code. Drag, drop, publish. It feels like magic, until it doesn't.
The honeymoon ends when you need to do something custom. Suddenly, you're staring at a... | [No code tools]
## No code tools
Let's start with **no code tools**, an ever more-relevant topic in the age of AI. They promise to save you from the pain of writing code. Drag, drop, publish. It feels like magic, until it doesn't.
The honeymoon ends when you need to do something custom. Suddenly, you're staring at a... | code_snippets | ||
bb23df58-3158-4bce-a2c2-53d87ff3cbf1 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/no-code-is-inherently-evil.md | unknown | 8b6c8a0e-c658-4b69-89c0-62498a04627c | 3 | SemanticChunker@1.0.0 | 57768acc6cef167ea8ab24903c49b575f92d5386d5ffdf5d97466f6029ca3c34 | [No code tools > Code itself]
## Code itself
Finally, let's talk about the code itself. **No code you write is evil by default**. Code is just instructions. It's not malicious unless you make it so.
But here's the twist: even your _best_ code will eventually be stretched, twisted, and abstracted into something you n... | unknown | unknown | [No code tools > Code itself]
## Code itself
Finally, let's talk about the code itself. **No code you write is evil by default**. Code is just instructions. It's not malicious unless you make it so.
But here's the twist: even your _best_ code will eventually be stretched, twisted, and abstracted into something you n... | [No code tools > Code itself]
## Code itself
Finally, let's talk about the code itself. **No code you write is evil by default**. Code is just instructions. It's not malicious unless you make it so.
But here's the twist: even your _best_ code will eventually be stretched, twisted, and abstracted into something you n... | code_snippets | ||
bf1c1ab8-6389-4ddc-a975-348976fea4ad | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/no-code-is-inherently-evil.md | unknown | 8b6c8a0e-c658-4b69-89c0-62498a04627c | 0 | SemanticChunker@1.0.0 | 1a05588c486036d4df2ad82f5620413d484a0a6337b92be1d2ac91e582653af9 | ---
title: No code is inherently evil
tags: [webdev,career,programming]
cover: coffee-n-laptop-3
excerpt: No code tools? No code at all? No code you write? Prepare for a triple entendre that cuts deep into the world of software development.
listed: true
dateModified: 2025-08-21
---
No code is inherently evil. That's n... | unknown | unknown | ---
title: No code is inherently evil
tags: [webdev,career,programming]
cover: coffee-n-laptop-3
excerpt: No code tools? No code at all? No code you write? Prepare for a triple entendre that cuts deep into the world of software development.
listed: true
dateModified: 2025-08-21
---
No code is inherently evil. That's n... | ---
title: No code is inherently evil
tags: [webdev,career,programming]
cover: coffee-n-laptop-3
excerpt: No code tools? No code at all? No code you write? Prepare for a triple entendre that cuts deep into the world of software development.
listed: true
dateModified: 2025-08-21
---
No code is inherently evil. That's n... | code_snippets | ||
cb85c52a-4926-4dce-834f-466635758897 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/no-code-is-inherently-evil.md | unknown | 8b6c8a0e-c658-4b69-89c0-62498a04627c | 4 | SemanticChunker@1.0.0 | cf0c84a8bf7e5514c65dfee426496bce5c992f9691492f827f963c97957d6592 | [No code tools > Conclusion]
## Conclusion
So, no code is inherently evil. No code tools can trap you, if you're not careful. Endlessly pondering over best practices and writing no code leads to stagnation. And no code you write is evil, until you let it rot. Write more code. Ship early. Refactor when it hurts. That'... | unknown | unknown | [No code tools > Conclusion]
## Conclusion
So, no code is inherently evil. No code tools can trap you, if you're not careful. Endlessly pondering over best practices and writing no code leads to stagnation. And no code you write is evil, until you let it rot. Write more code. Ship early. Refactor when it hurts. That'... | [No code tools > Conclusion]
## Conclusion
So, no code is inherently evil. No code tools can trap you, if you're not careful. Endlessly pondering over best practices and writing no code leads to stagnation. And no code you write is evil, until you let it rot. Write more code. Ship early. Refactor when it hurts. That'... | code_snippets | ||
d8a1060e-a4c5-4de8-bbe1-823f75865f48 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/no-code-is-inherently-evil.md | unknown | 8b6c8a0e-c658-4b69-89c0-62498a04627c | 2 | SemanticChunker@1.0.0 | d45aa5cc9d554db645e6b897a8281bc4b4e486582d4e54ff561a5499c78da111 | [No code tools > Analysis paralysis]
## Analysis paralysis
But there's another kind of _no code_ evil: **writing no code at all**.
The **cult of best practice** tells us to analyze, plan, and optimize before we even start. We chase the _best_ framework, the _right_ architecture, the _perfect_ stack. We freeze, paral... | unknown | unknown | [No code tools > Analysis paralysis]
## Analysis paralysis
But there's another kind of _no code_ evil: **writing no code at all**.
The **cult of best practice** tells us to analyze, plan, and optimize before we even start. We chase the _best_ framework, the _right_ architecture, the _perfect_ stack. We freeze, paral... | [No code tools > Analysis paralysis]
## Analysis paralysis
But there's another kind of _no code_ evil: **writing no code at all**.
The **cult of best practice** tells us to analyze, plan, and optimize before we even start. We chase the _best_ framework, the _right_ architecture, the _perfect_ stack. We freeze, paral... | code_snippets | ||
3dbe231b-f6e0-4d3b-985d-22f1bb76f748 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/markdown-cheatsheet.md | unknown | 951e7401-8d37-4513-a6fd-4d2d80fe2dec | 0 | SemanticChunker@1.0.0 | 44930a005beceddf6bfbf5022da2e294a2b4314504064587ab96d7ffa03eb64b | ---
title: Markdown Cheatsheet
tags: [webdev,documentation,cheatsheet]
cover: typography
excerpt: Markdown is the most popular markup language for writing documentation. Here is a cheatsheet with the most common syntax.
listed: true
dateModified: 2025-06-08
---
Markdown is a lightweight **markup language** with **plai... | unknown | unknown | ---
title: Markdown Cheatsheet
tags: [webdev,documentation,cheatsheet]
cover: typography
excerpt: Markdown is the most popular markup language for writing documentation. Here is a cheatsheet with the most common syntax.
listed: true
dateModified: 2025-06-08
---
Markdown is a lightweight **markup language** with **plai... | ---
title: Markdown Cheatsheet
tags: [webdev,documentation,cheatsheet]
cover: typography
excerpt: Markdown is the most popular markup language for writing documentation. Here is a cheatsheet with the most common syntax.
listed: true
dateModified: 2025-06-08
---
Markdown is a lightweight **markup language** with **plai... | code_snippets | ||
608e09fc-8c5c-4a6f-a146-184dace6748f | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/markdown-cheatsheet.md | unknown | 951e7401-8d37-4513-a6fd-4d2d80fe2dec | 1 | SemanticChunker@1.0.0 | 186c0622897180d55b92b39d8821e4ef4c9cd6f100eaec5ae8b51a7ef8d0a1f1 | [Headings > Lists]
## Lists
```md
- Unordered list item 1
- Unordered list item 2
- Nested unordered list item
- Unordered list item 3
* Unordered list item 1
* Unordered list item 2
* Nested unordered list item
* Unordered list item 3
1. Ordered list item 1
2. Ordered list item 2
1. Nested ordered list item
3. ... | unknown | unknown | [Headings > Lists]
## Lists
```md
- Unordered list item 1
- Unordered list item 2
- Nested unordered list item
- Unordered list item 3
* Unordered list item 1
* Unordered list item 2
* Nested unordered list item
* Unordered list item 3
1. Ordered list item 1
2. Ordered list item 2
1. Nested ordered list item
3. ... | [Headings > Lists]
## Lists
```md
- Unordered list item 1
- Unordered list item 2
- Nested unordered list item
- Unordered list item 3
* Unordered list item 1
* Unordered list item 2
* Nested unordered list item
* Unordered list item 3
1. Ordered list item 1
2. Ordered list item 2
1. Nested ordered list item
3. ... | code_snippets | ||
1b0d148b-849c-4fc1-9b61-b3d1db616043 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/learnings-from-vibe-coding-a-small-web-project.md | unknown | cea6f504-e5f1-4b3a-a565-d85bbde68d96 | 5 | SemanticChunker@1.0.0 | defe0f76615f40600d3de310eeee9e6cb652417d477f7626c99c8dfc863df160 | [Setup > Other takeaways]
## Other takeaways
Apart from having some fun and realizing how far AI has come, I also **learned a few solid programming things**, which is, I think, the most value I got from this experience.
Like I said before, I picked up the `lsof -i :8080 -t` trick to find the process ID of a server r... | unknown | unknown | [Setup > Other takeaways]
## Other takeaways
Apart from having some fun and realizing how far AI has come, I also **learned a few solid programming things**, which is, I think, the most value I got from this experience.
Like I said before, I picked up the `lsof -i :8080 -t` trick to find the process ID of a server r... | [Setup > Other takeaways]
## Other takeaways
Apart from having some fun and realizing how far AI has come, I also **learned a few solid programming things**, which is, I think, the most value I got from this experience.
Like I said before, I picked up the `lsof -i :8080 -t` trick to find the process ID of a server r... | code_snippets | ||
22842470-a6a4-45c7-bd7f-5acb1d0dbe93 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/learnings-from-vibe-coding-a-small-web-project.md | unknown | cea6f504-e5f1-4b3a-a565-d85bbde68d96 | 1 | SemanticChunker@1.0.0 | 6400387da0587c7a395ac2db2a6f54ea5202bf2636925108baa1d0f20c3dd68d | [Setup]
## Setup
First things first, the tools I used for the job are what I'm most familiar with - **GitHub Copilot** and **VS Code's Agent Mode**. While I use GPT-4.1 as my daily driver (what a time to be alive, I'm calling an LLM my _daily driver_), I decided to give **GPT-5 mini** a go. Spoiler alert: both models... | unknown | unknown | [Setup]
## Setup
First things first, the tools I used for the job are what I'm most familiar with - **GitHub Copilot** and **VS Code's Agent Mode**. While I use GPT-4.1 as my daily driver (what a time to be alive, I'm calling an LLM my _daily driver_), I decided to give **GPT-5 mini** a go. Spoiler alert: both models... | [Setup]
## Setup
First things first, the tools I used for the job are what I'm most familiar with - **GitHub Copilot** and **VS Code's Agent Mode**. While I use GPT-4.1 as my daily driver (what a time to be alive, I'm calling an LLM my _daily driver_), I decided to give **GPT-5 mini** a go. Spoiler alert: both models... | code_snippets | ||
37cc5798-ff1f-4689-9739-418c7bb2e0b2 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/learnings-from-vibe-coding-a-small-web-project.md | unknown | cea6f504-e5f1-4b3a-a565-d85bbde68d96 | 6 | SemanticChunker@1.0.0 | 1f2933d71024db94048bf44fdcb9c0d124392f3329acc026f3f38b440013b986 | [Setup > Closing thoughts]
## Closing thoughts
If you are considering vibe coding, I would say give it a go, but it's quite the gamble. Be prepared for some frustration and for it to eventually become a hassle. LLMs are pretty helpful, but they definitely have a long way to go to replace a human developer, even a jun... | unknown | unknown | [Setup > Closing thoughts]
## Closing thoughts
If you are considering vibe coding, I would say give it a go, but it's quite the gamble. Be prepared for some frustration and for it to eventually become a hassle. LLMs are pretty helpful, but they definitely have a long way to go to replace a human developer, even a jun... | [Setup > Closing thoughts]
## Closing thoughts
If you are considering vibe coding, I would say give it a go, but it's quite the gamble. Be prepared for some frustration and for it to eventually become a hassle. LLMs are pretty helpful, but they definitely have a long way to go to replace a human developer, even a jun... | code_snippets | ||
5e27ba09-38ea-4a92-825b-b78c6598e110 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/learnings-from-vibe-coding-a-small-web-project.md | unknown | cea6f504-e5f1-4b3a-a565-d85bbde68d96 | 3 | SemanticChunker@1.0.0 | 757dc6cb6042291dbab3ac0be5639b27a90af5b05c8c699a431901382af72bbe | [Setup > The bad]
## The bad
Ok, now onwards to what I didn't like. It's really **not that smart**! As soon as you have enough moving parts - and that's just a half a dozen things - it starts to **struggle, hallucinate, or get confused**. And don't even get me started on **indentation and formatting**, which is entir... | unknown | unknown | [Setup > The bad]
## The bad
Ok, now onwards to what I didn't like. It's really **not that smart**! As soon as you have enough moving parts - and that's just a half a dozen things - it starts to **struggle, hallucinate, or get confused**. And don't even get me started on **indentation and formatting**, which is entir... | [Setup > The bad]
## The bad
Ok, now onwards to what I didn't like. It's really **not that smart**! As soon as you have enough moving parts - and that's just a half a dozen things - it starts to **struggle, hallucinate, or get confused**. And don't even get me started on **indentation and formatting**, which is entir... | code_snippets | ||
90b2c8bc-51b5-4d9a-93fb-1b7c6682ee41 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/learnings-from-vibe-coding-a-small-web-project.md | unknown | cea6f504-e5f1-4b3a-a565-d85bbde68d96 | 4 | SemanticChunker@1.0.0 | 83f0e6f3ebc2f86ed11d6c5f4610e51cb6e2b9fb8eeb73bb25a5053e8f42fbe0 | [Setup > The worse]
## The worse
This last example brings me to my next point, which is that, sadly, it gets even worse. Not only does the AI get stuck and obsessed over issues, **it won't even produce the correct fixes** in some cases, **update the right dependencies** or even **find the right documentation**.
I lo... | unknown | unknown | [Setup > The worse]
## The worse
This last example brings me to my next point, which is that, sadly, it gets even worse. Not only does the AI get stuck and obsessed over issues, **it won't even produce the correct fixes** in some cases, **update the right dependencies** or even **find the right documentation**.
I lo... | [Setup > The worse]
## The worse
This last example brings me to my next point, which is that, sadly, it gets even worse. Not only does the AI get stuck and obsessed over issues, **it won't even produce the correct fixes** in some cases, **update the right dependencies** or even **find the right documentation**.
I lo... | code_snippets | ||
aa924c64-a6d3-4a76-9280-d1b6fd699497 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/learnings-from-vibe-coding-a-small-web-project.md | unknown | cea6f504-e5f1-4b3a-a565-d85bbde68d96 | 0 | SemanticChunker@1.0.0 | 3d7524c8505ed88d7b7f35363a4ce252516622cd61e8446c42817cb4bcd639f0 | ---
title: What I learned from vibe coding a small web project with GitHub Copilot and GPT-5 mini
shortTitle: Vibe coding learnings
tags: [webdev,programming]
cover: interior-19
excerpt: A short summary of your story up to 140 characters long.
listed: true
dateModified: 2025-10-24
---
A few weeks ago, I decided to fin... | unknown | unknown | ---
title: What I learned from vibe coding a small web project with GitHub Copilot and GPT-5 mini
shortTitle: Vibe coding learnings
tags: [webdev,programming]
cover: interior-19
excerpt: A short summary of your story up to 140 characters long.
listed: true
dateModified: 2025-10-24
---
A few weeks ago, I decided to fin... | ---
title: What I learned from vibe coding a small web project with GitHub Copilot and GPT-5 mini
shortTitle: Vibe coding learnings
tags: [webdev,programming]
cover: interior-19
excerpt: A short summary of your story up to 140 characters long.
listed: true
dateModified: 2025-10-24
---
A few weeks ago, I decided to fin... | code_snippets | ||
bb6c4827-01ec-4adb-bf4f-6cc63b40b078 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/learnings-from-vibe-coding-a-small-web-project.md | unknown | cea6f504-e5f1-4b3a-a565-d85bbde68d96 | 2 | SemanticChunker@1.0.0 | f98a91c647e633a0d26cd8452cbd90c699ca26b221209f812dd471f77d606c58 | [Setup > The good]
## The good
Starting out with the good, the experience was surprisingly smooth. My little AI assistant was delightfully quick in setting up the **project structure** and **installing the dependencies** I wanted, without me having to lift a finger. Full disclaimer that I knew most of the toolkit I w... | unknown | unknown | [Setup > The good]
## The good
Starting out with the good, the experience was surprisingly smooth. My little AI assistant was delightfully quick in setting up the **project structure** and **installing the dependencies** I wanted, without me having to lift a finger. Full disclaimer that I knew most of the toolkit I w... | [Setup > The good]
## The good
Starting out with the good, the experience was surprisingly smooth. My little AI assistant was delightfully quick in setting up the **project structure** and **installing the dependencies** I wanted, without me having to lift a finger. Full disclaimer that I knew most of the toolkit I w... | code_snippets | ||
8a984c1d-583d-48a4-b87e-6741e2dd1b62 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/virtues-of-pair-programming.md | unknown | 8fb7aa2b-8517-405c-89b0-790d86c684fb | 0 | SemanticChunker@1.0.0 | 9e05f058d206e23873130008347d56dbccb143c287280e40435a122a4d85fb54 | ---
title: The virtues of pair programming
tags: [webdev,career,programming,jobs]
cover: coffee-table-setup
excerpt: Pair programming can be valuable for junior and senior developers alike, fostering collaboration and knowledge sharing.
listed: true
dateModified: 2025-09-20
---
I've got to admit, we did not expect **p... | unknown | unknown | ---
title: The virtues of pair programming
tags: [webdev,career,programming,jobs]
cover: coffee-table-setup
excerpt: Pair programming can be valuable for junior and senior developers alike, fostering collaboration and knowledge sharing.
listed: true
dateModified: 2025-09-20
---
I've got to admit, we did not expect **p... | ---
title: The virtues of pair programming
tags: [webdev,career,programming,jobs]
cover: coffee-table-setup
excerpt: Pair programming can be valuable for junior and senior developers alike, fostering collaboration and knowledge sharing.
listed: true
dateModified: 2025-09-20
---
I've got to admit, we did not expect **p... | code_snippets | ||
bf5f6a73-2976-4de0-951f-74eed4e75aac | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/virtues-of-pair-programming.md | unknown | 8fb7aa2b-8517-405c-89b0-790d86c684fb | 1 | SemanticChunker@1.0.0 | 642ca0a2a53e0e616c43209c87a9debb3b7a148f389af7b705795748df9fe77f | [Mindset alignment]
## Mindset alignment
For senior engineers, pair programming is a window into the **beginner's mindset**. You see what trips up junior developers, understand their needs, their questions, and the gaps in their knowledge. This makes it easier to mentor, guide, and build trust. Sometimes, you **redis... | unknown | unknown | [Mindset alignment]
## Mindset alignment
For senior engineers, pair programming is a window into the **beginner's mindset**. You see what trips up junior developers, understand their needs, their questions, and the gaps in their knowledge. This makes it easier to mentor, guide, and build trust. Sometimes, you **redis... | [Mindset alignment]
## Mindset alignment
For senior engineers, pair programming is a window into the **beginner's mindset**. You see what trips up junior developers, understand their needs, their questions, and the gaps in their knowledge. This makes it easier to mentor, guide, and build trust. Sometimes, you **redis... | code_snippets | ||
d03bc43d-97e3-40b2-a4e7-4fd216d4bc97 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/virtues-of-pair-programming.md | unknown | 8fb7aa2b-8517-405c-89b0-790d86c684fb | 4 | SemanticChunker@1.0.0 | db92c2e8a5d38270cf50d193616e2063196b477effea87cba09b40cd34b0d072 | [Mindset alignment > Closing thoughts]
## Closing thoughts
Some worry that pair programming takes twice the time. In reality, it is often **faster** than having someone struggle alone, then ask for help, and repeat the cycle. Brainstorming and working as a team can be more efficient. Sometimes, a tough problem is the... | unknown | unknown | [Mindset alignment > Closing thoughts]
## Closing thoughts
Some worry that pair programming takes twice the time. In reality, it is often **faster** than having someone struggle alone, then ask for help, and repeat the cycle. Brainstorming and working as a team can be more efficient. Sometimes, a tough problem is the... | [Mindset alignment > Closing thoughts]
## Closing thoughts
Some worry that pair programming takes twice the time. In reality, it is often **faster** than having someone struggle alone, then ask for help, and repeat the cycle. Brainstorming and working as a team can be more efficient. Sometimes, a tough problem is the... | code_snippets | ||
d8b28f4d-dfb2-4e7f-b80a-8d20d3944b9f | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/virtues-of-pair-programming.md | unknown | 8fb7aa2b-8517-405c-89b0-790d86c684fb | 2 | SemanticChunker@1.0.0 | 35fbe12677386440c1a82e014f03c45a71605444008f95dc55c3f6638c99977b | [Mindset alignment > Growing together]
## Growing together
For junior developers, pair programming is **like rubber duck debugging**, except the duck talks back. You get feedback, suggestions, and new ways to solve the issue at hand. It's a **conversation**, not a monologue. You are never alone with a problem.
Senio... | unknown | unknown | [Mindset alignment > Growing together]
## Growing together
For junior developers, pair programming is **like rubber duck debugging**, except the duck talks back. You get feedback, suggestions, and new ways to solve the issue at hand. It's a **conversation**, not a monologue. You are never alone with a problem.
Senio... | [Mindset alignment > Growing together]
## Growing together
For junior developers, pair programming is **like rubber duck debugging**, except the duck talks back. You get feedback, suggestions, and new ways to solve the issue at hand. It's a **conversation**, not a monologue. You are never alone with a problem.
Senio... | code_snippets | ||
ddebecec-72bf-4113-a411-64ee4bd356fa | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/virtues-of-pair-programming.md | unknown | 8fb7aa2b-8517-405c-89b0-790d86c684fb | 3 | SemanticChunker@1.0.0 | 519d22ed4d567e2f9f5cfb114bad1fa94926a9e09b75859906ef876e0e5e1053 | [Mindset alignment > Team dynamics]
## Team dynamics
The benefits go beyond code. Pair programming builds **strong interpersonal relationships**. It strengthens team bonds and creates a sense of **shared responsibility**. When two people work on a problem, understanding is shared. This makes future collaboration and ... | unknown | unknown | [Mindset alignment > Team dynamics]
## Team dynamics
The benefits go beyond code. Pair programming builds **strong interpersonal relationships**. It strengthens team bonds and creates a sense of **shared responsibility**. When two people work on a problem, understanding is shared. This makes future collaboration and ... | [Mindset alignment > Team dynamics]
## Team dynamics
The benefits go beyond code. Pair programming builds **strong interpersonal relationships**. It strengthens team bonds and creates a sense of **shared responsibility**. When two people work on a problem, understanding is shared. This makes future collaboration and ... | code_snippets | ||
193c204d-e498-4ac8-a9ea-7ebf91d9d214 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/http-status-codes-cheatsheet.md | unknown | 34142161-7268-4784-b45b-372ad3494aa4 | 3 | SemanticChunker@1.0.0 | 2b7d218055c7ca38fddd39d7b77ba8f79c7d8b6fcd3bbad5e779712b9c589b48 | [1xx - Informational > 5xx - Server Error]
## 5xx - Server Error
- **500**: Internal Server Error - Generic unhandled server error
- **502**: Bad Gateway - Gateway server got an invalid response
- **503**: Service Unavailable - Server temporarily unable to handle request
- **504**: Gateway Timeout - Gateway server di... | unknown | unknown | [1xx - Informational > 5xx - Server Error]
## 5xx - Server Error
- **500**: Internal Server Error - Generic unhandled server error
- **502**: Bad Gateway - Gateway server got an invalid response
- **503**: Service Unavailable - Server temporarily unable to handle request
- **504**: Gateway Timeout - Gateway server di... | [1xx - Informational > 5xx - Server Error]
## 5xx - Server Error
- **500**: Internal Server Error - Generic unhandled server error
- **502**: Bad Gateway - Gateway server got an invalid response
- **503**: Service Unavailable - Server temporarily unable to handle request
- **504**: Gateway Timeout - Gateway server di... | code_snippets | ||
81aa00fe-77b9-483b-9d46-f5642d908577 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/http-status-codes-cheatsheet.md | unknown | 34142161-7268-4784-b45b-372ad3494aa4 | 1 | SemanticChunker@1.0.0 | 516894fcc35db5119f2ab56f12953378ba9182a88eb77c142db747355ca208b4 | [1xx - Informational > 3xx - Redirection]
## 3xx - Redirection
- **301**: Moved Permanently - Resource permanently moved to a new URL
- **302**: Moved Temporarily - Resource temporarily moved to a new URL | unknown | unknown | [1xx - Informational > 3xx - Redirection]
## 3xx - Redirection
- **301**: Moved Permanently - Resource permanently moved to a new URL
- **302**: Moved Temporarily - Resource temporarily moved to a new URL | [1xx - Informational > 3xx - Redirection]
## 3xx - Redirection
- **301**: Moved Permanently - Resource permanently moved to a new URL
- **302**: Moved Temporarily - Resource temporarily moved to a new URL | code_snippets | ||
c003a239-7a45-4f80-afb7-6c845b3b6d28 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/http-status-codes-cheatsheet.md | unknown | 34142161-7268-4784-b45b-372ad3494aa4 | 2 | SemanticChunker@1.0.0 | 714091a30acbeaaaebe711981b41af29a542a3739c2f048ef6d27dfa38153ff2 | [1xx - Informational > 4xx - Client Error]
## 4xx - Client Error
- **400**: Bad Request - Server cannot understand and process the request
- **401**: Unauthorized - Authentication required, user not yet authenticated
- **403**: Forbidden - Insufficient access permissions to the resource
- **404**: Not Found - Request... | unknown | unknown | [1xx - Informational > 4xx - Client Error]
## 4xx - Client Error
- **400**: Bad Request - Server cannot understand and process the request
- **401**: Unauthorized - Authentication required, user not yet authenticated
- **403**: Forbidden - Insufficient access permissions to the resource
- **404**: Not Found - Request... | [1xx - Informational > 4xx - Client Error]
## 4xx - Client Error
- **400**: Bad Request - Server cannot understand and process the request
- **401**: Unauthorized - Authentication required, user not yet authenticated
- **403**: Forbidden - Insufficient access permissions to the resource
- **404**: Not Found - Request... | code_snippets | ||
edc55565-1dda-4f7b-9b99-146614c0794d | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/articles/s/http-status-codes-cheatsheet.md | unknown | 34142161-7268-4784-b45b-372ad3494aa4 | 0 | SemanticChunker@1.0.0 | 575260f61550be84544e7277ccb727b524d461f87614ee0420227054422d8b07 | ---
title: Common HTTP status codes Cheat Sheet
shortTitle: HTTP status codes
tags: [webdev,http,cheatsheet]
cover: hiking-walking
excerpt: Familiarize yourself with the most common HTTP status codes with this handy cheatsheet.
listed: true
dateModified: 2021-06-12
--- | unknown | unknown | ---
title: Common HTTP status codes Cheat Sheet
shortTitle: HTTP status codes
tags: [webdev,http,cheatsheet]
cover: hiking-walking
excerpt: Familiarize yourself with the most common HTTP status codes with this handy cheatsheet.
listed: true
dateModified: 2021-06-12
--- | ---
title: Common HTTP status codes Cheat Sheet
shortTitle: HTTP status codes
tags: [webdev,http,cheatsheet]
cover: hiking-walking
excerpt: Familiarize yourself with the most common HTTP status codes with this handy cheatsheet.
listed: true
dateModified: 2021-06-12
--- | code_snippets | ||
1a10b9e4-0f2e-4b52-b20c-bc2d61bb6fd9 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/button-hover-transitions.md | unknown | e6a6ec93-aff1-4e42-a468-687dd09686be | 0 | SemanticChunker@1.0.0 | 717d4d38c63b7101bd5f172961e9ca3378b64ec3493b00e8f2d69695ec21643a | ---
title: CSS Button Transitions
shortTitle: Button Transitions
language: css
tags: [animation]
cover: painters-desk
excerpt: Add some life to your buttons with these simple CSS transitions.
listed: true
dateModified: 2024-08-29
---
CSS transitions are a great way to add some life to your buttons. From growing and sh... | unknown | unknown | ---
title: CSS Button Transitions
shortTitle: Button Transitions
language: css
tags: [animation]
cover: painters-desk
excerpt: Add some life to your buttons with these simple CSS transitions.
listed: true
dateModified: 2024-08-29
---
CSS transitions are a great way to add some life to your buttons. From growing and sh... | ---
title: CSS Button Transitions
shortTitle: Button Transitions
language: css
tags: [animation]
cover: painters-desk
excerpt: Add some life to your buttons with these simple CSS transitions.
listed: true
dateModified: 2024-08-29
---
CSS transitions are a great way to add some life to your buttons. From growing and sh... | code_snippets | ||
418b7117-dbe8-4ffb-8bfd-b98b69a16363 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/button-hover-transitions.md | unknown | e6a6ec93-aff1-4e42-a468-687dd09686be | 5 | SemanticChunker@1.0.0 | b68f2c6d268b3b0b61050ee9d1ef63b7ca49622bdaac211b6240c23d1cb15651 | [Button grow animation > Button border animation]
## Button border animation
Finally, for a **border animation**, you can create a border that changes color on hover. For this effect, you'll need to use the `::before` and `::after` pseudo-elements to create two boxes opposite each other above and below the box. Then,... | unknown | unknown | [Button grow animation > Button border animation]
## Button border animation
Finally, for a **border animation**, you can create a border that changes color on hover. For this effect, you'll need to use the `::before` and `::after` pseudo-elements to create two boxes opposite each other above and below the box. Then,... | [Button grow animation > Button border animation]
## Button border animation
Finally, for a **border animation**, you can create a border that changes color on hover. For this effect, you'll need to use the `::before` and `::after` pseudo-elements to create two boxes opposite each other above and below the box. Then,... | code_snippets | ||
7385b54c-d5ce-4ac2-9e0a-ed864910b9ee | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/button-hover-transitions.md | unknown | e6a6ec93-aff1-4e42-a468-687dd09686be | 3 | SemanticChunker@1.0.0 | 349b5e8a191fd6cf4010172e177d5a13eedeb2d9ac89eb592303a2f5a85d74a2 | [Button grow animation > Button fill animation]
## Button fill animation
To create a **fill animation** on hover, set a `color` and `background` and use an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `background` and `color` of the element when the user hove... | unknown | unknown | [Button grow animation > Button fill animation]
## Button fill animation
To create a **fill animation** on hover, set a `color` and `background` and use an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `background` and `color` of the element when the user hove... | [Button grow animation > Button fill animation]
## Button fill animation
To create a **fill animation** on hover, set a `color` and `background` and use an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `background` and `color` of the element when the user hove... | code_snippets | ||
ba907911-0a54-4188-b4c8-eb2259b5aff1 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/button-hover-transitions.md | unknown | e6a6ec93-aff1-4e42-a468-687dd09686be | 2 | SemanticChunker@1.0.0 | 81531402862eecf7fd5a8d5da24be6043f2483b37e79842fbd9762c0f7518aaf | [Button grow animation > Button shrink animation]
## Button shrink animation
Similarly, you can create a **shrink animation** on hover by using an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `transform` to `scale(0.8)`, shrinking the element when the user ho... | unknown | unknown | [Button grow animation > Button shrink animation]
## Button shrink animation
Similarly, you can create a **shrink animation** on hover by using an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `transform` to `scale(0.8)`, shrinking the element when the user ho... | [Button grow animation > Button shrink animation]
## Button shrink animation
Similarly, you can create a **shrink animation** on hover by using an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `transform` to `scale(0.8)`, shrinking the element when the user ho... | code_snippets | ||
c539c585-2d9a-447c-986d-93219f46cdce | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/button-hover-transitions.md | unknown | e6a6ec93-aff1-4e42-a468-687dd09686be | 4 | SemanticChunker@1.0.0 | 50a2c102ca43218027f347532b76df150fb7b45161407b45fe43f216533bee07 | [Button grow animation > Button swing animation]
## Button swing animation
For a **swing effect**, you can create an animation, using `@keyframes` and an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to apply an `animation` that uses `transform` to make the element swing.
... | unknown | unknown | [Button grow animation > Button swing animation]
## Button swing animation
For a **swing effect**, you can create an animation, using `@keyframes` and an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to apply an `animation` that uses `transform` to make the element swing.
... | [Button grow animation > Button swing animation]
## Button swing animation
For a **swing effect**, you can create an animation, using `@keyframes` and an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to apply an `animation` that uses `transform` to make the element swing.
... | code_snippets | ||
f5d5a90b-c8da-401f-afb6-6360925ca24a | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/button-hover-transitions.md | unknown | e6a6ec93-aff1-4e42-a468-687dd09686be | 1 | SemanticChunker@1.0.0 | 103e63c4d124c503b074083dd58bdf47b96cf215144438b67e3da8d5cd1789d0 | [Button grow animation]
## Button grow animation
To create a **grow animation** on hover, you can use an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `transform` to `scale(1.1)`, growing the element when the user hovers over it.
> [!TIP]
>
> You can also use... | unknown | unknown | [Button grow animation]
## Button grow animation
To create a **grow animation** on hover, you can use an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `transform` to `scale(1.1)`, growing the element when the user hovers over it.
> [!TIP]
>
> You can also use... | [Button grow animation]
## Button grow animation
To create a **grow animation** on hover, you can use an appropriate `transition` to animate changes to the element. Use the `:hover` pseudo-class to change the `transform` to `scale(1.1)`, growing the element when the user hovers over it.
> [!TIP]
>
> You can also use... | code_snippets | ||
85be4885-0a01-4ffa-b1c7-f7d3a1fe40d9 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/alternating-text.md | unknown | c5d9bf3d-bf47-48f8-af8e-f4dcb3f1cb23 | 0 | SemanticChunker@1.0.0 | 4bc7bbd427fe0c188b0399b0df9c4af7e552e37415876642c3166b5a3cdcfb45 | ---
title: Alternating text animations
language: css
tags: [animation]
cover: italian-horizon
excerpt: Ever wondered how those alternating text animations work? Here's a simple way to create one using CSS and JavaScript.
listed: true
dateModified: 2024-09-12
---
Alternating text animations are a great way to add some ... | unknown | unknown | ---
title: Alternating text animations
language: css
tags: [animation]
cover: italian-horizon
excerpt: Ever wondered how those alternating text animations work? Here's a simple way to create one using CSS and JavaScript.
listed: true
dateModified: 2024-09-12
---
Alternating text animations are a great way to add some ... | ---
title: Alternating text animations
language: css
tags: [animation]
cover: italian-horizon
excerpt: Ever wondered how those alternating text animations work? Here's a simple way to create one using CSS and JavaScript.
listed: true
dateModified: 2024-09-12
---
Alternating text animations are a great way to add some ... | code_snippets | ||
6f65383f-8ce2-45c6-b801-c8e0a2507210 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/broken-image-fallback.md | unknown | 9c53b993-9749-4cec-beb9-616f87f9cf60 | 0 | SemanticChunker@1.0.0 | fe0e2816c97e9b470b67a96aba91c3bad7f13cfa63ddf7e0152a064170ff68c4 | ---
title: Display a fallback for images that fail to load
shortTitle: Broken image fallback
language: css
tags: [visual]
cover: building-facade
excerpt: Having trouble loading an image? Display a fallback message instead!
listed: true
dateModified: 2024-09-09
---
Ever wanted to display a message when an image fails t... | unknown | unknown | ---
title: Display a fallback for images that fail to load
shortTitle: Broken image fallback
language: css
tags: [visual]
cover: building-facade
excerpt: Having trouble loading an image? Display a fallback message instead!
listed: true
dateModified: 2024-09-09
---
Ever wanted to display a message when an image fails t... | ---
title: Display a fallback for images that fail to load
shortTitle: Broken image fallback
language: css
tags: [visual]
cover: building-facade
excerpt: Having trouble loading an image? Display a fallback message instead!
listed: true
dateModified: 2024-09-09
---
Ever wanted to display a message when an image fails t... | code_snippets | ||
192a1e1a-6a59-4a89-a56c-2d14447e790c | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/card-hover-effects.md | unknown | d4bee589-7595-434c-b4ba-57d9905be7f3 | 1 | SemanticChunker@1.0.0 | 6f1f4b60ee0453a9d982d55a6c75cdb901ffd46d497ada00f517f16892f9a4c9 | [Rotating card]
## Rotating card
To create a **two-sided card** that rotates on hover, you first need a container element with two child elements, one for the front side and one for the back side of the card. You can then use the `rotateY()` function to rotate the card around the Y-axis, and the `backface-visibility`... | unknown | unknown | [Rotating card]
## Rotating card
To create a **two-sided card** that rotates on hover, you first need a container element with two child elements, one for the front side and one for the back side of the card. You can then use the `rotateY()` function to rotate the card around the Y-axis, and the `backface-visibility`... | [Rotating card]
## Rotating card
To create a **two-sided card** that rotates on hover, you first need a container element with two child elements, one for the front side and one for the back side of the card. You can then use the `rotateY()` function to rotate the card around the Y-axis, and the `backface-visibility`... | code_snippets | ||
4d7cddc1-2af4-4a56-a91b-c62a27e75212 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/card-hover-effects.md | unknown | d4bee589-7595-434c-b4ba-57d9905be7f3 | 0 | SemanticChunker@1.0.0 | 8729d2d74c6f5ad4740501aeb91877726e2697b67f2f3bf0e7b3790fb4d979a8 | ---
title: Card hover effects
language: css
tags: [animation]
cover: clouds-n-mountains
excerpt: Create cards with hover effects, such as rotating, shifting and perspective transforms.
listed: true
dateModified: 2024-09-11
---
Cards, one of the most common layout elements in modern web design, provide a ton of opportu... | unknown | unknown | ---
title: Card hover effects
language: css
tags: [animation]
cover: clouds-n-mountains
excerpt: Create cards with hover effects, such as rotating, shifting and perspective transforms.
listed: true
dateModified: 2024-09-11
---
Cards, one of the most common layout elements in modern web design, provide a ton of opportu... | ---
title: Card hover effects
language: css
tags: [animation]
cover: clouds-n-mountains
excerpt: Create cards with hover effects, such as rotating, shifting and perspective transforms.
listed: true
dateModified: 2024-09-11
---
Cards, one of the most common layout elements in modern web design, provide a ton of opportu... | code_snippets | ||
6b87ecea-0f8c-4d08-bd07-62d97ca43fab | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/card-hover-effects.md | unknown | d4bee589-7595-434c-b4ba-57d9905be7f3 | 2 | SemanticChunker@1.0.0 | a1d4a2d6a6edeeccbc24e7ce3dadeac185c00e51c0291b8241900c39480216ff | [Rotating card > Shifting card]
## Shifting card
For a shifting card, you will need to leverage [CSS variables](/css/s/variables) and a little bit of JavaScript to track the **position of the mouse cursor** and adjust the card's position accordingly. You'll use the `mousemove` event to track the cursor's position and... | unknown | unknown | [Rotating card > Shifting card]
## Shifting card
For a shifting card, you will need to leverage [CSS variables](/css/s/variables) and a little bit of JavaScript to track the **position of the mouse cursor** and adjust the card's position accordingly. You'll use the `mousemove` event to track the cursor's position and... | [Rotating card > Shifting card]
## Shifting card
For a shifting card, you will need to leverage [CSS variables](/css/s/variables) and a little bit of JavaScript to track the **position of the mouse cursor** and adjust the card's position accordingly. You'll use the `mousemove` event to track the cursor's position and... | code_snippets | ||
ca9d2e64-242b-4e04-ae8e-2ff7854d7495 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/card-hover-effects.md | unknown | d4bee589-7595-434c-b4ba-57d9905be7f3 | 3 | SemanticChunker@1.0.0 | 72cceb2c80ddf87a2991b0409819ec7c9e647d0e52ee1cb852a607b16ad6acb5 | [Rotating card > Perspective card]
## Perspective card
Finally, for the perspective card, you will only need a `transform` with a `perspective()` function and a `rotateY()` function to create the perspective effect. The `transition` property will animate the `transform` attribute on hover.
```css
.perspective-card {... | unknown | unknown | [Rotating card > Perspective card]
## Perspective card
Finally, for the perspective card, you will only need a `transform` with a `perspective()` function and a `rotateY()` function to create the perspective effect. The `transition` property will animate the `transform` attribute on hover.
```css
.perspective-card {... | [Rotating card > Perspective card]
## Perspective card
Finally, for the perspective card, you will only need a `transform` with a `perspective()` function and a `rotateY()` function to create the perspective effect. The `transition` property will animate the `transform` attribute on hover.
```css
.perspective-card {... | code_snippets | ||
b7cb141d-362b-491b-9ee0-7fcc90babd2b | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/box-sizing-reset.md | unknown | 7f7060bb-2dfc-44f4-83d3-cfe4b174e5bc | 0 | SemanticChunker@1.0.0 | 5fee7b3a9feffdd800930115e524528c0dd084631f9c85684627a9d48eb38b1e | ---
title: Box-sizing reset
language: css
tags: [layout]
cover: interior
excerpt: Reset the box-model so that `width` and `height` are not affected by `border` or `padding`.
listed: true
dateModified: 2024-09-01
---
If you're not familiar with the **box-model**, it's a way to calculate the size of an element. The box-... | unknown | unknown | ---
title: Box-sizing reset
language: css
tags: [layout]
cover: interior
excerpt: Reset the box-model so that `width` and `height` are not affected by `border` or `padding`.
listed: true
dateModified: 2024-09-01
---
If you're not familiar with the **box-model**, it's a way to calculate the size of an element. The box-... | ---
title: Box-sizing reset
language: css
tags: [layout]
cover: interior
excerpt: Reset the box-model so that `width` and `height` are not affected by `border` or `padding`.
listed: true
dateModified: 2024-09-01
---
If you're not familiar with the **box-model**, it's a way to calculate the size of an element. The box-... | code_snippets | ||
0c56c7b4-58a1-4bb7-b366-53493489bd12 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/25-css-gradients.md | unknown | 3877e50c-d81d-40e5-86d7-69db63009c61 | 3 | SemanticChunker@1.0.0 | efeb4d7f1ad536c28725ede6a548990c21dcfa998db7a9631a7fc46b0284f971 | <div class="gradient-box forever-lost"></div>
```css
.forever-lost {
background: linear-gradient(to right, #5d4157, #a8caba);
}
```
<div class="gradient-box blurry-beach"></div>
```css
.blurry-beach {
background: linear-gradient(to right, #d53369, #cbad6d);
}
```
<div class="gradient-box influenza"></div>
```css... | unknown | unknown | <div class="gradient-box forever-lost"></div>
```css
.forever-lost {
background: linear-gradient(to right, #5d4157, #a8caba);
}
```
<div class="gradient-box blurry-beach"></div>
```css
.blurry-beach {
background: linear-gradient(to right, #d53369, #cbad6d);
}
```
<div class="gradient-box influenza"></div>
```css... | <div class="gradient-box forever-lost"></div>
```css
.forever-lost {
background: linear-gradient(to right, #5d4157, #a8caba);
}
```
<div class="gradient-box blurry-beach"></div>
```css
.blurry-beach {
background: linear-gradient(to right, #d53369, #cbad6d);
}
```
<div class="gradient-box influenza"></div>
```css... | code_snippets | ||
9b613895-f3b3-469e-8fe5-dfc55678b2d3 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/25-css-gradients.md | unknown | 3877e50c-d81d-40e5-86d7-69db63009c61 | 2 | SemanticChunker@1.0.0 | 5c416ee3e2ae01910ba6c77fb2ece3d664a5f92a6bc703b769af5510a79e8afe | <div class="gradient-box stripe"></div>
```css
.stripe {
background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
}
```
<div class="gradient-box flare"></div>
```css
.flare {
background: linear-gradient(to right, #f12711, #f5af19);
}
```
<div class="gradient-box vanusa"></div>
```css
.vanusa {
backgrou... | unknown | unknown | <div class="gradient-box stripe"></div>
```css
.stripe {
background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
}
```
<div class="gradient-box flare"></div>
```css
.flare {
background: linear-gradient(to right, #f12711, #f5af19);
}
```
<div class="gradient-box vanusa"></div>
```css
.vanusa {
backgrou... | <div class="gradient-box stripe"></div>
```css
.stripe {
background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
}
```
<div class="gradient-box flare"></div>
```css
.flare {
background: linear-gradient(to right, #f12711, #f5af19);
}
```
<div class="gradient-box vanusa"></div>
```css
.vanusa {
backgrou... | code_snippets | ||
c6e97964-af64-420c-97e2-dec1ea07c52d | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/25-css-gradients.md | unknown | 3877e50c-d81d-40e5-86d7-69db63009c61 | 1 | SemanticChunker@1.0.0 | b15e0b0e8d3babb85a654229a7d7513889aaefc4b30c4c51100556cd076262bf | .stripe {
background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
}
.flare {
background: linear-gradient(to right, #f12711, #f5af19);
}
.vanusa {
background: linear-gradient(to right, #da4453, #89216b);
}
.sublime-light {
background: linear-gradient(to right, #fc5c7d, #6a82fb);
}
.bighead {
background: l... | unknown | unknown | .stripe {
background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
}
.flare {
background: linear-gradient(to right, #f12711, #f5af19);
}
.vanusa {
background: linear-gradient(to right, #da4453, #89216b);
}
.sublime-light {
background: linear-gradient(to right, #fc5c7d, #6a82fb);
}
.bighead {
background: l... | .stripe {
background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
}
.flare {
background: linear-gradient(to right, #f12711, #f5af19);
}
.vanusa {
background: linear-gradient(to right, #da4453, #89216b);
}
.sublime-light {
background: linear-gradient(to right, #fc5c7d, #6a82fb);
}
.bighead {
background: l... | code_snippets | ||
d4a9d8ff-522d-4083-a3d0-6a738f9dffc4 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/25-css-gradients.md | unknown | 3877e50c-d81d-40e5-86d7-69db63009c61 | 0 | SemanticChunker@1.0.0 | 651b7e7a240f6ebf134c629e47daf43775019ddd28696126ca2edb82aa3725c7 | ---
title: 25 CSS gradients for your next project
shortTitle: CSS gradients
language: css
tags: [visual,cheatsheet]
cover: colors-mural
excerpt: I hand picked 25 of my favorite CSS gradients from uiGradients for your next design. Get them now!
listed: true
dateModified: 2024-01-12
---
[uiGradients](https://uigradients... | unknown | unknown | ---
title: 25 CSS gradients for your next project
shortTitle: CSS gradients
language: css
tags: [visual,cheatsheet]
cover: colors-mural
excerpt: I hand picked 25 of my favorite CSS gradients from uiGradients for your next design. Get them now!
listed: true
dateModified: 2024-01-12
---
[uiGradients](https://uigradients... | ---
title: 25 CSS gradients for your next project
shortTitle: CSS gradients
language: css
tags: [visual,cheatsheet]
cover: colors-mural
excerpt: I hand picked 25 of my favorite CSS gradients from uiGradients for your next design. Get them now!
listed: true
dateModified: 2024-01-12
---
[uiGradients](https://uigradients... | code_snippets | ||
33e8da77-f1dc-48e4-bbeb-7a19072cf45f | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 0 | SemanticChunker@1.0.0 | 615ea2f74715676a144fcd8c79a34445fb302b1a6f668ad342f2692d56afd141 | ---
title: How can I create a circular progress bar using only CSS?
shortTitle: Circular progress bar
language: css
tags: [visual,animation]
cover: clouds-over-mountains
excerpt: Circular progress bars are fairly common in the web. Luckily, some new CSS features make it easier than ever to create them.
listed: true
dat... | unknown | unknown | ---
title: How can I create a circular progress bar using only CSS?
shortTitle: Circular progress bar
language: css
tags: [visual,animation]
cover: clouds-over-mountains
excerpt: Circular progress bars are fairly common in the web. Luckily, some new CSS features make it easier than ever to create them.
listed: true
dat... | ---
title: How can I create a circular progress bar using only CSS?
shortTitle: Circular progress bar
language: css
tags: [visual,animation]
cover: clouds-over-mountains
excerpt: Circular progress bars are fairly common in the web. Luckily, some new CSS features make it easier than ever to create them.
listed: true
dat... | code_snippets | ||
3eac5d0a-3370-4dea-a375-c3bb7a07e52b | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 4 | SemanticChunker@1.0.0 | fbb231a9fefeab7106f1b4d42459b3772ff4a26a76341ea418940e93097539c6 | [Anatomy of a circular progress bar > Making the progress bar dynamic]
## Making the progress bar dynamic
Hardcoding the `stroke-dasharray` value is not very useful. We want to be able to **set the progress percentage dynamically**. This is where [CSS variables](/css/s/variables) and the math from before come into pl... | unknown | unknown | [Anatomy of a circular progress bar > Making the progress bar dynamic]
## Making the progress bar dynamic
Hardcoding the `stroke-dasharray` value is not very useful. We want to be able to **set the progress percentage dynamically**. This is where [CSS variables](/css/s/variables) and the math from before come into pl... | [Anatomy of a circular progress bar > Making the progress bar dynamic]
## Making the progress bar dynamic
Hardcoding the `stroke-dasharray` value is not very useful. We want to be able to **set the progress percentage dynamically**. This is where [CSS variables](/css/s/variables) and the math from before come into pl... | code_snippets | ||
4bf3f4ee-3fbf-4b85-ae2e-5ad024215142 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 2 | SemanticChunker@1.0.0 | ce143bc7acc3cd34abb7a9702e441d1b099cc192f0637e50fdd772ac42262198 | [Anatomy of a circular progress bar > Doing the math]
### Doing the math
Before we move forward, we might as well take a moment to understand the math behind the code.
The two values we need to decide are the **size** of the progress bar and the **width of the stroke**. For this example, we settled on a size of `250... | unknown | unknown | [Anatomy of a circular progress bar > Doing the math]
### Doing the math
Before we move forward, we might as well take a moment to understand the math behind the code.
The two values we need to decide are the **size** of the progress bar and the **width of the stroke**. For this example, we settled on a size of `250... | [Anatomy of a circular progress bar > Doing the math]
### Doing the math
Before we move forward, we might as well take a moment to understand the math behind the code.
The two values we need to decide are the **size** of the progress bar and the **width of the stroke**. For this example, we settled on a size of `250... | code_snippets | ||
7a49a1c0-7ca5-4d52-a221-5deb0d4c45a0 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 6 | SemanticChunker@1.0.0 | 2ebc675c65a3be9ef3cc801a43a8ff81f561b0087ae44a0346b88ae8dcfa45f6 | [Anatomy of a circular progress bar > Timed progress bar]
## Timed progress bar
Have you ever watched an ad inside a mobile game? You know, the ones that give you a reward if you watch the whole thing? They usually have a progress bar that fills up as the ad plays. Or it empties as you watch, much like a countdown ti... | unknown | unknown | [Anatomy of a circular progress bar > Timed progress bar]
## Timed progress bar
Have you ever watched an ad inside a mobile game? You know, the ones that give you a reward if you watch the whole thing? They usually have a progress bar that fills up as the ad plays. Or it empties as you watch, much like a countdown ti... | [Anatomy of a circular progress bar > Timed progress bar]
## Timed progress bar
Have you ever watched an ad inside a mobile game? You know, the ones that give you a reward if you watch the whole thing? They usually have a progress bar that fills up as the ad plays. Or it empties as you watch, much like a countdown ti... | code_snippets | ||
83f17d74-d218-427f-adfc-4801106d14a0 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 1 | SemanticChunker@1.0.0 | d7d5db10b58a096ab4bfeaa1de8e6ba5c82ad0382cafd0cda31f912637569f44 | [Anatomy of a circular progress bar]
## Anatomy of a circular progress bar
A circular progress bar is, at the simplest, **two circles stacked on top of each other**. The bottom circle is the **background**, and the top circle is the **progress indicator**. We'll get to how we fill the progress indicator in a bit, but... | unknown | unknown | [Anatomy of a circular progress bar]
## Anatomy of a circular progress bar
A circular progress bar is, at the simplest, **two circles stacked on top of each other**. The bottom circle is the **background**, and the top circle is the **progress indicator**. We'll get to how we fill the progress indicator in a bit, but... | [Anatomy of a circular progress bar]
## Anatomy of a circular progress bar
A circular progress bar is, at the simplest, **two circles stacked on top of each other**. The bottom circle is the **background**, and the top circle is the **progress indicator**. We'll get to how we fill the progress indicator in a bit, but... | code_snippets | ||
92be6b96-cd4c-4064-80fa-8d0c0aa3c13e | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 9 | SemanticChunker@1.0.0 | 5af9c9f45a7b29dbfacec95b69314a1a8eb3062709c01f2e6b29e2a54556e986 | [Anatomy of a circular progress bar > Conclusion]
## Conclusion
Using modern HTML and CSS, we created a circular progress bar. This setup serves as a good starting point for you to experiment with. You can use it as is, or you can extend it to suit your needs, sprinkling in a little bit of JavaScript if you need to. ... | unknown | unknown | [Anatomy of a circular progress bar > Conclusion]
## Conclusion
Using modern HTML and CSS, we created a circular progress bar. This setup serves as a good starting point for you to experiment with. You can use it as is, or you can extend it to suit your needs, sprinkling in a little bit of JavaScript if you need to. ... | [Anatomy of a circular progress bar > Conclusion]
## Conclusion
Using modern HTML and CSS, we created a circular progress bar. This setup serves as a good starting point for you to experiment with. You can use it as is, or you can extend it to suit your needs, sprinkling in a little bit of JavaScript if you need to. ... | code_snippets | ||
9992df26-be60-41e3-a138-53ccce76d038 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 8 | SemanticChunker@1.0.0 | d7f9219d81a817a189ab67acafa95ea2293306f14729e585ef0bf41dca6f8e94 | [Anatomy of a circular progress bar > Putting it all together]
## Putting it all together
We've covered a lot of ground in this article. We've gone from a simple SVG element to a fully functional progress bar. We've used CSS variables, math functions, and even a new CSS feature. Let's take a look at the final code.
... | unknown | unknown | [Anatomy of a circular progress bar > Putting it all together]
## Putting it all together
We've covered a lot of ground in this article. We've gone from a simple SVG element to a fully functional progress bar. We've used CSS variables, math functions, and even a new CSS feature. Let's take a look at the final code.
... | [Anatomy of a circular progress bar > Putting it all together]
## Putting it all together
We've covered a lot of ground in this article. We've gone from a simple SVG element to a fully functional progress bar. We've used CSS variables, math functions, and even a new CSS feature. Let's take a look at the final code.
... | code_snippets | ||
aaf40b6f-7b4b-421f-a5fd-1072cccaf042 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 7 | SemanticChunker@1.0.0 | 9afd5a1684b89e8d880d9eb390b358ee33f45867d7694984f6c59e70806487b7 | [Anatomy of a circular progress bar > Timed progress bar]
This will animate the `--progress` variable from `0` to `100` over 5 seconds. The `forwards` keyword tells the browser to keep the final value of the animation. Without it, the progress bar would reset to `0` after the animation is done. You can create the oppo... | unknown | unknown | [Anatomy of a circular progress bar > Timed progress bar]
This will animate the `--progress` variable from `0` to `100` over 5 seconds. The `forwards` keyword tells the browser to keep the final value of the animation. Without it, the progress bar would reset to `0` after the animation is done. You can create the oppo... | [Anatomy of a circular progress bar > Timed progress bar]
This will animate the `--progress` variable from `0` to `100` over 5 seconds. The `forwards` keyword tells the browser to keep the final value of the animation. Without it, the progress bar would reset to `0` after the animation is done. You can create the oppo... | code_snippets | ||
c9331559-6860-4189-8a24-cae740232054 | unknown | file:///home/sanjeev/Downloads/depthapi/datasets/30-seconds-of-code/content/snippets/css/s/circular-progress-bar.md | unknown | 128e9648-176c-482a-bf98-ec0527a8679c | 5 | SemanticChunker@1.0.0 | f411a128a85f8390e119c22356f59984d2bb495d9eeca284cf800ff14593e07c | [Anatomy of a circular progress bar > Making the progress bar dynamic]
At this point, if you use some JavaScript to manipulate the value of the `--progress` variable, you'll see the progress bar fill up. The added `transition` property will make the progress bar animate smoothly. | unknown | unknown | [Anatomy of a circular progress bar > Making the progress bar dynamic]
At this point, if you use some JavaScript to manipulate the value of the `--progress` variable, you'll see the progress bar fill up. The added `transition` property will make the progress bar animate smoothly. | [Anatomy of a circular progress bar > Making the progress bar dynamic]
At this point, if you use some JavaScript to manipulate the value of the `--progress` variable, you'll see the progress bar fill up. The added `transition` property will make the progress bar animate smoothly. | code_snippets |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.