Skip to content

Instantly share code, notes, and snippets.

View neoyagami's full-sized avatar

neoyagami

View GitHub Profile
@neoyagami
neoyagami / klipperconfig
Last active March 7, 2023 14:07
klipper config skr1.4 ender 3 bltouch tmc2209 uart
# This file contains pin mappings for the stock 2020 Creality Ender 3
# Pro with the 32-bit Creality 4.2.2 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
@neoyagami
neoyagami / kipper-ender3-4.2.2-bltouch-g29-g2-g3.cfg
Last active April 29, 2025 08:33
Klipper config, ender 3 with 4.2.2 board (the noisy one), also with blouch , G29 (auto bed level)
# This file contains pin mappings for the stock 2020 Creality Ender 3
# with the 32-bit Creality 4.2.2 board. To use this config, during
# "make menuconfig" select the STM32F103 with a "28KiB bootloader" and
# serial (on USART1 PA10/PA9) communication.
# adapted for my printer ender3-4.2.2
# 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:
def setUp(self):
with connection.cursor() as cursor:
cursor.execute(" alter sequence auth_user_id_seq restart with 1;")
#reseteamos el id cuando lost test corren en postgres, repetir para las demas secuencias
CIUDADES=[('Arica', 'Arica'), ('Alto Hospicio', 'Alto Hospicio'), ('Iquique', 'Iquique'), \
('Pozo Almonte', 'Pozo Almonte'), ('Caldera', 'Caldera'), ('Chanaral', 'Chanaral'), \
('Copiapo', 'Copiapo'), ('Diego de Almagro', 'Diego de Almagro'), ('El Salvador', 'El Salvador'),\
('Huasco', 'Huasco'), ('Tierra Amarilla', 'Tierra Amarilla'), ('Vallenar', 'Vallenar'), \
('Andacollo', 'Andacollo'), ('Combarbala', 'Combarbala'), ('Coquimbo', 'Coquimbo'), \
('El Palqui', 'El Palqui'), ('Illapel', 'Illapel'), ('La Serena', 'La Serena'), \
('Los Vilos', 'Los Vilos'), ('Montepatria', 'Montepatria'), ('Ovalle', 'Ovalle'), \
('Salamanca', 'Salamanca'), ('Vicuna', 'Vicuna'), ('Algarrobo', 'Algarrobo'), \
('Cabildo', 'Cabildo'), ('Calle Larga', 'Calle Larga'), ('Cartagena', 'Cartagena') , \
('Casablanca', 'Casablanca'), ('Catemu', 'Catemu'), ('Concon', 'Concon'), ('El Melon', 'El Melon'), \