Skip to content

Instantly share code, notes, and snippets.

<ul><li><a href="https://www.curseforge.com/minecraft/mc-mods/mekanism">Mekanism</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/mekanism-generators">Mekanism Generators</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/mekanism-tools">Mekanism Tools</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/create">Create</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/rhino">Rhino</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/kubejs">KubeJS</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/kubejs-create">KubeJS Create</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/kubejs-mekanism">KubeJS Mekanism</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/owo-lib">oωo (owo-lib)</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/primity">Primity</a></li><li><a href="https://www.curseforge.com/minecraft/mc-mods/custom-machinery">Custom Machinery</a></li><li><a href="https://ww
@Nathan22211
Nathan22211 / toggle_stuff.lua
Last active May 24, 2026 12:31
CC: Tweaked script for toggling factory
local relayA = peripheral.wrap("redstone_relay_0")
local biofuel_relay_state = false
while True do
print("enter machine to toggle")
local arg1 = read()
if arg1 == "biofuel" then
if biofuel_relay_state == false then
relayA.setOutput("back", true)
biofuel_relay_state = true
root@X99:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
services:
orcaslicer:
image: lscr.io/linuxserver/orcaslicer:latest
container_name: orcaslicer
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
[gcode_macro home_vars] # to store if it has homed
variable_homed: 0
gcode:
[homing_override] # homing override to home once
gcode:
{% if "Z" in params %}
G90
SET_KINEMATIC_POSITION Z=0
G0 X175 Y175 F7200
[mcu mmu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[extruder_stepper mmu1]
extruder:
step_pin: mmu:PB9
dir_pin: mmu:PC2
enable_pin: !mmu:PC3
microsteps: 16
@Nathan22211
Nathan22211 / Lumberjack.lua
Last active December 22, 2024 18:49 — forked from Citrus34/Lumberjack.lua
Extremely basic tree harvesting for turtles in CC: Tweaked
function fuelCheck()
if turtle.getFuelLevel() <20 then
turtle.select(1)
turtle.refuel()
print("Refueling...")
end
end
local logs = {
["forge:logs"] = true,
This file has been truncated, but you can view the full file.
; File Parsed By Flow Comp Script
; Script Ver. V0.7.1
; Flow Model Ver. V0.2.1
; Logger Ver. V0.0.1
; Flow Comp Model Points:
; (0, 0)
; (0.2, 0.4444)
; (0.4, 0.6145)
; (0.6, 0.7059)
; (0.8, 0.7619)
This file has been truncated, but you can view the full file.
===== Config file =====
[respond]
[gcode_macro CHOPPER_TUNE]
description = Vibrations tests to calculate lowest magnitude drivers registers v1.2
variable_debug = False
variable_inset = 10
variable_current_change_step = 25
variable_measure_time = 1250
variable_required_rpm = [37.5, 150, 1.5]
This file has been truncated, but you can view the full file.
===== Config file =====
[respond]
[gcode_macro CHOPPER_TUNE]
description = Vibrations tests to calculate lowest magnitude drivers registers v1.2
variable_debug = False
variable_inset = 10
variable_current_change_step = 25
variable_measure_time = 1250
variable_required_rpm = [37.5, 150, 1.5]