Skip to content

Instantly share code, notes, and snippets.

View drewzh's full-sized avatar

Andrew Higginson drewzh

View GitHub Profile
#!/bin/sh
#########################
## PASSWORD GEN SCRIPT ##
## -drewzh.com- ##
#########################
echo "Please enter your master password:"
stty -echo
read -r master
stty echo
#!/bin/sh
#########################
## PASSWORD GEN SCRIPT ##
## -drewzh.com- ##
#########################
echo "Please enter your master password:"
stty -echo
read -r master
stty echo
@drewzh
drewzh / gist:2214857
Created March 27, 2012 10:56
Textarea width fix
.box-sizing-border
{
box-sizing: border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
}
# Rename this distribution example file to motion.conf
#
# This config file was generated by motion Git-28b7cb2a4297c78b9c08c9ce29a648aeb22120d0
############################################################
# Daemon
############################################################
# Start in daemon (background) mode and release terminal (default: off)
@drewzh
drewzh / serial.log
Created July 1, 2019 16:20
Octoprint serial.log for start gcode sequence issue
2019-07-01 17:04:07,715 - Changing monitoring state from "Offline" to "Detecting serial port"
2019-07-01 17:04:07,740 - Serial port list: ['/dev/ttyACM0']
2019-07-01 17:04:07,741 - Connecting to: /dev/ttyACM0
2019-07-01 17:04:07,745 - Changing monitoring state from "Detecting serial port" to "Opening serial port"
2019-07-01 17:04:07,748 - Connected to: Serial<id=0x6c916f10, open=True>(port='/dev/ttyACM0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2019-07-01 17:04:07,752 - Changing monitoring state from "Opening serial port" to "Connecting"
2019-07-01 17:04:07,764 - Send: N0 M110 N0*125
2019-07-01 17:04:07,776 - Recv: ok
2019-07-01 17:04:07,781 - Changing monitoring state from "Connecting" to "Operational"
2019-07-01 17:04:07,793 - Send: N0 M110 N0*125
@drewzh
drewzh / octoprint.log
Created July 1, 2019 16:21
Octoprint octoprint.log for start gcode sequence issue
2019-07-01 12:59:02,141 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-07-01 12:59:02,149 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2019-07-01 12:59:02,149 - octoprint.server - INFO - OctoPrint 1.3.11
2019-07-01 12:59:02,160 - octoprint.plugin.core - INFO - 31 plugin(s) registered with the system:
| ABL Expert Plugin (0.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ABL_Expert
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprin