Skip to content

Instantly share code, notes, and snippets.

Avatar
😊

Thomas Lété bistory

😊
View GitHub Profile
@bistory
bistory / .php_cs
Created Dec 23, 2020
Kohana .php_cs migration file
View .php_cs
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PSR1' => true,
'@PSR2' => true,
'@PHP74Migration' => true,
'@PHP80Migration' => true,
@bistory
bistory / .php_cs
Last active Dec 22, 2020
Laravel PHP-CS-Fixer configuration
View .php_cs
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PSR1' => true,
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
@bistory
bistory / .editorconfig
Created Jan 17, 2020
Arexo editorconfig
View .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 / Klipper Anycubic i3 Mega
Last active Sep 7, 2021
Anycubic i3 Mega configuration for Klipper (with TMC2209 + SPI, BMG extruder with stock motor, pressure advance and BLTouch clone)
View Klipper Anycubic i3 Mega
# 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 / cassandra.yaml
Created Jul 18, 2018
Cassandra configuration (Password authentication not working)
View cassandra.yaml
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