Skip to content

Instantly share code, notes, and snippets.

[=== Xal2 profile ===]
30943B8A00528092B902422FA024CC22A48E615567115C03193645699A876446
A14AB625D6392D73143E84A37A495701215309AA82705A061A2AE1A41A98A01E
2A41D6498E3A82A192A0729AA0B2512AA79012966240739825DE425F351968A2
4D158090B4549C35AC4594759829C655882F59AA8C85AA2AA3B44986D21525B7
1DF5588C065483C24B855AE1B8A62B48BC0ADC48E3B25D862AA3DA4E5348A9D4
07B552BB94CF68A1E01D172A40BC55D37189E0C5750BD9AA4FD98256CB8257E9
AAA5FA886E34845BF512D47CA4BCCF55C165A988FFA800C256765AD25C71E381
13C740B0B26026E88973D090F378A0821FF5110D01D462988868864393E1E381
103F57541A4CF7540434439942AC9618C1F381103F57541A4CF7540434439942
#wz_mini configuration
#### W E B CAMERA###
##THIS MODE DISABLES EVERYTHING AND IT WILL
## WORK AS A WEB CAMERA FOR YOUR PC ***ONLY***
WEB_CAM_ENABLE="false"
WEB_CAM_BIT_RATE="8000"
WEB_CAM_FPS_RATE="25"
@spamwax
spamwax / pre-hook_gitlint.md
Last active January 15, 2025 05:03
How to pass gitlint options such as ignoring a built-in rule to pre-commit in the pre-commit's yaml file
- repo: https://github.com/jorisroovers/gitlint
    rev: v0.19.1
    hooks:
      - id: gitlint
        stages: [commit-msg]
        pass_filenames: false
        args: [-c, B5.min-length=0, --ignore, B6]
@spamwax
spamwax / git_for_zmk.md
Created January 13, 2025 06:15 — forked from urob/git_for_zmk.md
Maintaining a personal ZMK fork
Total time: 186218.95ms ()
Time inside WA: ERROR: count is not zero: 19
Time inside WA: 334.78ms (13.25ms)
Time spent inside WA: 0.18%
Note: Not every aspect of each aura can be tracked.
You can ask on our discord https://discord.gg/weakauras for help interpreting this output.
Auras:
Total time attributed to auras:
2023-12-05 00:10:36,957 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///Applications/UltiMaker Cura.app/Contents/MacOS/share/cura/resources/qml/WelcomePages/AddLocalPrinterScrollView.qml:248:25: Unable to assign QString to QRegularExpression
2023-12-05 00:11:04,525 - INFO - [MainThread] cura.Settings.MachineManager.addMachine [428]: Trying to add a machine with the definition id [creality_cr6se]
2023-12-05 00:11:04,755 - WARNING - [MainThread] UM.Settings.SettingDefinition._deserialize_dict [668]: Unrecognised property comment in setting _plugin__curaenginegradualflow__0_1_0__max_flow_acceleration
2023-12-05 00:11:05,375 - DEBUG - [MainThread] cura.Machines.ContainerTree.__getitem__ [120]: Adding container tree for creality_cr6se took 0.6189479827880859 seconds.
2023-12-05 00:11:05,470 - INFO - [MainThread] cura.Settings.GlobalStack.addExtruder [190]: Extruder[creality_base_extruder_0 #2] added to [Creality CR-6 SE] at position [0]
2023-12-05 00:11:05,671 - WARNING - [MainThread] UM
@spamwax
spamwax / HybridScrollDemo.lua
Created November 25, 2022 13:33 — forked from Meorawr/HybridScrollDemo.lua
HybridScrollFrame Demo
local function CreateDemoModel(numItems)
local listModel = {};
for index = 1, numItems do
table.insert(listModel, {
text = string.format("List Item %1$d", index),
icon = string.format([[Interface\Icons\INV_Sword_%1$d]], 30 + (index % 30)),
});
end
@spamwax
spamwax / ScrollableListDemo.lua
Created November 25, 2022 13:33 — forked from Meorawr/ScrollableListDemo.lua
ScrollableListDemo
ScrollableListItemMixin = {};
function ScrollableListItemMixin:Init(elementData)
self.Background:SetColorTexture(elementData.color:GetRGBA());
self.Text:SetText(elementData.text);
end
ScrollableListMixin = {};
function ScrollableListMixin:OnLoad()
return {
Lua = {
completion = {
callSnippet = "Replace"
},
diagnostics = {
enable = true,
globals = { "vim" }
},
runtime = {
@spamwax
spamwax / bubbles.lua
Created July 26, 2021 22:57
galaxyline theme
--[[
-- To get the icons working correctly:
-- 1. Install nonicons.ttf from https://github.com/yamatsum/nonicons
-- 2. Install nvim plugin https://github.com/yamatsum/nvim-nonicons
--]]
local gl = require("galaxyline")
local gls = gl.section
local fileinfo = require('galaxyline.provider_fileinfo')
local iconz = require("nvim-nonicons")