summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/index.html99
-rw-r--r--public/posts.html59
2 files changed, 0 insertions, 158 deletions
diff --git a/public/index.html b/public/index.html
deleted file mode 100644
index 61413a8..0000000
--- a/public/index.html
+++ /dev/null
@@ -1,99 +0,0 @@
-
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="description" content="Home for a73x" />
- <meta name="author" content="a73x" />
- <meta name="viewport"
- content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
- <title>a73x</title>
- <style>
- @font-face {
- font-family: 'Mono';
- src: url('./static/V1-ServerMono-Regular.woff2') format('woff2');
- font-weight: normal;
- font-style: normal;
- }
-
- body {
- font-family: "Mono";
- }
-
- code {
- font-family: "Mono";
- color: crimson;
- background-color: #f1f1f1;
- padding: 2px;
- }
-
- nav ul {
- display: flex;
- list-style: none;
- }
-
- nav ul li {
- margin-right: 20px;
- }
- </style>
-</head>
-
-<body>
- <!-- templates/header.html -->
-<h1>a73x</h1>
-<nav>
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="/posts">Posts</a></li>
- </ul>
-</nav>
-
-
- <ul>
- <li>backend cloud software engineer</li>
- <li>lang: go</li>
- <li>infra: kubernetes</li>
- </ul>
- <h2>daily learnings</h2>
- <h3>#go</h3>
- <ul>
- <li>layout packages by what they do, not by their abstract type</li>
- <li>use channels sparingly. write synchronous methods and allow the caller to make it async</li>
- <li><code>append</code> modifies the underlying slice, you'll only make this mistake once</li>
- <li>define interfaces where you use them</li>
- <li><code>make([]int, 5)</code> has a length and capacity of 5. <code>([]int, 0,5)</code> has a length
- of 0 and capacity of 5.
- <br />
- <code>append()</code> will only do what you want with the latter
- </li>
- <li>don't use <code>init()</code></li>
- <li>TFBO (test, fix, benchmark, optimise)</li>
- </ul>
- <h3>#git</h3>
- <ul>
- <li><code>git commit --fixup=&lt;COMMITSH&gt;</code>
- <br />
- <code>git rebase origin/main --autosquash</code>
- </li>
- </ul>
-
- <h2>Books</h2>
- <ul>
- <li><a href=https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063 />Designing
- Data Intensive Applications</a></li>
- <li><a href=https://www.oreilly.com/library/view/database-internals/9781492040330 />Database Internals
- </a>
- </li>
- <li>
- <a href=https://www.oreilly.com/library/view/efficient-go/9781098105709 /> Efficient Go</a>
-
- </li>
-
- </ul>
-
-</body>
-
-</html>
-
-
diff --git a/public/posts.html b/public/posts.html
deleted file mode 100644
index b63f4da..0000000
--- a/public/posts.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="description" content="Home for a73x" />
- <meta name="author" content="a73x" />
- <meta name="viewport"
- content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
- <title>a73x</title>
- <style>
- @font-face {
- font-family: 'Mono';
- src: url('./static/V1-ServerMono-Regular.woff2') format('woff2');
- font-weight: normal;
- font-style: normal;
- }
-
- body {
- font-family: "Mono";
- }
-
- code {
- font-family: "Mono";
- color: crimson;
- background-color: #f1f1f1;
- padding: 2px;
- }
-
- nav ul {
- display: flex;
- list-style: none;
- }
-
- nav ul li {
- margin-right: 20px;
- }
- </style>
-</head>
-
-<body>
- <!-- templates/header.html -->
-<h1>a73x</h1>
-<nav>
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="/posts">Posts</a></li>
- </ul>
-</nav>
-
-
-<h1>Posts</h1>
-
-</body>
-
-</html>
-
-