This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ BAMBUSTUDIO_PATH=~/Downloads/Bambu_Studio_linux_fedora_v01.08.00.57-20231109141031.AppImage ./run.bash | |
[2023-11-17 00:32:05.096348] [0x00007fade5a9cd80] [trace] Initializing StaticPrintConfigs | |
[2023-11-17 00:32:05.210013] [0x00007fade5a9cd80] [warning] cli mode, Current BambuStudio Version 01.08.00.57 | |
[2023-11-17 00:32:05.210030] [0x00007fade5a9cd80] [info] Will start to read model file now, file count :12 | |
[2023-11-17 00:32:05.210040] [0x00007fade5a9cd80] [info] allow_multicolor_oneplate 1, allow_rotations 1 skip_modified_gcodes 0 avoid_extrusion_cali_region 0 loaded_filament_ids size 0, clone_objects size 0 | |
[2023-11-17 00:32:05.210047] [0x00007fade5a9cd80] [info] plate_to_slice=0, normative_check=1, use_first_fila_as_default=0 | |
[2023-11-17 00:32:05.210055] [0x00007fade5a9cd80] [info] read model file:3DBenchy.stl | |
[2023-11-17 00:32:05.230063] [0x00007fade5a9cd80] [debug] TriangleMesh::repair() started |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M620 S[next_extruder]A | |
M204 S9000 | |
{if toolchange_count > 1 && (z_hop_types[current_extruder] == 0 || z_hop_types[current_extruder] == 3)} | |
G17 | |
G2 Z{z_after_toolchange + 0.4} I0.86 J0.86 P1 F10000 ; spiral lift a little from second lift | |
{endif} | |
G1 Z{max_layer_z + 3.0} F1200 | |
G1 X70 F21000 | |
G1 Y245 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mcu PIS_BED] | |
# Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify | |
serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0 | |
[adxl345] | |
cs_pin: PIS_BED:gpio13 | |
#spi_bus: spi1a | |
spi_software_sclk_pin: PIS_BED:gpio10 | |
spi_software_mosi_pin: PIS_BED:gpio11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !CR-10 Smart | |
# printer_size: 300x300x400 | |
# version: 3.2 | |
# This file contains pin mappings for the Creality CR-10 Smart | |
# with a CRC-2405V1.2 board. | |
# To use this config, during "make menuconfig" select the STM32F103 | |
# with a "28KiB bootloader" and serial (on USART1 PA10/PA9) | |
# MAKE SURE TO SET PA0 on startup (in the firmware). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
# fish completion support for render | |
function __fish_render_using_command | |
set -l cmds __render __render_version __render_commands __render_config __render_config_schema __render_config_init __render_regions __render_repo __render_repo_from_template __render_blueprint __render_blueprint_launch __render_buildpack __render_buildpack_init __render_buildpack_remove __render_buildpack_add __render_services __render_services_show __render_services_list __render_services_tail __render_services_ssh __render_deploys __render_deploys_list __render_jobs __render_jobs_list __render_custom_domains __render_custom_domains_list __render_completions __render_completions_bash __render_completions_fish __render_completions_zsh | |
set -l words (commandline -opc) | |
set -l cmd "_" | |
for word in $words | |
switch $word | |
case '-*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "homebrew/cask" | |
brew "asdf" | |
brew "imagemagick" | |
brew "coreutils" | |
brew "findutils" | |
brew "gnu-sed" | |
brew "gnu-tar" | |
brew "ykman" | |
brew "gnupg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
# Add the following to your shell init to set up gpg-agent automatically for every shell | |
GPG_AGENT_SOCKET="$HOME/.gnupg/S.gpg-agent.ssh" | |
if [ ! -S $GPG_AGENT_SOCKET ]; then | |
gpg-agent --use-standard-socket --daemon >/dev/null 2>&1 | |
export GPG_TTY=$(tty) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Account, DefaultAccount, DefaultUser } from 'next-auth'; | |
import { Adapter, AdapterSession, AdapterUser, VerificationToken } from 'next-auth/adapters'; | |
import { ProviderType } from 'next-auth/providers'; | |
import { Client as EdgeDBClient } from 'edgedb'; | |
import { edgeQuery, edgeTypes as t } from '../edgedb'; | |
export class EdgeDBAdapterError extends Error {} | |
const USER_SHAPE = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env node | |
const http = require("http"); | |
if (process.argv[0] === "node") { | |
process.argv.shift(); | |
} | |
const localPort = process.argv[2] || "13000"; | |
const url = "http://127.0.0.1:4040/api/tunnels"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
openapi: 3.0.1 | |
info: | |
title: Full Descriptor | |
version: 1.0.0 | |
paths: | |
"/path-simple/{a}/{b}/{c}": | |
get: | |
operationId: getPath | |
summary: A path parameter test |
NewerOlder