Skip to content

Instantly share code, notes, and snippets.

View bistory's full-sized avatar
😊

Thomas bistory

😊
View GitHub Profile
@bistory
bistory / cassandra.yaml
Created July 18, 2018 06:30
Cassandra configuration (Password authentication not working)
compaction_throughput_mb_per_sec: 16
row_cache_save_period: 0
cross_node_timeout: false
counter_cache_save_period: 7200
sstable_preemptive_open_interval_in_mb: 50
internode_compression: all
storage_port: 7000
key_cache_save_period: 14400
inter_dc_tcp_nodelay: false
start_rpc: true
@bistory
bistory / Klipper Anycubic i3 Mega
Last active May 6, 2024 09:53
Anycubic i3 Mega configuration for Klipper (with TMC2209 + SPI, BMG extruder with stock motor, pressure advance and BLTouch clone)
# This file contains pin mappings for the Anycubic i3 Mega with
# Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1
# prior to the Ultrabase if you comment out the definition of the
# endstop_pin in the stepper_z1 section.) To use this config, the
# firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
[stepper_x]
step_pin: PF0
@bistory
bistory / .editorconfig
Created January 17, 2020 10:33
Arexo editorconfig
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@bistory
bistory / .php_cs
Last active December 22, 2020 10:48
Laravel PHP-CS-Fixer configuration
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PSR1' => true,
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
@bistory
bistory / .php_cs
Created December 23, 2020 13:49
Kohana .php_cs migration file
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PSR1' => true,
'@PSR2' => true,
'@PHP74Migration' => true,
'@PHP80Migration' => true,
@bistory
bistory / mainsail.cfg
Last active February 8, 2024 08:19
Fichiers de configuration de Voron 2.4 pour la Spider 1.x
#####################################################################
# Mainsail
#####################################################################
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
@bistory
bistory / mainsail.cfg
Last active June 15, 2022 18:10
Fichiers de configuration de Voron 2.4 pour la Octopus 1.x
#####################################################################
# Mainsail
#####################################################################
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
@bistory
bistory / klicky-z-calibration.cfg
Created April 7, 2022 06:01
Example klicky-z-calibration configuration for the Voron 2.4 with Klicky probe (don't forget to include it in your klicky-probe.cfg)
[z_calibration]
## update these variable according to the documentation here https://github.com/protoloft/klipper_z_calibration
## you then should call CALIBRATE_Z as one of the last lines on your PRINT_START to set the Z offset dinamically
# The X and Y coordinates (in mm) for clicking the nozzle on the
# Z endstop.
nozzle_xy_position: X,Y
# The X and Y coordinates (in mm) for clicking the probe's switch body
# on the Z endstop.
@bistory
bistory / caselight.cfg
Created July 14, 2022 05:32
Macros pour ajouter des ambiances RGB à votre Voron
# Macros for setting the status leds on the Voron enclosure (or for any neopixel-type leds).
#
# You will need to configure a neopixel (or other addressable led, such as dotstar). See
# https://www.klipper3d.org/Config_Reference.html#neopixel for configuration details.
#
# CONFIGURATION
#
# Example neopixel configuration:
# [neopixel caselight]
# pin: <your pin>
@bistory
bistory / printer.cfg
Created July 14, 2022 05:33
Section Led Control pour le fichier printer.cfg
#####################################################################
# LED Control
#####################################################################
[neopixel caselight]
pin: PD3
# The pin connected to the neopixel. This parameter must be
# provided.
chain_count: 54
# The number of Neopixel chips that are "daisy chained" to the