Skip to content

Instantly share code, notes, and snippets.

@jasonehines
jasonehines / printer.conf
Created August 12, 2021 01:34
Ender 3 Pro Creality 4.2.7 with bltouch - Klipper printer Configuration
# This file contains pin mappings for the Creality "v4.2.7" board. To
# use this config, during "make menuconfig" select the STM32F103 with
# a "28KiB bootloader" and serial (on USART1 PA10/PA9) communication.
# If you prefer a direct serial connection, in "make menuconfig"
# select "Enable extra low-level configuration options" and select
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
# cable used for the LCD module as follows:
# 3: Tx, 4: Rx, 9: GND, 10: VCC
@ctataryn
ctataryn / gvim
Last active August 18, 2024 17:43
A script that lets you execute gVim for Windows within WSL
#!/bin/bash
#################################################################
# place this script on your $PATH and chmod it to be executable
#################################################################
# assumes C:\ is mounted to /c, change any occurance of /c to /mnt/c if
# you are using the default WSL mount point for C:\
CMD='/c/Windows/System32/cmd.exe'
#location of gvim
GVIM='/c/Program Files (x86)/Vim/vim81/gvim.exe'