MOVED TO -> https://github.com/simonjamain/CustomTimelapseCuraPlugin
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
#include <Homie.h> | |
#include <Adafruit_Sensor.h> | |
#include <DHT.h> | |
#include <DHT_U.h> | |
#define DHTPIN D4 | |
#define DHTTYPE DHT11 // DHT 11 | |
DHT_Unified dht(DHTPIN, DHTTYPE); |
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
function parseCsv(csvString, delimiter) { | |
var sanitizedString = csvString.replace(/(["'])(?:(?=(\\?))\2[\s\S])*?\1/g, function(e){return e.replace(/\r?\n|\r/g, ' ') }); | |
return Utilities.parseCsv(sanitizedString, delimiter) | |
} |
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/env ruby | |
# encoding: utf-8 | |
require 'optparse' | |
files = {} | |
optionParser = OptionParser.new do|options| | |
options.banner = "Usage: anteriorityCheck [options]\nReturn 1 if specified anteriority is not met" |
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/env ruby | |
# encoding: utf-8 | |
require 'optparse' | |
require 'colorize' | |
# helps adopting good practices and pushing clean code | |
# features : | |
# - prevents from coding directly into dev | |
# - prevents from pushing breaking code into dev |