forked from roadmapsh/deprecated-version
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02c32d2
commit db970b5
Showing
76 changed files
with
670 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const yaml = require('json-to-pretty-yaml'); | ||
const guides = require('./data/guides.json'); | ||
|
||
guides.forEach((guide) => { | ||
const { id: guideId } = guide; | ||
|
||
const guidePath = path.join(__dirname, `../src/guides/${guideId}.md`); | ||
const guideWithoutFrontmatter = fs.readFileSync(guidePath, 'utf8'); | ||
const guideFrontMatter = yaml.stringify({ | ||
layout: 'layouts/guide.njk', | ||
title: guide.title, | ||
description: guide.description, | ||
isNew: guide.isNew, | ||
type: guide.type, | ||
createdAt: guide.createdAt, | ||
sitemap: { | ||
priority: 0.7, | ||
changefreq: 'weekly', | ||
}, | ||
tags: ['guide', `${guide.type}-guide`, `guide-sitemap`], | ||
}); | ||
|
||
const guideWithFrontmatter = `---\n${guideFrontMatter}---\n\n${guideWithoutFrontmatter}`; | ||
|
||
console.log(`Writing guide ${guideId} to disk`); | ||
fs.writeFileSync(guidePath, guideWithFrontmatter); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends 'layouts/base.njk' %} | ||
|
||
{# Adds the syntax highlighter CSS for markdown based roadmap #} | ||
{% block headerAssets %} | ||
{{ super() }} | ||
|
||
{% set css %} | ||
{% include "styles/prism.css" %} | ||
{% endset %} | ||
|
||
<style>{{ css | safe }}</style> | ||
{% endblock %} | ||
|
||
|
||
{% block main %} | ||
<h1 class='text-4xl mt-5 mb-1 font-semibold'>{{ title }}</h1> | ||
<p class='text-gray-400 mb-4'>{{ description }}</p> | ||
|
||
<main id='main-content' class="p-1 container mx-auto max-w-[800px]"> | ||
{{ content | safe }} | ||
</main> | ||
{% endblock %} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+875 KB
src/assets/guides/avoid-render-blocking-javascript-with-async-defer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
--- | ||
layout: "layouts/guide.njk" | ||
title: "Asymptotic Notation" | ||
description: "Learn the basics of measuring the time and space complexity of algorithms" | ||
isNew: false | ||
type: "visual" | ||
createdAt: "2021-04-03T15:48:21.191Z" | ||
sitemap: | ||
priority: 0.7 | ||
changefreq: "weekly" | ||
tags: | ||
- "guide" | ||
- "visual-guide" | ||
- "guide-sitemap" | ||
--- | ||
|
||
Asymptotic notation is the standard way of measuring the time and space that an algorithm will consume as the input grows. In one of my last guides, I covered "Big-O notation" and a lot of you asked for a similar one for Asymptotic notation. You can find the [previous guide here](/guides/big-o-notation). | ||
|
||
[![](/guides/asymptotic-notation.png)](/guides/asymptotic-notation.png) | ||
[![](/assets/guides/asymptotic-notation.png)](/assets/guides/asymptotic-notation.png) | ||
|
18 changes: 17 additions & 1 deletion
18
src/guides/avoid-render-blocking-javascript-with-async-defer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
[![](/guides/avoid-render-blocking-javascript-with-async-defer.png)](/guides/avoid-render-blocking-javascript-with-async-defer.png) | ||
--- | ||
layout: "layouts/guide.njk" | ||
title: "Async and Defer Script Loading" | ||
description: "Learn how to avoid render blocking JavaScript using async and defer scripts." | ||
isNew: false | ||
type: "visual" | ||
createdAt: "2021-09-10T19:59:14.191Z" | ||
sitemap: | ||
priority: 0.7 | ||
changefreq: "weekly" | ||
tags: | ||
- "guide" | ||
- "visual-guide" | ||
- "guide-sitemap" | ||
--- | ||
|
||
[![](/assets/guides/avoid-render-blocking-javascript-with-async-defer.png)](/assets/guides/avoid-render-blocking-javascript-with-async-defer.png) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
[![](/guides/basic-authentication.png)](/guides/basic-authentication.png) | ||
--- | ||
layout: "layouts/guide.njk" | ||
title: "Basic Authentication" | ||
description: "Understand what is basic authentication and how it is implemented" | ||
isNew: false | ||
type: "visual" | ||
createdAt: "2021-05-19T20:59:14.191Z" | ||
sitemap: | ||
priority: 0.7 | ||
changefreq: "weekly" | ||
tags: | ||
- "guide" | ||
- "visual-guide" | ||
- "guide-sitemap" | ||
--- | ||
|
||
[![](/assets/guides/basic-authentication.png)](/assets/guides/basic-authentication.png) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
--- | ||
layout: "layouts/guide.njk" | ||
title: "Big-O Notation" | ||
description: "Easy to understand explanation of Big-O notation without any fancy terms" | ||
isNew: false | ||
type: "visual" | ||
createdAt: "2021-03-15T15:48:21.191Z" | ||
sitemap: | ||
priority: 0.7 | ||
changefreq: "weekly" | ||
tags: | ||
- "guide" | ||
- "visual-guide" | ||
- "guide-sitemap" | ||
--- | ||
|
||
Big-O notation is the mathematical notation that helps analyse the algorithms to get an idea about how they might perform as the input grows. The image below explains Big-O in a simple way without using any fancy terminology. | ||
|
||
[![](/guides/big-o-notation.png)](/guides/big-o-notation.png) | ||
[![](/assets/guides/big-o-notation.png)](/assets/guides/big-o-notation.png) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
[![](/guides/character-encodings.png)](/guides/character-encodings.png) | ||
--- | ||
layout: "layouts/guide.njk" | ||
title: "Character Encodings" | ||
description: "Covers the basics of character encodings and explains ASCII vs Unicode" | ||
isNew: false | ||
type: "visual" | ||
createdAt: "2021-05-14T20:59:14.191Z" | ||
sitemap: | ||
priority: 0.7 | ||
changefreq: "weekly" | ||
tags: | ||
- "guide" | ||
- "visual-guide" | ||
- "guide-sitemap" | ||
--- | ||
|
||
[![](/assets/guides/character-encodings.png)](/assets/guides/character-encodings.png) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
--- | ||
layout: "layouts/guide.njk" | ||
title: "What is CI and CD?" | ||
description: "Learn the basics of CI/CD and how to implement that with GitHub Actions." | ||
isNew: false | ||
type: "visual" | ||
createdAt: "2021-07-09T19:59:14.191Z" | ||
sitemap: | ||
priority: 0.7 | ||
changefreq: "weekly" | ||
tags: | ||
- "guide" | ||
- "visual-guide" | ||
- "guide-sitemap" | ||
--- | ||
|
||
The image below details the differences between the continuous integration and continuous delivery. Also, here is the [accompanying video on implementing that with GitHub actions](https://www.youtube.com/watch?v=nyKZTKQS_EQ). | ||
|
||
[![](/guides/ci-cd.png)](/guides/ci-cd.png) | ||
[![](/assets/guides/ci-cd.png)](/assets/guides/ci-cd.png) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
[![](/guides/dhcp.png)](/guides/dhcp.png) | ||
--- | ||
layout: "layouts/guide.njk" | ||
title: "DHCP in One Picture" | ||
description: "Here is what happens when a new device joins the network." | ||
isNew: false | ||
type: "visual" | ||
createdAt: "2021-04-28T15:48:21.191Z" | ||
sitemap: | ||
priority: 0.7 | ||
changefreq: "weekly" | ||
tags: | ||
- "guide" | ||
- "visual-guide" | ||
- "guide-sitemap" | ||
--- | ||
|
||
[![](/assets/guides/dhcp.png)](/assets/guides/dhcp.png) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.