Skip to content

Instantly share code, notes, and snippets.

View treyturner's full-sized avatar

Trey Turner treyturner

View GitHub Profile
@treyturner
treyturner / Bambu PLA-CF @Bambu Lab P1S 0.4 ObXidian HF nozzle.json
Created August 4, 2025 00:17
My user-made profile for Bambu PLA-CF using an ObXidian 0.4mm nozzle on a Bambu P1S, since one wasn't supplied in the factory profiles
{
"additional_cooling_fan_speed": [
"0"
],
"cool_plate_temp": [
"45"
],
"cool_plate_temp_initial_layer": [
"45"
],
@treyturner
treyturner / parseUri.groovy
Last active April 9, 2020 09:30
Groovy: Parse a URL while including a handy map of the query string
/**
* Created by tturner on 7/22/15.
*/
import groovy.json.*
static def parseQueryString(String string) {
string.split('&').collectEntries{ param ->
param.split('=', 2).collect{ URLDecoder.decode(it, 'UTF-8') }
}