code styling

This commit is contained in:
2026-02-20 23:49:03 -05:00
parent 0193445394
commit bbc9ef7828
3 changed files with 28 additions and 20 deletions

View File

@@ -1,3 +1,5 @@
#import "@preview/treet:1.0.0": *
= About me
I enjoy competeing in capture the flag competitions (cybersecurity and the backyard game), working with robotics, automating tasks and thinking through problems.
@@ -5,7 +7,7 @@ I've competed in a few hackathons which are cool, but I prefer spending large ti
I think automation is one of the most powerful abilities we have. As a species we are on the brink of mass automation, which can either liberate our lives into a post-scarcity utopia, or give a small percentage of us more control over the rest than anyone ever has had.
An odd and maybe abstract thing I enjoy is design philosphy. Some examples are creating software to building moral structures through logic to methods of learning new skills.
An odd and maybe abstract thing I enjoy is design philosophy. Some examples are creating software to building moral structures through logic to methods of learning new skills.
NixOS has to be my favourite distribution of Linux. My attraction to its design philosophy is that if something works, it will always work anywhere, and can still be worked on long after everything around it has moved on. Its hard to put into words but this feels like debian level stability with arch-like freedom to explore software.

View File

@@ -23,24 +23,25 @@ Notice again this part iterates through 10 characters of input. In this loop the
Here's the math on how I found a password that reached 984:
`a=password2=qqqqqqqqqt`\
`b=password3=?`\
`∑4((a[i] + b[i]) >> 3) == 984`\
`∑((a[i] + b[i]) >> 3) == 246`\
`9((113 + b1) >> 3) + ((116 + b2) >> 3) == 246`\
\# Note `b1, b2 ∈ [32, 126] = usable ascii characters`\
\# Since the sum of 10 characters is 246, a good b1 value will cause the character function to return 25.\
`(113 + b1) >> 3 = 25`\
`113 + b1 = 200`\
`b1 = 87 = "W"`\
\# Sub b1 back into the whole equation\
`9((113 + 87) >> 3) + ((116 + b2) >> 3) = 246`\
`9(200 >> 3) + ((116 + b2) >> 3) = 246`\
`9(25) + ((116 + b2) >> 3) = 246`\
`225 + ((116 + b2) >> 3) = 246`\
`(116 + b2) >> 3 = 21`\
`116 + b2 = 168`\
`b2 = 52 = "4"`\
```
a=password2=qqqqqqqqqt
b=password3=?
Σ4((a[i] + b[i]) >> 3) == 984
Σ((a[i] + b[i]) >> 3) == 246
9((113 + b1) >> 3) + ((116 + b2) >> 3) == 246
# Note `b1, b2 [32, 126] = usable ascii characters
# Since the sum of 10 characters is 246, a good b1 value will cause the character function to return 25.
(113 + b1) >> 3 = 25
113 + b1 = 200
b1 = 87 = "W"
# Sub b1 back into the whole equation
9((113 + 87) >> 3) + ((116 + b2) >> 3) = 246
9(200 >> 3) + ((116 + b2) >> 3) = 246
9(25) + ((116 + b2) >> 3) = 246
225 + ((116 + b2) >> 3) = 246
(116 + b2) >> 3 = 21
116 + b2 = 168
b2 = 52 = "4"```
Therefore a solution for password3 is `WWWWWWWWW4`

View File

@@ -124,7 +124,10 @@ a {
}
pre {
overflow-x: auto;
overflow-x: auto;
background-color: #000;
border-radius: 4pt;
padding: 2pt;
}
code {
@@ -132,6 +135,8 @@ code {
font-variant-ligatures: normal;
white-space: pre;
color: green;
background-color: #000;
border-radius: 2pt;
}
.top-image {