Skip to content

Instantly share code, notes, and snippets.

View Traxmaxx's full-sized avatar
🦄

Alexander Rösel Traxmaxx

🦄
View GitHub Profile
@Traxmaxx
Traxmaxx / whitelist.txt
Last active August 7, 2023 11:51
Domain whitelist for blocky
# Title:
# Last modified: 16 Mar 2023 10:29 UTC+7
# Version:
# Blocked:
# Please report any ads or problems on GitHub
# Homepage:
# GitHub:
# Report issues:
# Download:
#
@Traxmaxx
Traxmaxx / macros.cfg
Created August 20, 2022 11:15
Ender 5 Pro Klipper configuration - 4.2.2 Board with Stock Extruder & Hot-End & BLTouch v3.1 on Klipper v0.10.0-554
######################################################################
# Start Print and End Print
######################################################################
# Replace the slicer's custom start and end g-code scripts with
# START_PRINT and END_PRINT.
[gcode_macro START_PRINT]
gcode:
{% set BED_TEMP = params.BED_TEMP|default(80)|float %}

Keybase proof

I hereby claim:

  • I am traxmaxx on github.
  • I am traxmaxx (https://keybase.io/traxmaxx) on keybase.
  • I have a public key whose fingerprint is 5027 A170 D143 D914 E324 2509 7A07 203E 62D3 5F5D

To claim this, I am signing this object:

@Traxmaxx
Traxmaxx / postboot.rb
Created November 27, 2012 15:59
Override database config if values are nil and ENV vars are set
module MyApp
class Application < Rails::Application
def config.database_configuration
# detect rails environment, otherwise set it to development
rails_env = ENV['RAILS_ENV'] || 'development'
config = super
# set creds for the different adapters
@Traxmaxx
Traxmaxx / gist:3625600
Created September 4, 2012 19:49
rem unit mixin for SASS 3
//Add pixel units for old browsers. The base for rem is 10. HTML font-size have to be 62.5%/20pt
@mixin font-size($val: 1.2, $important: false){
@if $important == true {
font-size: ($val * 10) + px !important;
font-size: $val + rem !important;
}
@else {
font-size: ($val * 10) + px;
font-size: $val + rem;
}
@Traxmaxx
Traxmaxx / traxmaxx.zsh-theme
Created August 23, 2012 16:27
OhMyZSH Theme
nvm_prompt_info() {
nvm_info=$(node -v 2> /dev/null)
if [ -f package.json -a -n $nvm_info ]; then
echo "(node-$nvm_info)"
fi
}
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[magenta]%}|"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
<input multiple="multiple" type="file" name="file">