Skip to content

Instantly share code, notes, and snippets.

View awill1988's full-sized avatar

Adam T. Williams awill1988

  • Bozeman, Montana
  • 23:52 (UTC -07:00)
View GitHub Profile
@awill1988
awill1988 / cura-end.gcode
Created January 9, 2022 06:43
End G-Code
G91 ;Relative positioning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positioning
G1 X0 Y{machine_depth} ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
@awill1988
awill1988 / cura-start.gcode
Last active January 9, 2022 21:55
Start G-Code
;------------------------------------------
;*** Start Dual Nozzle/Bed Preheating ***
M140 S{material_bed_temperature} ; start preheating the bed WITHOUT wait to what is set in Cura
M104 S{material_print_temperature} T0 ; start preheating hotend WITHOUT wait to what is set in Cura
;-------------------------------------------------
;------------------------------------------
;*** Auto Bed Level ***
M280 P0 S160 ; BLTouch alarm release
@awill1988
awill1988 / Makefile.polylabel
Created July 20, 2021 18:49
Makefile.polylabel
ifeq ($(OS),Windows_NT)
POLYLABEL_ARCHIVE_FORMAT := zip
POLYLABEL_OS := pc-windows-msvc
ifeq ($(PROCESSOR_ARCHITEW6432),AMD64)
POLYLABEL_ARCH := x86_64
else
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
POLYLABEL_ARCH := x86_64
endif
ifeq ($(PROCESSOR_ARCHITECTURE),x86)
@awill1988
awill1988 / kubernetes-alpha-debug.log
Created June 3, 2020 00:10
kubernetes-alpha-debug - oidc not supported
2020/06/02 18:04:36 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/06/02 18:04:36 [INFO] Terraform version: 0.12.26
2020/06/02 18:04:36 [INFO] Go runtime version: go1.13.11
2020/06/02 18:04:36 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "-lock=false", "-var-file=.tfvars"}
2020/06/02 18:04:36 [DEBUG] Attempting to open CLI config file: /Users/anonymous/.terraformrc
2020/06/02 18:04:36 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/06/02 18:04:36 [DEBUG] checking for credentials in "/Users/anonymous/.terraform.d/plugins"
2020/06/02 18:04:36 [INFO] CLI command args: []string{"apply", "-lock=false", "-var-file=.tfvars"}