add syntax highlighting

This commit is contained in:
Nicholas Orlowsky 2023-08-20 13:47:57 -05:00
parent d37c2c05cd
commit 8fd2a381b8
No known key found for this signature in database
GPG key ID: 24C84C4DDAD95065
8 changed files with 57 additions and 15 deletions

View file

@ -50,3 +50,8 @@ unsafe
}
</code></pre>
<p>In .NET 6, the <code>NativeMemory</code> class was introduced which you can read about <a href="https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.nativememory.alloc?view=net-6.0">here</a>. It allows for malloc-like memory allocation and freeing which can be important for high-performance workloads.</p>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/dark.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>

View file

@ -21,7 +21,7 @@
Olney uses the OpenAI API to get a summary of the email in the following format:
</p>
<code>
<pre><code class="language-json">
{
isRecruiting: bool, // is the message about recruiting?
recruitingInfo: null | {
@ -33,7 +33,7 @@
name: string // Name of event, giving more detail to type
} // null if message is not about recruiting, fill with values if it is
}
</code>
</code></pre>
<p>
Olney then takes some details from this data, namely: company, position, and location and then uses the OpenAI API to generate
@ -54,3 +54,7 @@
<hr>
<p><strong>These projects had minimal/no work done on them:</strong> NWS, RingGold, SQUIRREL</p>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/dark.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>

View file

@ -51,6 +51,16 @@
statements.
</p>
</div>
<div>
<h2>Olney</h2>
<i>Rust, Postgres, Svelte, TypeScript, and OpenAI's API</i>
<a href="https://github.com/nickorlow/olney">[ GitHub Repo ]</a>
<p>
Olney is a job application tracker that aims to be better than using a <a href="https://trello.com">Trello</a> board or a spreadsheet.
It allows users to create jobs and log custom events such as interviews, assessments, and other communication.
</p>
</div>
<div>
<h2>SEPTA Site</h2>