update files

master
John Montagu, the 4th Earl of Sandvich 2024-03-09 17:31:25 -08:00
parent 8a52e5752b
commit 8ef38e3876
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
53 changed files with 390 additions and 25 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -6,15 +6,16 @@
~humanoidsandvichdispenser@gmail.com~
Encrypt with [[https://sandvich.xyz/sandvich.gpg][GPG key]] \\
~curl https://sandvich.xyz/sandvich.gpg | gpg --import~ \\
~1643 9496 7ED2 8385 A5FE DBCD 9A39 BE37 E602 B22D~
[[https://sandvich.xyz/sandvich.gpg][Click here to download GPG key]] or use
the command below to import: \\
~curl https://sandvich.xyz/sandvich.gpg | gpg --import~
All emails from me will be signed with my GPG key.
All emails from me will be signed with my GPG key. \\
Signature: ~1643 9496 7ED2 8385 A5FE DBCD 9A39 BE37 E602 B22D~
* Discord/Matrix
Discord: ~pyro from csgo#6740~ \\
Discord: ~pyrofromcsgo~ \\
Matrix: ~@humanoidsandvichdispenser:matrix.org~
* Other

View File

@ -0,0 +1,15 @@
#+TITLE: Contact Information
* Email
Please email me at [[mailto:humanoidsandvichdispenser@gmail.com][humanoidsandvichdispenser@gmail.com]] and, if possible or know how, encrypt your mail with [[/sandvich.gpg][my GPG key]].
My GPG signature is ~1643 9496 7ED2 8385 A5FE DBCD 9A39 BE37 E602 B22D~. If you receive a different signature, it is most likely not from me.
* Discord
Instead, you can also send a message ~pyro from csgo#6740~ on Discord
* Other Methods
You can also leave a comment below anonymously or by signing into GitHub.

View File

@ -0,0 +1,2 @@
#+TITLE: Login to Canvas with this One Trick! 😱😱 (Teachers HATE HIM)
#+DRAFT: true

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,22 @@
---
title: "Greenpath (Piano & Guitar Duet Arrangement)"
subtitle: "From \"Hollow Knight\""
artist: "Christopher Larkin"
musescore: https://musescore.com/user/40262822/scores/12893104
date: "2023-02-15"
parts:
- "Piano"
- "Classical Guitar"
---
- [Score (.mscz)](./greenpath-duet-new.mscz)
- [Score (.pdf)](./greenpath-duet-new.pdf)
- [Piano (.pdf)](./greenpath-duet-new-Piano.pdf)
- [Classical Guitar (.pdf)](./greenpath-duet-new-Classical_Guitar.pdf)
# Old Version (2023-11-05)
- [Score (.mscz)](./greenpath-duet.mscz)
- [Score (.pdf)](./greenpath-duet.pdf)
- [Piano (.pdf)](./greenpath-duet-Piano.pdf)
- [Classical Guitar (.pdf)](./greenpath-duet-Classical_Guitar.pdf)

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
---
title: "Moskau"
artist: "Dschinghis Khan"
musescore: https://musescore.com/user/40262822/scores/12107134
date: "2022-03-01"
parts:
- "Piano"
---
Probably very hard to read with the amount of jumps but at least it's only
3 pages
- [Score (.mscz)](./Moskau.mscz)
- [Score (.pdf)](./Moskau.pdf)

View File

@ -0,0 +1,20 @@
---
title: "Sad Piano"
subtitle: "FeelsOkayMan Outro"
artist: "Naoya Sakomata"
musescore: https://musescore.com/user/40262822/scores/13804264
date: "2024-01-05"
parts:
- "Piano"
---
Transcription of Naoya Sakamata - Sad Piano, specifically the part played
during FeelsOkayMan's outro, with a short additional ending not present in the
original composition.
I mainly wrote this for a forsen dead shitpost:
{{< youtube "t9q1j6th0wM" >}}
- [Score (.mscz)](./feelsokayman-outro-sad-piano.mscz)
- [Score (.pdf)](./feelsokayman-outro-sad-piano.pdf)

View File

@ -0,0 +1,12 @@
---
title: "Winter (The Wind Can Be Still) Guitar Arrangement"
subtitle: "From \"Stardew Valley\""
artist: "Eric Barone (ConcernedApe)"
musescore: https://musescore.com/user/40262822/scores/10277098
date: "2023-03-24"
parts:
- "Guitar"
---
- [Score (.mscz)](./the-wind-can-be-still.mscz)
- [Score (.pdf)](./the-wind-can-be-still.pdf)

View File

@ -2,15 +2,15 @@
#+DATE: <2023-01-25 Wed>
#+TAGS[]: jellyfin software technology
/Disclaimer: this guide is only for educational purposes and I do not recommend or condone any of this. Of course, piracy is bad and illegal. You wouldn't download a car. This is just a guide on what services you *definitely* should not use./
/Disclaimer: this guide is only for educational purposes and I do not recommend or condone any of this./
[[https://cdn.7tv.app/emote/60ae3804259ac5a73e2bff3d/3x.png]]
* Deemix
Deemix is a piece of software that allows you to rip music straight from Deezer. A lot of online pirates are probably familiar with this tool, as it allows them to easily and quickly access millions of songs from the streaming service. But there is a [[https://gitlab.com/Bockiii/deemix-docker][Docker container]] that serves a web GUI, so you can stick it in your media server.
[[https://gitlab.com/Bockiii/deemix-docker][Docker container]]
This is very convenient for those who want to listen to music on their own media server. No longer do you have to download from YouTube and fix any broken metadata and then manually transfer it to your media server.
I have no association with this software (educational purposes only).
* Docker Compose
@ -69,7 +69,3 @@ In my ~docker-compose.yml~, the container directory ~/downloads~ is mounted/boun
[[../assets/deemix.png]]
Now I just search up any song, album, or discography, and it will instantly show up on the Jellyfin server.
* Conclusion
As you can see, this is very illegal because it is stealing, and therefore this is bad. I hope you found this educational in that you now know the dangers of piracy and what you should avoid doing.

View File

@ -0,0 +1,2 @@
#+title: dinit
#+draft: true

View File

@ -1,6 +1,6 @@
#+TITLE: The Fish and Young Argument
#+DATE: <2022-09-09 Fri>
#+TAGS: english language
#+TAGS[]: english language
What is the write way to right?

View File

@ -0,0 +1,14 @@
---
title: godot bros
date: 2023-09-14
tags:
- misc
---
GODOT BROS WE ARE SO BACK
![](/assets/unity.png)
![](/assets/godot.png)
![](https://cdn.frankerfacez.com/emoticon/387513/2)

View File

@ -0,0 +1,8 @@
---
title: "15:28 forsenSmug"
date: "2023-10-20"
---
I called him every name and every insult under the sun
But never once did I doubt

View File

@ -0,0 +1,10 @@
#+TITLE: On Integrated Development Environments
#+draft: true
If you encounter a Linux user, there might be a good chance that they will base their entire personality over what operating system they use.
"Guys look, I'm a Linux user! That means I'm better than Winplebs."
"Guys look, I'm an Arch user! That means I'm better than Noobuntu."
"Guys look, I'm an Artix user! That "

View File

@ -0,0 +1,7 @@
#+TITLE: Redesign
#+DATE: <2022-10-31 Mon>
#+TAGS[]: misc
Site has been redesigned to look more simple in terms of colors. More attractive and normandie friendly.
# more

View File

@ -1,6 +1,6 @@
#+TITLE: Schule
#+DATE: <2022-08-27 Sat>
#+TAGS: school education
#+TAGS[]: school education
You'd always hear the kids say "School is useless because they don't teach you anything useful, and you can get a job without going to school!"

View File

@ -1,6 +1,6 @@
#+TITLE: Software I Use/Recommend
#+DATE: <2022-09-05 Mon>
#+TAGS: software emacs
#+TAGS[]: software emacs
Dotfiles can be viewed [[https://github.com/humanoidsandvichdispenser/dotfiles][here]] (emacs config in a separate repo).

View File

@ -0,0 +1,31 @@
#+TITLE: Self-hosting a Stardew Valley and SVE Server
#+DRAFT: true
Here I show very quick guide on how to set up a Stardew Valley server with Docker.
* Vanilla Stardew
This [[https://github.com/printfuck/stardew-multiplayer-docker][git repository]] lets you start up a server as quickly as possible. Note that this will install SMAPI, but it will still be considered "vanilla" since the clients do not have to install any mods, and the gameplay will remain like vanilla. The mods included in this repository are only necessary for automatically hosting a game.
* CPU
On a decent machine, you might notice that the CPU usage might be a little bit high, and your temps will increase to about 60 C. This is because the game also has to render, and it is running under an X server. This introduces too much overhead.
You can decrease CPU usage by decreasing the resolution in your ~docker-compose.yml~.
#+begin_src conf
services:
valley:
# ...
environment:
# ...
- "DISPLAY_HEIGHT=640" # default is 900
- "DISPLAY_WIDTH=480" # default is 1200
# ...
#+end_src
* Modded
The
**

View File

@ -0,0 +1,8 @@
#+TITLE: Stateful vs. Stateless Analogy
#+DATE: <2023-03-21 Tue>
#+DRAFT: true
#+TAGS[]: technology
Let's say your father went out to get milk.

View File

@ -0,0 +1,30 @@
---
date: 2023-11-04
tags:
- misc
title: "Two Cans & String Question Heatmap"
draft: true
---
Since March, I have collected thousands of questions on Two Cans & String. Most
of these questions were activated questions, but some were randomly sampled by
selecting every n post.
I used a Python script that uses the Two Cans & String API to archive questions
and insert it into an SQLite DB.
![](/assets/tcdb.png)
The data was transformed into a CSV and imported into Google Sheets, which
allowed me to create a heatmap by counting the frequency based on the day of
the week.
Here was the heatmap of the questions posted on the website from 2nd of March
to 2nd of April.
![](https://i.ibb.co/vk1c4LS/twocans.png)
Now after 6 months, here is how the heatmap changed from 2nd of March to 2nd of
September (also with a table of questions asked).
![](https://i.ibb.co/2g7pQx4/image.png)

View File

@ -0,0 +1,58 @@
---
title: Do you really need tabs/bufferlines in Neovim?
date: 2023-07-28
tags:
- software
- technology
---
When I was previously using Emacs, one feature I found that was not really
implemented was tabs for each buffer. I was extremely used to bufferlines
(which is what people usually mean when they refer to "tab") as I was using
Neovim before I switched to Emacs and back to Neovim. As I got used to it, I
found out that I was better off with a buffer list than a bufferline.
(Newer) Neovim users tend to prefer bufferlines, while Emacs users tend to
prefer buffer lists. *This would not be true five years ago*, but it is now. I
guess the reason for this is that there are more people from tabbed editors
such as VSCode, Atom, and Sublime migrating to Neovim than to Emacs.
As a result, tabs and bufferlines are more popular than buffer lists. Buffer
lists are often overlooked, not known to many people, and sometimes perceived
as archaic.
However, your workflow might be more appropriately suited towards buffer lists,
and you just do not know it.
![](/assets/bufferlines.png)
The main reason for using Neovim for many people is that its heavily
keyboard-centric. It is far easier to navigate Neovim with the keyboard than
the mouse. However, when using a bufferline, if you are not using a mouse, it
takes multiple TABs and C-TABs to find the file you want. In a buffer list,
its the same if not better. You can filter through files by typing its name
and finding it in the buffer list rather than scanning the names of each file
in the bufferline.
A bufferline also takes up the top part of your screen. It is not as big of a
deal, but as you open more files, it becomes more difficult to navigate. Your
bufferline is usually always visible showing every tab when you dont need it.
A buffer list is only open when invoked, through a command or shortcut. It does
takes up more space, but only when needed.
The way people using bufferlines avoid both of these issues is to close buffer
tabs once they are finished with working on the file. However, this means you
have to keep track of what other files you have open and how many tabs are
open. In a buffer list, you only open a file once, and once you are finished
with it, you switch to another buffer.
An additional pro for buffer lists that may not apply to everyone is its
ability to preview files. In Neovim, I use Telescope to pick buffers, and it
includes a file previewer. This makes it easier for me to look across files
without actually switching to them and having to switch back. A recent use case
I had was to quickly check what other tags my other posts had.
As you can see, buffer lists are an extremely overlooked feature in favor of
bufferlines/tablines. While users coming from editors that primarily use tabs
may be more familiar with the bufferline, buffer lists would especially help
for those whose workflows involve dealing with multiple files at once.

View File

@ -1,6 +1,8 @@
#+TITLE: Clear Your Desks
#+DATE: <2023-02-10 Fri>
AP Calculus BC project
If you're looking for the Clear Your Desks project/memory quiz practice, it is in the link below.
[[https://cyd.sandvich.xyz]]

14
index.html 100644
View File

@ -0,0 +1,14 @@
<!doctype html>
<html data-adblockkey="MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANDrp2lz7AOmADaN8tA50LsWcjLFyQFcb/P2Txc58oYOeILb3vBw7J6f4pamkAQVSQuqYsKx3YzdUHCvbVZvFUsCAwEAAQ==_eTyakOi/W2ZfDDMIDpprekV8TElG+VLSIQkLdZTyuzFAGhStR66Qhhz7WobA2tvSRO3rbngCqTb5L2heWEyqCQ==" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQI12P4//8/AAX+Av7czFnnAAAAAElFTkSuQmCC">
<link rel="preconnect" href="https://www.google.com" crossorigin>
</head>
<body>
<div id="target" style="opacity: 0"></div>
<script>window.park = "eyJ1dWlkIjoiMGI5MzRkOGUtMmFhOS00OWJjLTg0MGQtZDFiOTc3MDFlM2NhIiwicGFnZV90aW1lIjoxNzA1MDMzNTkzLCJwYWdlX3VybCI6Imh0dHA6Ly93dzI1LnNwb29reWdhbmcubmV0Lz9zdWJpZDE9MjAyNDAxMTItMTUyNi0zMzQ4LTg0NGQtMTE3MjA3M2FkMTYyIiwicGFnZV9tZXRob2QiOiJHRVQiLCJwYWdlX3JlcXVlc3QiOnsic3ViaWQxIjoiMjAyNDAxMTItMTUyNi0zMzQ4LTg0NGQtMTE3MjA3M2FkMTYyIn0sInBhZ2VfaGVhZGVycyI6e30sImhvc3QiOiJ3dzI1LnNwb29reWdhbmcubmV0IiwiaXAiOiI1MC4xNTguNTIuMjMzIn0K";</script>
<script src="/bCSuKVdYJ.js"></script>
</body>
</html>

View File

@ -12,6 +12,10 @@
{{ range .Pages }}
{{ partial "tool.html" . }}
{{ end }}
{{ else if eq .Section "music" }}
{{ range .Pages }}
{{ partial "music.html" . }}
{{ end }}
{{ else }}
{{ partial "post-list.html" .Pages }}
{{ end }}

View File

@ -32,6 +32,12 @@
RSS Feed (posts only)
</a>
</li>
<li>
<a href="https://youtube.com/@humanoidsandvichdispenser">
<i class="bi bi-youtube"></i>
@humanoidsandvichdispenser
</a>
</li>
<li>
<a href="/contact">
<i class="bi bi-three-dots"></i>
@ -40,12 +46,17 @@
</li>
</ul>
<h2 class="offset-fix">
<i class="bi bi-tools" style="margin-right: 0.5em;"></i>
Tools
<i class="bi bi-music-note-beamed" style="margin-right: 0.5em;"></i>
Sheet Music
<a href="/music" class="button">
<button style="vertical-align: middle; margin-left: 8px;">
view all
</button>
</a>
</h2>
<div class="post-list">
{{ range (where .Site.RegularPages "Section" "tools") }}
{{ partial "tool.html" . }}
{{ range (where .Site.RegularPages "Section" "music") }}
{{ partial "music.html" . }}
{{ end }}
</div>
<h2 class="offset-fix">
@ -58,6 +69,15 @@
</a>
</h2>
{{ partial "post-list.html" (where .Site.RegularPages "Section" "posts" | first 5) }}
<h2 class="offset-fix">
<i class="bi bi-tools" style="margin-right: 0.5em;"></i>
Stuff
</h2>
<div class="post-list">
{{ range (where .Site.RegularPages "Section" "tools") }}
{{ partial "tool.html" . }}
{{ end }}
</div>
</div>
</div>
</article>

View File

@ -0,0 +1,22 @@
{{ partial "head.html" . }}
{{ partial "header.html" }}
<div class="root">
<div class="content">
<h1 class="MUGA">
{{ .Title }} - {{ .Params.Artist }}
</h1>
<iframe
width="100%" height="512"
src="{{ .Params.MuseScore }}/embed"
frameborder="0"
allowfullscreen allow="autoplay; fullscreen">
</iframe>
{{ .Content }}
<h2 id="comments">Comments</h2>
{{ partial "remark42.html" . }}
{{ partial "footer.html" }}
</div>
</div>
<ul class="shortlist links">
{{ partial "links.html" }}
</ul>

View File

@ -2,8 +2,9 @@
<!--a href="/" class="home">sandvich.xyz</a-->
<a href="/">Home</a>
<a href="/posts">Posts</a>
<a href="/music">Music</a>
<a href="/tools">Tools</a>
<a href="/tags">Tags</a>
<a href="/contact">Contact</a>
<a href="https://notes.sandvich.xyz">notes.sandvich.xyz</a>
<!--a href="https://notes.sandvich.xyz">notes.sandvich.xyz</a-->
</nav>

View File

@ -0,0 +1,15 @@
<div class="info info-small">
<span class="info-tags">
<i class="bi bi-music-note"></i>
<span>
<!--
{{ range $k, $v := .Params.Parts }}
{{ $url := printf "/music/parts/%s" (. | urlize) }}
<a class="tag" href="{{ $url }}">{{ . }}</a>
{{ . }}
{{ end }}
-->
{{ delimit .Params.Parts ", " }}
</span>
</span>
</div>

View File

@ -0,0 +1,21 @@
<div class="post-item post-music">
<h1>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h1>
{{ partial "music-info-small.html" . }}
<p>
{{ .Params.Subtitle }}
</p>
<div class="read-more-button">
<a href="{{ .RelPermalink }}" class="button">
<button>
View/download score
</button>
</a>
<a href="{{ .Params.MuseScore }}" class="button">
<button>
View on MuseScore
</button>
</a>
</div>
</div>

View File

@ -1,8 +1,4 @@
<div id="remark42">
<a href="/posts/comments/">
WHERE ARE THE COMMENTS??
<img src="https://cdn.betterttv.net/emote/60450ad3306b602acc598938/3x.webp">
</a>
</div>
<script>
var remark_config = {

View File

@ -0,0 +1 @@
<iframe width="100%" height="394" src="{{ .Get 0 }}/embed" frameborder="0" allowfullscreen allow="autoplay; fullscreen"></iframe>

View File

@ -0,0 +1,10 @@
#! /bin/sh
#
# publish-codeberg.sh
# Copyright (C) 2023 sandvich <sandvich@artix>
#
# Distributed under terms of the MIT license.
#
hugo && cd public && git push

View File

@ -7,4 +7,4 @@
#
hugo && rsync -r public/ pi:~/web/sandvich.xyz/
hugo && rsync -r --progress public/ piscale:~/web/sandvich.xyz/

1
static/CNAME 100644
View File

@ -0,0 +1 @@
sandvich.xyz

File diff suppressed because one or more lines are too long