Skip to content

Instantly share code, notes, and snippets.

@inthroxify
inthroxify / klipper.cfg
Created April 10, 2020 18:04 — forked from lenne0815/klipper.cfg
Ender 5 SKR mini E3 1.2 Config
# 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.
@inthroxify
inthroxify / introrx.md
Created August 20, 2019 02:53 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@inthroxify
inthroxify / jenkins_delete_failed.groovy
Last active April 20, 2018 20:04 — forked from dbr/jenkins_delete_failed.groovy
Delete failed builds for a job in Jenkins
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()
}
}
@inthroxify
inthroxify / printjenkins.groovy
Created April 20, 2018 20:03 — forked from lyuboraykov/printjenkins.groovy
Print to console in Jenkins Groovy system script
def out
def config = new HashMap()
def bindings = getBinding()
config.putAll(bindings.getVariables())
out = config['out']
out.println "Printed do Jenkins console."
@inthroxify
inthroxify / github-to-bitbucket
Created December 7, 2016 00:13 — forked from sangeeths/github-to-bitbucket
Forking a Github repo to Bitbucket
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