Skip to content

Instantly share code, notes, and snippets.

@SVNKoch
SVNKoch / userscript.js
Last active June 30, 2025 13:16
Jira Data Center & Cloud Administration: Issue Statuses Reordering for StatusCategory
// ==UserScript==
// @name Jira Reorder Statuses in Admin Page by StatusCategory (no-reload)
// @namespace jira.violentmonkey.userscript
// @match *://*/*/ViewStatuses.jspa*
// @version 2.0
// @description Orders entries by status: "To Do" < "In Progress" < "Done" without reloading between moves
// @grant none
// ==/UserScript==
(() => {
@SVNKoch
SVNKoch / run_silent.vbs
Created November 2, 2024 01:18
execute any ps1 cmd bat or vbs script without a command line interface popping up
' check if script file argument is present
If WScript.Arguments.Count = 0 Then
WScript.Echo "Please provide a script file as an argument."
WScript.Quit 1
End If
scriptFile = WScript.Arguments(0)
' collect any additional arguments
args = ""
@SVNKoch
SVNKoch / addToPATH.ps1
Created November 2, 2024 01:17
Send To Context Menu Entry: Add Path to User PATH Environment Variable
# Add entry to windows file context menu which allows adding path of file(s) and folder(s) to user environment PATH variable.
# Place shortcut in windows sendto location by pressing WIN + R and enter shell:sendto
# Shortcut Details:
# Destiantion: ` C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoExit -ExecutionPolicy Bypass -File "C:\path to folder\addToPATH.ps1" `
# Execute in: ` "C:\path to folder" `
# Alternative Destination if using some silencer: ` C:\Windows\System32\wscript.exe "C:\path2 to folder\run_silent.vbs" "C:\path to folder\addToPATH.ps1" %* `
Add-Type -AssemblyName System.Windows.Forms
@SVNKoch
SVNKoch / self-signed-certificate-with-custom-ca-for-home-assistant.md
Last active October 21, 2022 19:15 — forked from kumekay/self-signed-certificate-with-custom-ca-for-home-assistant.md
Self Signed Certificate with Custom Root CA for Home Assistant

Create Root Certificate Authority and self-signed certificate for your Home Assistant. Compatible with Chrome browser > version 58 and macOS 10.15 Catalina

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096