Skip to content

Instantly share code, notes, and snippets.

Víctor Martínez knoopx

Block or report user

Report or block knoopx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
knoopx /
Last active Nov 20, 2019
Catalina + Windows 10 + Clover
  • make an extfat partition for windows using disk utility
  • make a bootable windows usb (just format disk as fat32 and rsync iso contents)
  • boot windows installation, press shift+f10 to open a console
  • type diskpart, then list volume to figure out windows extfat partion drive letter
  • type dism /Get-WimInfo /WimFile:D:\Sources\install.wim to figure out what window version to install
  • type dism /Apply-Image /ImageFile:D:\Sources\install.wim /index:1 /ApplyDir:C:\ to install specified version into C:
  • type diskpart, then list partition to figure out EFI partition.
  • type select partition #, then assign to "mount" EFI partition, annotate EFI partition letter.
  • type bcdboot C:\Windows /s E: /f uefi to copy Windows UEFI stuff to EFI partition (E:)
knoopx / printer.cfg
Created Oct 3, 2019
klipper skr 1.3 + 2209
View printer.cfg
speed: 120
#samples: 2
horizontal_move_z: 2
min_point: 11,1
max_point: 215,193
probe_count: 6,6
mesh_pps: 3,3
algorithm: lagrange
fade_end: 4
View example.sql
# generates random dates per row
update myjacoti_measurementsession set date_start = (select random_date() where myjacoti_measurementsession.uuid = myjacoti_measurementsession.uuid);
knoopx / class-methods-to-arrow-function-props.js
Last active Feb 13, 2019
codemod - rewrite class methods as arrow function properties
View class-methods-to-arrow-function-props.js
const IGNORE = [
knoopx /
Last active Nov 17, 2019
Cura Extended Material Profiles
# Copyright (c) 2017 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
import UM.Settings.Models.SettingVisibilityHandler
class MaterialSettingsVisibilityHandler(UM.Settings.Models.SettingVisibilityHandler.SettingVisibilityHandler):
def __init__(self, parent=None, *args, **kwargs):
super().__init__(parent=parent, *args, **kwargs)
View printer.cfg
path: ~/sdcard
pin: PB4
x_offset: 23
y_offset: 11 # bmg
#y_offset: 5 # stock
speed: 10.0
knoopx /
Last active Dec 23, 2018
raspberry tft
sudo apt-get install xserver-xorg-video-fbturbo
git clone
LCD-show/LCD35-show 180
# fix framebuffer
View gist:dc0427b555424979e164ccce1247f6e1
/etc/X11/Xwrapper.config -> allowed_users=anybody
Section "Device"
Identifier "touchscreen"
Driver "fbdev"
Option "fbdev" "/dev/fb1"
knoopx / printer.cfg
Last active Jul 28, 2018
Klipper firmware configuration
View printer.cfg
[tmc2130 stepper_x]
cs_pin: ar59
microsteps: 16
run_current: .64
# diag1_pin: !PK2
stealthchop_threshold: 100
#driver_IHOLDDELAY: 8
#driver_TPOWERDOWN: 0
#driver_TOFF: 4
knoopx /
Last active Nov 27, 2019
Creality Ender 3 Stock Factory Vref

Creality3D v1.1.2 stock vref values

A4988 Drivers
Vref set to ~90% of stepper rated current
Rs = 0.1ohm

X = 0,58v (0,725A)
Y = 0,58v (0,725A)
Z = 0,58v (0,725A)
You can’t perform that action at this time.