Skip to content

Instantly share code, notes, and snippets.

View cab404's full-sized avatar
💜
s p a r k l i n g u n i c o r n p r i n c e s s ™

Cabia Rangris cab404

💜
s p a r k l i n g u n i c o r n p r i n c e s s ™
View GitHub Profile
@cab404
cab404 / README.md
Last active March 8, 2024 11:17
Installing Klipper on TronXY X5SA

Installing Klipper on TronXY X5SA

** obligatory "your warranty in now void" disclaimer ** THIS GUIDE IS FOR CHITU V6 BOARDS ONLY

So, you've decided to upgrade you printer software-wise. You are in for a ride!

What can you expect

You'll get Klipper experience. That includes speeds up to 300 mm/s (I've tested infill at 180, and it was pretty much flawless), proper linear advance, low vibration on high accelerations without relying on approximations like S-Curve, no lags on dense GCode files — it's nothing like Marlin or the stock firmware.

@cab404
cab404 / Cab's Fav.json
Last active February 3, 2024 18:24
Active EasyEffects profile for Framework Laptop
{
"output": {
"bass_enhancer#0": {
"amount": 4.0,
"blend": 0.0,
"bypass": false,
"floor": 10.0,
"floor-active": true,
"harmonics": 10.0,
"input-gain": 0.0,
{ config, lib, pkgs, ... }:
let
on = { enable = true; };
first = a: b: a;
in {
services.pipewire = on // {
config = {
pipewire = {
"pulse.properties" = {
"server.address" = [
{ pkgs ? import <nixpkgs> { }, ... }: rec {
appendDerivation = f: f // {
__functor = self: arg: pkgs.runCommand "${f.pname}/S" self arg;
};
runList = prev: cmd: pkgs.runCommand "command-list"
{
# __functor = self: nextCommand: (if nextCommand == null then self else (runList self nextCommand));
} ''
${restoreEnv prev}
building all machine configurations...
error: --- ThrownError --- nix-build
Nextcloud v18 has been removed from `nixpkgs` as the support for it was dropped
by upstream in 2021-01. Please upgrade to at least Nextcloud v19 by
declaring
services.nextcloud.package = pkgs.nextcloud19;
in your NixOS config.
@cab404
cab404 / x5sa.diff
Last active July 31, 2020 07:58
Diff on bugfix-2.0.* branch of Marlin for X5SA. It stops extruding for some reason.
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index 9d1f7862b..f131371f5 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -21,6 +21,8 @@
*/
#pragma once
+#define CONFIG_EXAMPLES_DIR "Tronxy/X5SA"
+
@cab404
cab404 / shell.nix
Created February 2, 2020 20:55
Python shell with override example.
{ pkgs ? import <nixpkgs> {} }: let
pyversion = version: package: package.overrideAttrs (a: { inherit version; });
in
with pkgs; mkShell {
buildInputs = [
(python37.withPackages(a: with a; [
ipython pylint
@cab404
cab404 / interesting-macs
Created March 13, 2018 21:26
Just some interesting macs, filtered from MT_FREE
00:0A:F5:66:C2:A4
04:B1:67:B5:87:F1
28:ED:6A:87:D4:A6
38:F2:3E:8F:69:20
58:48:22:45:6B:FC
80:EA:96:4A:02:C4
8C:8E:F2:7C:FD:90
98:00:C6:33:B3:66
B0:E5:ED:9A:8B:9F
D8:5B:2A:B1:1E:A3
@cab404
cab404 / SketchSystems.spec
Last active February 8, 2019 00:02
Registration
Registration
Enter name bio & photo -> Hub
Hub
Rate people -> Tinder
Destroy data -> Destroy dialog
Hub children
Tinder
Next -> Tinder
@cab404
cab404 / SketchSystems.spec
Last active February 8, 2019 00:02
Registration
Registration
Enter name -> Hub
Hub
Rate people -> Tinder
Edit profile -> Profile editor
Hub pages
Profile editor
Set name -> Name setter
Set photo -> Photo setter