Skip to content

Instantly share code, notes, and snippets.

Busy busy busy...

Sebastiaan Dammann Sebazzz

Busy busy busy...
View GitHub Profile
Sebazzz / Index.razor
Created Apr 8, 2021
RadioOptionGroup is always re-rendering children
View Index.razor
@page "/"
@using Microsoft.AspNetCore.Components.Forms;
<h1>Hello, world!</h1>
<EditForm Model=@Options>
Radio buttons:
<InputRadioGroup @bind-Value="@RadioGroupVal">
Sebazzz /
Last active Mar 17, 2021
Creality CR-6 issue list (including listing of motherboard issues)

Creality CR-6 issue list

This is an initiative to create an overview of the issues found with the Creality CR-6 SE.

As of this writing (2020-09-19) the large number of the motherboard issues have not been publicly acknowledged. Hopefully this overview forces Creality to acknowledge the issues with the Creality CR-6 SE leveling free 3d printer.

Update 2021-07-17 from Creality

According to Creality all issues should be resolved in the newer models:

Here are the improvements we did as below:

Sebazzz /
Last active Apr 8, 2021
Creality CR-6 Unboxing & assembly guide

CR-6 post-unboxing checklist

With most of the CR-6 SE issues being due to bad wiring or loose/too tight screws I feel like it is time for a good post-unboxing checklist, to be walked through pre-assembly. Even though I do not have my unit shipped yet, I've seen enough issues and fixes that I can compile this post.

I initially posted this on the independent CR-6 community Facebook group but since not everyone wants to use Facebook (which I totally understand), I will repost it here. I mirrored most of the relevant content of Facebook to imgur.

If you have any feedback or anything that needs to be added, please let me know and I will amend this post!

Note: There are some known issues with this printer - please read the entire guide. (It is long, I know, but this is a necessary evil!)


Sebazzz / web.config
Created Mar 9, 2020
Gitea reverse proxy
View web.config
<?xml version="1.0" encoding="UTF-8"?>
<clear />
<rule name="Force HTTPS" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="^OFF$" />
Sebazzz /
Created Apr 14, 2019
ASP.NET Core 2.2.0 - Build locally and use locally build debug binaries in .NET Core

It is a bit complicated to build the binaries and use the locally because the shared framework makes it all very compiled.

Anyway, here goes:

  1. Check out the AspNetCore repository recursively (so that the sub modules are checked out as well).

  2. Apply the diff from this gist.

  3. Run the build: .\build.cmd /t:BuildSharedFx /p:SkipTests=true /p:DisableCodeSigning=true /p:DisableSignCheck=true

View crashinfo
It appears an ArgumentOutOfRangeException happens. Stack trace:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.FileChangeTracker.<StartFileChangeListeningAsync>b__17_0()
at System.Lazy`1.CreateValue()
at System.Lazy`1.get_Value()
at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.DocumentProvider.StandardTextDocument.GetInitialState()
at Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject.<>c.<CreateProjectInfoForCurrentState>b__113_0(IVisualStudioHostDocument d)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
Sebazzz / browser-console.js
Created Apr 8, 2018
Sunday morning script: Bulk add all your followers to a list
View browser-console.js
ddtoggles = $('.ProfileCard-actions .dropdown > .dropdown-toggle').get()
function *bulkListAdd() {
let item = null;
while ((item = ddtoggles.pop())) {
let fullname = $(item).parents('.ProfileCard').find('.fullname').text();
yield 1;
Sebazzz / Message.txt
Created Feb 16, 2018
Microsoft-Windows-TWinUI/Operational - AppXSVC high CPU - built-in apps not opening
View Message.txt
Het activeren van Microsoft.Windows.SecHealthUI_cw5n1h2txyewy!SecHealthUI is mislukt. Foutcode: Deze bewerking is geretourneerd omdat de time-outperiode verlopen is.. Activeringsfase: Deployment
View ValidationMessage.ts
import * as ko from 'knockout';
ko.bindingHandlers.validationProperty = {
init(element: HTMLInputElement, valueAccessor: () => string, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) {
const validatable = {modelState:()=>{return {} as any;}},
property = valueAccessor();
if (!validatable) {
Sebazzz /
Created Jul 22, 2017
Ubiquiti EdgeOS backup script - See:
DATE=$(date +%F)