Skip to content

Instantly share code, notes, and snippets.

View RickeyWard's full-sized avatar

DiamondDrake RickeyWard

  • DiamondDrake Software and Design, @SwampfoxInc
  • Columbia, SC
View GitHub Profile
//DDFormsExtentions.DDFormFader - Class
//Copyright October 2009 by Rickey Ward (DiamondDrake)
//Email: [email protected]
//-----
//This class provides more control over opacity in windowsforms applications
//by providing a more indepth wrapper for the WS_EX_LAYERED window api
//of windows 2k+
//
//THIS CLASS IS PROVIDED ON AN "AS IS" BASIS, AND RICKEY WARD EXPRESSLY DISCLAIMS ANY
//AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF
@RickeyWard
RickeyWard / LaddaButton.tsx
Last active September 23, 2020 20:19
React LaddaButton wrapper in Typescript with hooks
import React, { useRef, useEffect } from 'react'
import { create } from 'ladda'
import { LaddaButton as laddatype } from 'ladda/js/ladda';
export const XS = 'xs'
export const S = 's'
export const L = 'l'
export const XL = 'xl'
export const SIZES = [XS, S, L, XL] as const
@RickeyWard
RickeyWard / SimpleWav.js
Last active February 21, 2022 02:06
SimpleWav Cross-browser base64 encoded wav file player api aimed at supporting wav in IE
/*
* IE can't play wav files in the javascript audio api, or audio element.
* This is a cross browser base64 wav file player aimed at being very simple
* and small while still supporting IE.
* (C)2020 Rickey Ward
* MIT Licence
*/
(function () {
window.simpleWav = {
@RickeyWard
RickeyWard / SKIP_FAILJOB_ON_STOP_ERROR.patch
Created October 19, 2022 15:42
Docker-Workflow-Plugin Skip Failjob on stop error patch
diff --git a/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java b/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java
index ce27cea..05d5db7 100644
--- a/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java
+++ b/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java
@@ -83,6 +83,13 @@ public class DockerClient {
@Restricted(NoExternalUse.class)
public static boolean SKIP_RM_ON_STOP = Boolean.getBoolean(DockerClient.class.getName() + ".SKIP_RM_ON_STOP");
+ /**
+ * Skip failing a job if docker-stop / rm fails / times out.
@RickeyWard
RickeyWard / mushroom-fan-ex-addon.js
Last active November 13, 2024 02:47
Mushroom Fan Card Ex Extended W/Presets addon
var t="https://github.com/piitaya/lovelace-mushroom";
function e(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a
}const n=window,r=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),o=new WeakMap;let a=class{constructor(t,e,n){if(this._$cssResult$=!0,n!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const n=void 0!==e&&1===e.length;n&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&o.set(e,t))}return t}toString(){return this.cssText}};const s=t=>new a("string"==typeof t?t:t+"",void 0,i),l=(t,
@RickeyWard
RickeyWard / mushroom-countdown-card-addon.js
Last active February 18, 2024 16:52
Mushroom Countdown Card Addon
var e="https://github.com/RickeyWard/lovelace-mushroom";
function t(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/}const r=window,n=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),a=new WeakMap;let o=class{constructor(e,t,r){if(this._$cssResult$=!0,r!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(n&&void 0===e){const r=void 0!==t&&1===t.length;r&&(e=a.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&a.set(t,e))}return e