Skip to content

Instantly share code, notes, and snippets.

View mikejr83's full-sized avatar
🏠
Working from home

Mike mikejr83

🏠
Working from home
View GitHub Profile
@mikejr83
mikejr83 / PrusaSlicer-End-Mirror-Duplication.gcode
Last active July 28, 2022 19:47
Various Custom G-Code for the Artist-D in Prusa Slicer
G91 ;Relative positioning
G0 E-2 F2700 ;Retract a bit
G0 E-2 Z0.2 F2400 ;Retract and raise Z
G0 X5 Y5 F3000 ;Wipe out
G0 Z10 ;Raise Z more
G90 ;Absolute positionning
G0 Y310 ;Present print
M106 S0 ;Turn-off fan
@mikejr83
mikejr83 / ender3-auto-bilinear-start.gcode
Created May 4, 2021 17:35
Ender 3 Bilinear Leveling Start GCode - For BLTouch
; Ender 3 Custom Start G-code
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
M104 S160; start warming extruder to 160
G28 ; Home all axes
@BEDLEVELVISUALIZER
G29; ABL
G92 E0 ; Reset Extruder
M104 S{material_print_temperature_layer_0} ; Set Extruder temperature
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
@mikejr83
mikejr83 / start.gcode
Created February 13, 2021 18:33
JGMaker Artist-D Duplication Start G-Code
; -- BEGIN - DUPLICATION MODE INITIALIZATION --
M605 S1 ; AUTO-PARK MODE
T0 ; SET TOOL 0
G28 ; HOME ALL AXIS
M605 S2 X155 ; SET DUPLICATION MODE AND NOZZLE OFFSET
G28 X ; HOME X AXIS
G1 X77.5 ; SET BOTH EXTRUDERS TO THE MIDDLE OF THEIR PRINT AREA
; -- END - DUPLICATION MODE INITIALIZATION
; PREHEAT
@mikejr83
mikejr83 / end.gcode
Last active January 7, 2022 05:41
Start and End g-code for JGMaker Artist-D (for Cura)
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 positionning
G28 X; Move extruders out of print area
G1 Y{machine_depth} ;Present print
@mikejr83
mikejr83 / run-tests-with-coverage.sh
Last active August 17, 2018 16:13
Run Tests in .NET Core With Code Coverage from Coverlet
#!/bin/bash
# Coverage reports will be placed here...
COVERAGE_DIR="coverage-reports"
if [ -d "$COVERAGE_DIR" ]; then
rm -rf "$COVERAGE_DIR"
fi
# Build the solution so that the test command does not
@mikejr83
mikejr83 / packer-template.json
Created August 3, 2017 15:42
Packer.io Hyper-V template for nodejs Ubuntu 16.04 LTS Server
{
"variables": {
"public_port": "3000",
"vm_name": "nodejs_microservice_host",
"cpu": "2",
"ram_size": "1024",
"disk_size": "21440",
"iso_url": "http://releases.ubuntu.com/16.04/ubuntu-16.04.3-server-amd64.iso",
"iso_checksum": "10fcd20619dce11fe094e960c85ba4a9",
"iso_checksum_type": "md5"
@mikejr83
mikejr83 / packer.log
Created August 3, 2017 15:39
PACKER_LOG=1 packer build ../git/project/packer-hyper-v.json
2017/08/03 11:37:58 [INFO] Packer version: 1.0.3
2017/08/03 11:37:58 Packer Target OS/Arch: windows amd64
2017/08/03 11:37:58 Built with Go Version: go1.8.1
2017/08/03 11:37:58 Using internal plugin for amazon-instance
2017/08/03 11:37:58 Using internal plugin for parallels-pvm
2017/08/03 11:37:58 Using internal plugin for profitbricks
2017/08/03 11:37:58 Using internal plugin for vmware-vmx
2017/08/03 11:37:58 Using internal plugin for alicloud-ecs
2017/08/03 11:37:58 Using internal plugin for cloudstack
2017/08/03 11:37:58 Using internal plugin for docker