Skip to content

Instantly share code, notes, and snippets.

View full-sized avatar

Vincent Lee williewillus

View GitHub Profile
View hostname.vio0
inet <public-ip-1> 255.255.254.0 NONE
inet alias <public-ip-2> 255.255.255.255
View gist:07d6f5930a45cda9e6364095abc3fa63
time="2020-11-13T04:13:04Z" level=info msg="webdav: /originals/ waiting for connection"
time="2020-11-13T04:13:04Z" level=info msg="webdav: /import/ waiting for connection"
time="2020-11-13T04:13:04Z" level=info msg="starting web server at 0.0.0.0:2342"
time="2020-11-13T04:13:15Z" level=info msg="session: open /photoprism/storage/cache/sessions.json: no such file or directory"
time="2020-11-13T04:13:17Z" level=info msg="photos: found 0 results for photo:true public:true dist:20 quality:3 count:60 order:newest merged:true [689.805µs]"
2020/11/13 04:13:37 Allocated new queue in 20.396µs; Capacity: 1257382
time="2020-11-13T04:13:45Z" level=info msg="photos: found 0 results for photo:true public:true dist:20 quality:3 count:60 order:newest merged:true [702.936µs]"
time="2020-11-13T04:13:49Z" level=info msg="Settings saved"
time="2020-11-13T04:13:49Z" level=info msg="Settings saved"
time="2020-11-13T04:13:51Z" level=info msg="Indexing originals..."
@williewillus
williewillus / foo.md
Last active December 25, 2020 08:02
Advent of Code in C - Challenge Guidelines
View foo.md
@williewillus
williewillus / avg.awk
Last active December 10, 2019 09:26
Compilers final project testing
View avg.awk
{
freqs[$1] += $2;
count[$1] += 1;
}
END {
for (test in freqs) {
avg = freqs[test] / count[test];
printf "%s %.2f\n", test, avg;
}
@williewillus
williewillus / 1132_to_114.xml
Last active July 16, 2022 02:14
1.13.2 -> 1.14 migration mappings
View 1132_to_114.xml
<?xml version="1.0" encoding="UTF-8"?>
<migrationMap>
<name value="1.13.2 to 1.14" />
<description value="1.13.2 to 1.14 MCP changes" />
<entry oldName="net.minecraft.GameVersion" newName="net.minecraft.util.MinecraftVersion" type="class" />
<entry oldName="net.minecraft.advancements.AdvancementList.Listener" newName="net.minecraft.advancements.AdvancementList.IListener" type="class" />
<entry oldName="net.minecraft.advancements.RequirementsStrategy" newName="net.minecraft.advancements.IRequirementsStrategy" type="class" />
<entry oldName="net.minecraft.advancements.criterion.AbstractCriterionInstance" newName="net.minecraft.advancements.criterion.CriterionInstance" type="class" />
<entry oldName="net.minecraft.block.Block.EnumOffsetType" newName="net.minecraft.block.Block.OffsetType" type="class" />
<entry oldName="net.minecraft.block.BlockAbstractBanner" newName="net.minecraft.block.AbstractBannerBlock" type="class" />
View ghast.json
{
"minecraft:entity": {
"format_version": "1.2.0",
"components": {
"minecraft:identifier": {
"id": "minecraft:ghast"
},
"minecraft:breathable": {
@williewillus
williewillus / gitprimer.md
Last active October 6, 2022 20:48
Git Primer
View gitprimer.md
@williewillus
williewillus / foo.json
Created December 19, 2017 00:03
mcpe entity models
View foo.json
"geometry.chicken": {
"texturewidth": 64,
"textureheight": 32,
"bones": [
{
"name": "head",
"pivot": [ 0.0, 9.0, -4.0 ],
"rotation": [ 0.0, 0.0, 0.0 ],
"cubes": [
{
@williewillus
williewillus / primer.md
Last active August 30, 2023 13:49
1.13/1.14 update primer
View primer.md

This primer is licensed under CC0, do whatever you want.

BUT do note that this can be updated, so leave a link here so readers can see the updated information themselves.

1.13 and 1.14 are lumped together in this doc, you're on your own if you just want to go to 1.13 and not 1.14, for some reason.

1.15 stuff: https://gist.github.com/williewillus/30d7e3f775fe93c503bddf054ef3f93e

Things in Advance

  • ResourceLocation now throw on non-snake-case names instead of silently lowercasing for you, so you probably should go and change all those string constants now. More precisely, domains must only contain alphanumeric lowercase, underscore (_), dash (-), or dot (.). Paths have the same restrictions, but can also contain forward slashes (/).
@williewillus
williewillus / foo.txt
Last active August 9, 2017 17:30
botania 1.12 progress
View foo.txt
Botania 1.12 plans!
General
- Push major version to r1.10
Art Changes
- Merge in wiiv's new block and item textures and pylon models
- Update armor models to wiiv's new ones for the 1.8+ player model
+ Replace lexica botania landing page sprites with more vanilla-like 16x16 ones
+ Replace lexica botania landing page button animation stencil one I'll provide