Skip to content

Instantly share code, notes, and snippets.

View CommanderMoto's full-sized avatar

Moto Ashmore CommanderMoto

View GitHub Profile
G1 E-1.0 F2100 ; retract
G92 E0.0
G1{if max_layer_z < max_print_height} Z{z_offset+min(max_layer_z+30, max_print_height)}{endif} E-34.0 F720 ; move print head up & retract filament
G4 ; wait
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
G1 X0 Y105 F3000 ; park print head
M84 ; disable motors

Keybase proof

I hereby claim:

  • I am CommanderMoto on github.
  • I am moto (https://keybase.io/moto) on keybase.
  • I have a public key whose fingerprint is E769 9070 6D8F AAB8 FD0F 46C2 327B 7CF2 6F9A D735

To claim this, I am signing this object:

#!/usr/bin/env python
from os.path import expanduser
import sys
import configparser
import argparse
parser = configparser.SafeConfigParser()
parser.read(expanduser("~/.aws/credentials"))
cmdline = argparse.ArgumentParser(description="Get AWS credentials")

Keybase proof

I hereby claim:

  • I am mworth on github.
  • I am moto (https://keybase.io/moto) on keybase.
  • I have a public key ASA6rGtsy-LmjnJia2h0jTrh3i2qhZqa465KvmHHaR6Jpwo

To claim this, I am signing this object:

#!/usr/bin/env/ruby
require 'socket'
# AWS API Credentials
AWS_ACCESS_KEY_ID = ENV['AWS_ACCESS_KEY_ID']
AWS_SECRET_ACCESS_KEY = ENV['AWS_SECRET_ACCESS_KEY']
# Node details
NODE_NAME = "webserver-01.bittorrent.com"