Skip to content

Instantly share code, notes, and snippets.

View mfrederickson's full-sized avatar

Marvin Frederickson mfrederickson

View GitHub Profile
@mfrederickson
mfrederickson / end.gcode
Last active January 10, 2024 12:07
anet a8 start/end gcode
M104 S0 ; turn off extruder
M140 S0 ; turn off heatbed
M107 ; turn off fan
G91 ; relative positioning
G1 Z25 ; raise head 25mm
G90 ; back to absolute positioning
G1 X0 Y220; home X axis and push Y forward
M84 ; disable motors
@mfrederickson
mfrederickson / Gemfile
Created January 26, 2018 19:48 — forked from kuboon/Gemfile
acts_as_taggable_on + simple_form + select2
gem 'acts-as-taggable-on'
gem 'simple_form'
gem 'select2-rails'
@mfrederickson
mfrederickson / install-redis.sh
Last active July 25, 2016 23:28 — forked from four43/install-redis.sh
Install Redis
#!/bin/bash
# from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/
# and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server
###############################################
# To use:
# wget https://gist.githubusercontent.com/four43/e00d01ca084c5972f229/raw/install-redis.sh
# chmod 777 install-redis.sh
# ./install-redis.sh
###############################################
echo "*****************************************"