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

@ -16,6 +16,8 @@
<h1 style="margin-bottom: 0px;">Blog</h1> <h1 style="margin-bottom: 0px;">Blog</h1>
<p style="margin-top: 0px;">A collection of my thoughts, some of them may be interesting</p> <p style="margin-top: 0px;">A collection of my thoughts, some of them may be interesting</p>
<p><a href="./blogs/side-project-8-15-23.html">[ Side Project Log 8/15/23 ]</a> - August 15th, 2023</p>
<p><a href="./blogs/side-project-8-8-23.html">[ Side Project Log 8/08/23 ]</a> - August 8th, 2023</p>
<p><a href="./blogs/side-project-7-12-23.html">[ Side Project Log 7/12/23 ]</a> - July 12th, 2023</p> <p><a href="./blogs/side-project-7-12-23.html">[ Side Project Log 7/12/23 ]</a> - July 12th, 2023</p>
<p><a href="./blogs/side-project-4-29-23.html">[ Side Project Log 4/29/23 ]</a> - April 29th, 2023</p> <p><a href="./blogs/side-project-4-29-23.html">[ Side Project Log 4/29/23 ]</a> - April 29th, 2023</p>
<p><a href="./blogs/side-project-3-27-23.html">[ Side Project Log 3/27/23 ]</a> - March 27th, 2023</p> <p><a href="./blogs/side-project-3-27-23.html">[ Side Project Log 3/27/23 ]</a> - March 27th, 2023</p>

View file

@ -65,6 +65,11 @@ unsafe
</code></pre> </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> <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>
<footer> <footer>
<hr /> <hr />
<p style="margin-bottom: 0px;">Copyright &#169; Nicholas Orlowsky 2023</p> <p style="margin-bottom: 0px;">Copyright &#169; Nicholas Orlowsky 2023</p>

View file

@ -50,21 +50,21 @@
</tr> </tr>
<tr> <tr>
<td>Bench Press</td> <td>Bench Press</td>
<td>275 Lbs</td> <td>280 Lbs</td>
<td>2023</td> <td>August 10th, 2023</td>
<td>Gregory Gym</td> <td>FUTO HQ</td>
</tr> </tr>
<tr> <tr>
<td>Squat</td> <td>Squat</td>
<td>405 Lbs</td> <td>415 Lbs</td>
<td>2023</td> <td>August 10th, 2023</td>
<td>Gregory Gym</td> <td>FUTO HQ</td>
</tr> </tr>
<tr> <tr>
<td>Deadlift</td> <td>Deadlift</td>
<td>405 Lbs</td> <td>415 Lbs</td>
<td>2023</td> <td>Augist 10th, 2023</td>
<td>Gregory Gym</td> <td>FUTO HQ</td>
</tr> </tr>
</table> </table>
</div> </div>

View file

@ -20,7 +20,7 @@
<a href="https://www.linkedin.com/in/nickorlow/">[ LinkedIn ]</a> <a href="https://www.linkedin.com/in/nickorlow/">[ LinkedIn ]</a>
<a href="mailto:nickorlow@nickorlow.com">[ E-Mail ]</a> <a href="mailto:nickorlow@nickorlow.com">[ E-Mail ]</a>
<a href="https://github.com/nickorlow/resume/releases/download/latest/resume-nickorlow.pdf">[ Resume ]</a> <a href="https://github.com/nickorlow/resume/releases/download/latest/resume-nickorlow.pdf">[ Resume ]</a>
<a href="https://nickorlow.com">[ Old Website ]</a> <a href="https://old.nickorlow.com">[ My Old Website ]</a>
</p> </p>
<p> <p>

View file

@ -17,6 +17,7 @@
<div> <div>
<h2>Nick Web Services (NWS)</h2> <h2>Nick Web Services (NWS)</h2>
<i>C#, Kubernetes, Rancher, and HAProxy</i>
<a href="https://nws.nickorlow.com">[ Project Website ]</a> <a href="https://nws.nickorlow.com">[ Project Website ]</a>
<p> <p>
Nick Web Services is a cloud infrastructure provider service that I created and run. Nick Web Services is a cloud infrastructure provider service that I created and run.
@ -33,6 +34,7 @@
<div> <div>
<h2>CavCash</h2> <h2>CavCash</h2>
<i>C#, Kubernetes, SQL Server, and MongoDB</i>
<a href="https://cavcash.com">[ Project Website ]</a> <a href="https://cavcash.com">[ Project Website ]</a>
<p> <p>
CavCash was a company that I founded which built a debit-based payment system similar to CavCash was a company that I founded which built a debit-based payment system similar to
@ -53,16 +55,30 @@
<div> <div>
<h2>SQUIRREL</h2> <h2>SQUIRREL</h2>
<i>Rust</i>
<a href="https://github.com/nickorlow/squirrel">[ GitHub Repo ]</a>
<p> <p>
SQUIRREL stands for SQL Query Util-Izing Rust's Reliable and Efficient Logic. It is a SQL database SQUIRREL stands for SQL Query Util-Izing Rust's Reliable and Efficient Logic. It is a SQL database
that I am writing in Rust. Currently, it can parse CREATE TABLE commands, and works with the that I am writing in Rust. Currently, it can create tables, insert data into tables, and select all
data types varchar and int. I plan to implement basic CRUD operations, then add JOINs, and then data from a given table. The biggest challenge so far has been writing the parser. My next steps are
try to make it wire-compatible with Postgres. to add WHERE clauses to SELECT statements, allow column filtering in SELECT statements, and add DELETE
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> </p>
</div> </div>
<div> <div>
<h2>SEPTA Site</h2> <h2>SEPTA Site</h2>
<i>Svelte, TypeScript</i>
<a href="https://github.com/nickorlow/septa-site">[ GitHub Repo ]</a> <a href="https://github.com/nickorlow/septa-site">[ GitHub Repo ]</a>
<p> <p>
SEPTA Site is a website that I created which can get your trip history, SEPTA Key balance, SEPTA Site is a website that I created which can get your trip history, SEPTA Key balance,

View file

@ -50,3 +50,8 @@ unsafe
} }
</code></pre> </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> <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: Olney uses the OpenAI API to get a summary of the email in the following format:
</p> </p>
<code> <pre><code class="language-json">
{ {
isRecruiting: bool, // is the message about recruiting? isRecruiting: bool, // is the message about recruiting?
recruitingInfo: null | { recruitingInfo: null | {
@ -33,7 +33,7 @@
name: string // Name of event, giving more detail to type name: string // Name of event, giving more detail to type
} // null if message is not about recruiting, fill with values if it is } // null if message is not about recruiting, fill with values if it is
} }
</code> </code></pre>
<p> <p>
Olney then takes some details from this data, namely: company, position, and location and then uses the OpenAI API to generate 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> <hr>
<p><strong>These projects had minimal/no work done on them:</strong> NWS, RingGold, SQUIRREL</p> <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. statements.
</p> </p>
</div> </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> <div>
<h2>SEPTA Site</h2> <h2>SEPTA Site</h2>