Skip to content

Commit

Permalink
Revert filename changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ProchaLu committed Jan 8, 2025
1 parent cdb7af9 commit 3de14e5
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 61 deletions.
16 changes: 8 additions & 8 deletions content/articles/embracing-the-cloud.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: 'Embracing the Cloud: Transitioning to Serverless Architecture'
date: '2023-01-04'
slug: 'embracing-the-cloud'
description: 'In this article, Aarav Mehta explores the journey of transitioning traditional server-based applications to serverless architecture.'
title: "Embracing the Cloud: Transitioning to Serverless Architecture"
date: "2023-01-04"
slug: "embracing-the-cloud"
description: "In this article, Aarav Mehta explores the journey of transitioning traditional server-based applications to serverless architecture."
tags:
- javascript
- css
Expand All @@ -25,16 +25,16 @@ Cloud services like AWS Lambda, Azure Functions, and Google Cloud Functions offe
### A Step-by-Step Guide

1. Begin with a Pilot Project:
Select a non-critical system component to transition first. This will help you understand the intricacies of serverless environments without putting core operations at risk.
Select a non-critical system component to transition first. This will help you understand the intricacies of serverless environments without putting core operations at risk.

2. Understand the Limitations:
Serverless is not a silver bullet. Be aware of its limitations, such as cold starts (latency introduced when a function is invoked after a period of inactivity) and state management. Prepare to address these within your application logic.
Serverless is not a silver bullet. Be aware of its limitations, such as cold starts (latency introduced when a function is invoked after a period of inactivity) and state management. Prepare to address these within your application logic.

3. Adopt a DevOps Mindset:
Embrace the principles of DevOps. Implement continuous integration and delivery (CI/CD) pipelines to automate the deployment of serverless functions.
Embrace the principles of DevOps. Implement continuous integration and delivery (CI/CD) pipelines to automate the deployment of serverless functions.

4. Monitor and Optimize:
Leverage monitoring tools provided by cloud services to track the performance of your serverless functions. Optimize your code for better execution times and resource utilization.
Leverage monitoring tools provided by cloud services to track the performance of your serverless functions. Optimize your code for better execution times and resource utilization.

5. Challenges and Best Practices

Expand Down
8 changes: 4 additions & 4 deletions content/articles/evolution-of-AI.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: The Evolution of AI in Web Development
date: '2023-01-03'
slug: 'evolution-of-ai'
previewImage: '/images/articles/article-preview.png'
date: "2023-01-03"
slug: "evolution-of-ai"
previewImage: "/images/articles/article-preview.png"
draft: true
description: 'Aarav Mehta delves into the transformative role of Artificial Intelligence in the realm of web development. He examines how AI-driven technologies have begun to automate tasks such as code generation, user experience design, and even content creation.'
description: "Aarav Mehta delves into the transformative role of Artificial Intelligence in the realm of web development. He examines how AI-driven technologies have begun to automate tasks such as code generation, user experience design, and even content creation."
tags:
- css
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Building a Real-Time Collaboration Tool with WebSockets
date: '2023-01-03'
slug: 'building-real-time-collaboration'
previewImage: '/images/articles/article-preview.png'
date: "2023-01-03"
slug: "building-real-time-collaboration"
previewImage: "/images/articles/article-preview.png"
description: "In a detailed walkthrough, Aarav Mehta shares the process of creating 'CodeCollab', a real-time collaboration tool built using WebSockets."
tags:
- css
Expand Down
14 changes: 7 additions & 7 deletions content/articles/test.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: 'Markdown Test'
date: '2020-01-02'
slug: 'test'
description: 'Designing and building a website to connect quality photographers in Lagos, Nigeria'
title: "Markdown Test"
date: "2020-01-02"
slug: "test"
description: "Designing and building a website to connect quality photographers in Lagos, Nigeria"
category: bug-fixes
tags:
- html
Expand Down Expand Up @@ -146,22 +146,22 @@ Right aligned columns

[link text](http://dev.nodeca.com)

[link with title](http://nodeca.github.io/pica/demo/ 'title text!')
[link with title](http://nodeca.github.io/pica/demo/ "title text!")

Autoconverted link https://github.com/nodeca/pica (enable linkify to see)

## Images

![Minion](https://octodex.github.com/images/minion.png)
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg 'The Stormtroopocat')
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")

Like links, Images also have a footnote style syntax

![Alt text][id]

With a reference later in the document defining the URL location:

[id]: https://octodex.github.com/images/dojocat.jpg 'The Dojocat'
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"

## Plugins

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: 'Getting started with React Native'
date: '2021-01-01'
slug: 'getting-started-with-react-native'
description: 'Next.js has two forms of pre-rendering: Static Generation and Server-side Rendering. The difference is in when it generates the HTML for a page.'
previewImage: '/images/notes/markdown_1.jpg'
category: 'til'
title: "Getting started with React Nativ"
date: "2021-01-01"
slug: "getting-started-with-react-native"
description: "Next.js has two forms of pre-rendering: Static Generation and Server-side Rendering. The difference is in when it generates the HTML for a page."
previewImage: "/images/notes/markdown_1.jpg"
category: "til"
tags:
- css
- html
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: 'Two Forms of Pre-rendering'
date: '2021-02-01'
slug: 'two-forms-of-pre-rendering'
previewImage: '/images/notes/markdown_2.jpg'
description: 'Next.js has two forms of pre-rendering: Static Generation and Server-side Rendering. The difference is in when it generates the HTML for a page.'
title: "Two Forms of Pre-rendering"
date: "2021-02-01"
slug: "two-forms-of-pre-rendering"
previewImage: "/images/notes/markdown_2.jpg"
description: "Next.js has two forms of pre-rendering: Static Generation and Server-side Rendering. The difference is in when it generates the HTML for a page."
category: bug-fixes
tags:
- javascript
Expand Down
8 changes: 4 additions & 4 deletions content/work/code-collab.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: Code Collab
date: '2020-04'
slug: 'code-collab'
date: "2020-04"
slug: "code-collab"
selectedWork: false
description: 'An online platform for developers to pair program in real-time with an integrated code editor and video chat.'
previewImage: '/images/work/delight/delight-preview.png'
description: "An online platform for developers to pair program in real-time with an integrated code editor and video chat."
previewImage: "/images/work/delight/delight-preview.png"
techStack:
- Next.js
- Typescript
Expand Down
16 changes: 8 additions & 8 deletions content/work/health-track.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: Health Track
date: '2019-06'
slug: 'health-track'
date: "2019-06"
slug: "health-track"
selectedWork: true
description: 'A mobile app that integrates with wearable devices to track health metrics and provide personalized fitness advice.'
previewImage: '/images/work/bob/bob-preview.png'
techStack:
- Next.js
- Typescript
- Tailwindcss
description: "A mobile app that integrates with wearable devices to track health metrics and provide personalized fitness advice."
previewImage: "/images/work/bob/bob-preview.png"
techStack:
- Next.js
- Typescript
- Tailwindcss
---

A mobile app that integrates with wearable devices to track health metrics and provide personalized fitness advice.
28 changes: 14 additions & 14 deletions content/work/task-buddy.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
title: TaskBuddy
date: '2019-06'
slug: 'task-buddy'
date: "2019-06"
slug: "task-buddy"
selectedWork: false
description: 'A collaborative to-do list app that uses real-time updates and machine learning to predict task completion times.'
previewImage: '/images/work/bob/bob-preview.png'
techStack:
- Next.js
- Typescript
- Tailwindcss
- Next.js
- Typescript
- Tailwindcss
- Next.js
- Typescript
- Tailwindcss
description: "A collaborative to-do list app that uses real-time updates and machine learning to predict task completion times."
previewImage: "/images/work/bob/bob-preview.png"
techStack:
- Next.js
- Typescript
- Tailwindcss
- Next.js
- Typescript
- Tailwindcss
- Next.js
- Typescript
- Tailwindcss
---
3 changes: 1 addition & 2 deletions utils/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export const getAllContentIds = (contentType: IContentType) => {
// return the slug of all the content IDs
return filenames.map((filename) => {
const filePath = path.join(baseDir, filename);

const fileContent = fs.readFileSync(filePath, 'utf-8');

const matterResult = matter(fileContent);

return {
Expand Down Expand Up @@ -144,7 +144,6 @@ export const getContentData = async (
const match = filenames.filter((filename) => {
const filePath = path.join(contentTypeDirectory, filename);
const fileContent = fs.readFileSync(filePath, 'utf-8');

const matterResult = matter(fileContent);
const { slug } = matterResult.data;
return slug === id;
Expand Down

0 comments on commit 3de14e5

Please sign in to comment.