Skip to content

Instantly share code, notes, and snippets.

View FireBall1725's full-sized avatar
🇨🇦
Proudly Canadian

Adaléa FireBall1725

🇨🇦
Proudly Canadian
  • Ontario, Canada
  • 16:02 (UTC -05:00)
View GitHub Profile
@Sebazzz
Sebazzz / Bambu-X1C-end-gcode.gcode
Created July 16, 2022 10:11
Start and end gcode for Bambu Labs X1C
; WIPE_END
G1 E-.012 F1800
M106 S0
M106 P2 S0
M981 S0 P20000 ; close spaghetti detector
; FEATURE: Custom
; filament end gcode
;M106 P3 S0
M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
@ryanpcmcquen
ryanpcmcquen / darkify_slack.sh
Last active August 27, 2025 07:48
Darkify your Slack.
#!/bin/sh
# Darkify Slack on Mac OS or Linux.
# curl https://gist.githubusercontent.com/ryanpcmcquen/8a7ddc72460eca0dc1f2dc389674dde1/raw/darkify_slack.sh | sh
if [ "`uname -s`" = "Darwin" ]; then
SLACK_INTEROP_JS="/Applications/Slack.app/Contents/Resources/app.asar.unpacked/dist/ssb-interop.bundle.js"
else
SLACK_INTEROP_JS="/usr/lib/slack/resources/app.asar.unpacked/dist/ssb-interop.bundle.js"
fi
@Forst
Forst / build.sh
Last active October 25, 2022 23:43
Ubuntu ISO with preseed.cfg generation script
#!/bin/bash
## FORSTWOOF UBUNTU PRESEED :: BUILD SCRIPT
# Quit on first error
set -e
# Temporary directory for the build
TMP="/var/tmp/ubuntu-build"