Skip to content

Commit

Permalink
chore: remove ads
Browse files Browse the repository at this point in the history
  • Loading branch information
herbievine authored Jul 3, 2024
2 parents ad72435 + 9983227 commit 8aea2d9
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 71 deletions.
7 changes: 0 additions & 7 deletions posts/42-a-comprehensive-guide-to-cub3d.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,6 @@ Once we hit a wall (here defined as `'1'`, but you might define it otherwise), w
// ...
```

<Ad
title="Penkle Analytics"
description="Simplify insights, respect privacy, and thrive as an indie hacker with our intuitive analytics platform."
url="https://penkle.com"
image="https://penkle.com/media/ad.png"
/>

#### Step 5: Calculating the Wall Height

The final step in the raycasting algorithm is to calculate the height of the wall based on the distance to the wall and the player’s view.
Expand Down
7 changes: 0 additions & 7 deletions posts/42-a-comprehensive-guide-to-pipex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,6 @@ int main(int argc, char *argv[])
Notice that the message only appears after the child process’ `sleep(1)` command has ended, and `exit(1)` is called, terminating its process.
<Ad
title="Penkle Analytics"
description="Simplify insights, respect privacy, and thrive as an indie hacker with our intuitive analytics platform."
url="https://penkle.com"
image="https://penkle.com/media/ad.png"
/>
## The Program
### Parsing
Expand Down
7 changes: 0 additions & 7 deletions posts/42-a-comprehensive-guide-to-so_long.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,6 @@ if (one_of_the_four_adjacent_directions_is_possible)
return map_invalid;
```

<Ad
title="Penkle Analytics"
description="Simplify insights, respect privacy, and thrive as an indie hacker with our intuitive analytics platform."
url="https://penkle.com"
image="https://penkle.com/media/ad.png"
/>

## Developing with the MLX

I highly recommend using stack-allocated memory as much as possible, as it will make your life so much easier when you need to exit the program.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ run = [

Customise the settings based on your project's requirements.

<Ad
title="Penkle Analytics"
description="Simplify insights, respect privacy, and thrive as an indie hacker with our intuitive analytics platform."
url="https://penkle.com"
image="https://penkle.com/media/ad.png"
/>

## GitHub Actions Integration

Integrating 42 CLI into your GitHub repository workflow is a straightforward process. By using GitHub Actions, you can automate the build, lint, and test processes with each push or pull request. Below is an example GitHub Actions workflow file (`.github/workflows/ci.yml`) that you can use as a starting point:
Expand Down
37 changes: 0 additions & 37 deletions src/components/ad.tsx

This file was deleted.

7 changes: 1 addition & 6 deletions src/components/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import { useMDXComponent } from "next-contentlayer/hooks";
import React from "react";
import { Ad } from "./ad";

type RenderProps = {
code: string;
Expand All @@ -13,11 +12,7 @@ export default function Render({ code }: RenderProps) {

return (
<article className="prose prose-neutral dark:prose-invert">
<MDX
components={{
Ad,
}}
/>
<MDX />
</article>
);
}

0 comments on commit 8aea2d9

Please sign in to comment.