Skip to content

Instantly share code, notes, and snippets.

View SilentEchoGM's full-sized avatar

Eoin Chaput-Bathurst SilentEchoGM

View GitHub Profile
@SilentEchoGM
SilentEchoGM / back-to-forward.regex
Created November 20, 2021 01:55
VSCode Snippets Replace Back Slash with Forward Slash
${RELATIVE_FILEPATH/(\\\\)/\\//g}
@SilentEchoGM
SilentEchoGM / start.gcode
Last active August 21, 2023 16:24
Ender 3 V2 w/ BLTouch for PrusaSlicer - Start G-code
G91 ; use relative positioning
G0 Z5; move Z up 5mm prior to homing
M117 Heating bed and hot end... ; Message
M140 S[first_layer_bed_temperature] ; set bed temp
M104 S80 ; set hot end to a relatively low temp to save time after levelling
M190 S[first_layer_bed_temperature] ; wait for bed temp
M117 Waiting for bed expansion ; Message
G4 S60 ; wait 1 minute for the bed to expand
@SilentEchoGM
SilentEchoGM / machine.js
Created September 8, 2020 09:01
Generated by XState Viz: https://xstate.js.org/viz
const loginMachine = Machine({
id: 'loginMachine',
context: {
tag: '',
token: ''
},
initial: 'tagEntry',
states: {
tagEntry: {
on: {