This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# external module imports | |
import RPi.GPIO | |
import time | |
# button and LED assignment | |
button = 26 | |
led = 19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE Lines must not exceed 132 characters | |
## Robot module configurations : general handling of movement G-codes and slicing into moves | |
default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves | |
default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves | |
mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs 0 to disable | |
mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable | |
# note it is invalid for both the above be 0 | |
# if both are used, will use largest segment length based on radius | |
#mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Volt Meter Mount | |
* | |
* | |
*/ | |
mount(); | |
module mount() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RandomColor.ino | |
void setup() { | |
Serial.begin(9600); | |
randomSeed(analogRead(A0)); | |
} | |
void loop() { | |
char* rgb = returnColors(); | |
int r, g, b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ArcOMatic | |
* | |
* pete@rasterweb.net | |
* http://rasterweb.net/raster/ | |
* | |
*/ | |
#include <Servo.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* TurntableControl.ino | |
* Libraries required: | |
* - Pololu DRV8835 Dual Motor Driver Carrier - https://github.com/raster/drv8835-motor-driver | |
* - ServoTimer2 Library - http://forum.arduino.cc/index.php?action=dlattach;topic=157400.0;attach=39747 | |
* | |
* pete@2xlnetworks.com | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide Bookmark Folder Icon */ | |
.bookmark-item[type="menu"] > .toolbarbutton-icon { | |
display: none !important; | |
} | |
/* Remove Bookmark Item Icons */ | |
#personal-bookmarks toolbarbutton:not([type=menu]) image { | |
display: none !important; | |
-moz-margin-end: 0px !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* update all post permalinks */ | |
update wp_posts | |
set guid = REPLACE(guid, 'http://oldsite.com', 'http://newsite.com') | |
where guid LIKE '%http://oldsite.com%'; | |
/* update all post content */ | |
update wp_posts | |
SET post_content = REPLACE(post_content, 'http://oldsite.com', 'http://newsite.com') | |
where post_content LIKE '%http://oldsite.com%'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef CONFIGURATION_ADV_H | |
#define CONFIGURATION_ADV_H | |
//=========================================================================== | |
//=============================Thermal Settings ============================ | |
//=========================================================================== | |
// Select one of these only to define how the bed temp is read. | |
// | |
//#define BED_LIMIT_SWITCHING |