(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # This file contains common pin mappings for the BIGTREETECH SKR mini | |
| # E3 v1.2. To use this config, the firmware should be compiled for the | |
| # STM32F103 with a "28KiB bootloader". Also, select "Enable extra | |
| # low-level configuration options" and configure "GPIO pins to set at | |
| # micro-controller startup" to "!PC13". | |
| # The "make flash" command does not work on the SKR mini E3. Instead, | |
| # after running "make", copy the generated "out/klipper.bin" file to a | |
| # file named "firmware.bin" on an SD card and then restart the SKR | |
| # mini E3 with that SD card. |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Do you have a docker ephemeral build slave setup with Jenkins (perhaps by using yet-another-docker plugin)? Do you want to use the inside command on your docker.image() directive? Here's how to make any of that work.
Take the following Pipeline script:
node ('jenkins-slave-node') {
stage 'Stage 1'
sh 'echo "Hello from your favorite test slave!"'
docker.image('alpine').inside {
If you've got a private repo in use with yet another docker plugin, there is a pitfall you can run into. If multiple credentials are specified, on the "Pull Image Settings" and the "Docker Registry credentials" section, the former deprecated one overrides the other. Set ONLY the Docker Registry credentials. Leave "Registry Credentials" under "Pull Image Settings" as -none-.
| def job = Jenkins.instance.getItem("the_job_name") | |
| job.getBuilds().each { | |
| if(it.result == Result.FAILURE || it.result == Result.ABORTED){ | |
| // Delete failed job | |
| it.delete() | |
| } | |
| } |
| def out | |
| def config = new HashMap() | |
| def bindings = getBinding() | |
| config.putAll(bindings.getVariables()) | |
| out = config['out'] | |
| out.println "Printed do Jenkins console." |
| C:>VBoxManage.exe list bridgedifs | |
| Name: Intel(R) 82579LM Gigabit Network Connection | |
| GUID: 78791fdf-3141-4527-99c6-3828e74187e3 | |
| DHCP: Enabled | |
| IPAddress: 10.1.1.16 | |
| NetworkMask: 255.255.255.0 | |
| IPV6Address: | |
| IPV6NetworkMaskPrefixLength: 0 | |
| HardwareAddress: 00:a0:00:00:12:34 | |
| MediumType: Ethernet |
| Go to Bitbucket and create a new repository (its better to have an empty repo) | |
| git clone git@bitbucket.org:abc/myforkedrepo.git | |
| cd myforkedrepo | |
| Now add Github repo as a new remote in Bitbucket called "sync" | |
| git remote add sync git@github.com:def/originalrepo.git | |
| Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
| git remote -v |