Gist for https://www.youtube.com/watch?v=JhvVJtYFUm0
| CONFIG WAS UPDATED - SEE COMMENTS | |
| DEPRECATED | |
| # This file contains pin mappings for the NON stock 2020 Creality Ender 3 | |
| # with the 32-bit Creality 4.2.2 board. To use this config, during | |
| # "make menuconfig" select the STM32F103 with a "28KiB bootloader" and | |
| # serial (on USART1 PA10/PA9) communication. | |
| # adapted for my printer ender3-4.2.2 with some modifications and without the BLTouch. | |
| # If you prefer a direct serial connection, in "make menuconfig" |
| CONFIG WAS UPDATED - SEE COMMENTS | |
| DEPRECATED | |
| # This file contains pin mappings for the NON stock 2020 Creality Ender 3 | |
| # with the 32-bit Creality 4.2.2 board. To use this config, during | |
| # "make menuconfig" select the STM32F103 with a "28KiB bootloader" and | |
| # serial (on USART1 PA10/PA9) communication. | |
| # adapted for my printer ender3-4.2.2 with some modifications and without the BLTouch. | |
| # If you prefer a direct serial connection, in "make menuconfig" |
| // URL components | |
| String baseUrl = "https://bitbucket.org/rest/api" | |
| String version = "1.0" | |
| String project = "SYS" | |
| // Put it all together | |
| String reposUrl = [baseUrl, version, "projects", project, "repos"].join("/") | |
| def send_request(url_string){ | |
| // Create URL |
| Some Jenkinsfile examples |
| /* | |
| Desktop plant watering project | |
| */ | |
| #include "DHT.h" | |
| #define echoPin D2 // Echo Pin white wire | |
| #define trigPin D3 // Trigger Pin blue wire | |
| const int relayPin = D1; |
| #!/bin/sh | |
| echo -e "-- Removing exited containers --\n" | |
| docker ps --all --quiet --filter="status=exited" | xargs --no-run-if-empty docker rm --volumes | |
| echo -e "\n\n-- Removing untagged images --\n" | |
| docker rmi --force $(docker images | awk '/^<none>/ { print $3 }') | |
| echo -e "\n\n-- Removing volume directories --\n" | |
| docker volume rm $(docker volume ls --quiet --filter="dangling=true") |
| # -*- coding: utf-8 -*- | |
| """ | |
| Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic | |
| Made available under GNU GENERAL PUBLIC LICENSE | |
| # Modified Python I2C library for Raspberry Pi | |
| # as found on http://www.recantha.co.uk/blog/?p=4849 | |
| # Joined existing 'i2c_lib.py' and 'lcddriver.py' into a single library | |
| # added bits and pieces from various sources | |
| # By DenisFromHR (Denis Pleic) |
| #ifndef CONFIGURATION_H | |
| #define CONFIGURATION_H | |
| // This configuration file contains the basic settings. | |
| // Advanced settings can be found in Configuration_adv.h | |
| // BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration | |
| //=========================================================================== | |
| //============================= DELTA Printer =============================== | |
| //=========================================================================== |
| /* Groovy Usage: | |
| The following example replaces: | |
| the 1st occurrence of "James" in data.txt with "user1", | |
| the 2nd occurrence of "James" in data.txt with "user2", | |
| the 3rd occurrence of "James" in data.txt with "user3", | |
| .. | |
| the 9th occurrence of "James" in data.txt with "user9". | |
| */ | |
| def myFile = new File("data.txt") |