Skip to content

Instantly share code, notes, and snippets.


Robert C Edwards robertcedwards

View GitHub Profile
robertcedwards /
Last active Nov 29, 2018
SSH to remote connection and copy file "locally"
./dropbearmulti ssh root@remotehost cat test3.jpg > ~/tmp/testsdfsdf.jpg
robertcedwards / ⚡️.sh
Created Oct 9, 2018
Get that ⚡️into your bash, at least your Mac Terminal
View ⚡️.sh
#Put this in your terminal and smoke it
$ echo "export PS1=' ⚡️'" >> ~/.bash_profile
# Update shell
$ source ~/.bash_profile
View gist:e46e4b551095e138be1e3c50ea016cd0
Rotate 90 clockwise:
ffmpeg -i -vf "transpose=1"
For the transpose parameter you can pass:
0 = 90CounterCLockwise and Vertical Flip (default)
1 = 90Clockwise
2 = 90CounterClockwise
robertcedwards / gist:803e640e9c53a35259ceb76f2742db40
Created Jun 19, 2018
Getting MQTT, Wyze, OpenIPCam, and Kerberos Running
View gist:803e640e9c53a35259ceb76f2742db40
Install Mosquitto, a MQTT Broker(server)
brew install mosquitto
Subscribe to the Kereberos MQTT Topic set in configuration as an output
mosquitto_sub -t kios/mqtt
robertcedwards / keybase-proof
Created Mar 7, 2018
robertcedwards Keybase proof
View keybase-proof
### Keybase proof
I hereby claim:
* I am robertcedwards on github.
* I am robertcedwards ( on keybase.
* I have a public key ASBvPiFlwnag-j-0MgmtzDYbprFgWI7cs7xZB4FVQETxFgo
To claim this, I am signing this object:
View gist:807d5eb05bd8e5e8201ebf236a668d1f
robertcedwards / gist:3b47f0d5af4cdd30dad80279c71fd15a
Created Nov 16, 2017
Stepper Motor Specs for Steps/Rev & Angle
View gist:3b47f0d5af4cdd30dad80279c71fd15a
17HS4401 1.8 40 1.7 1.5 2.8 40 2.2 54 4 280
This part name is 17HS4401.
This product has 2 Phase Hybrid Stepper Motor functions.
Manufacturers of product is MotionKing (China) Motor Industry.
Image :
View grbl-steps.txt
Step 8: BONUS! Math!
Here's a quick mini tutorial on finding out the value to put into your GRBL settings for the correct amount steps for translating designs into the real world accurately.
A typical stepper motor has 200 steps PER revolution. These are known as FULL steps or 1.8° per step. This setting has the most torque and is the fastest, however not the smoothest.
Most of these machines will list the kind and size of lead/ballscrew it has. On my 3020, the lead screw is 1404.
14: 14mm diameter of the screw thread (OD)