Skip to content

Instantly share code, notes, and snippets.

@lipkau
lipkau / WatchIssues.ps1
Last active July 5, 2018 11:16
[AtlassianPS] [JiraPS] Subscribe to multiple Issues to be informed about changes
#requires -modules JiraPS
if (-not (Get-JiraSession)) {
Write-Error "Script requires a valid session. Use 'New-JiraSession' or edit script."
return
}
$users = @('jon.doe', 'jane.doe')
$query = "project = TV AND components = Backend"
@lipkau
lipkau / CICD_flow.md
Last active September 25, 2018 08:26
A description of a CI/CD pipeline for Powershell

CI/CD Flow description

Assumptions

  • This description uses only major, minor and build in the module's version.
  • This description uses external help instead of Comment-Based help (platyPS).
  • This description uses Pester for running tests.
  • This description hosts the source of github.

Triggers

@lipkau
lipkau / AtlassianTuner.user.js
Last active July 9, 2020 03:05
UserScript for Atlassian's Jira and Confluence
// ==UserScript==
// @name AtlassianTuner
// @description Custom javascript to inject onto Atlassian's Jira and Confluence to make experience better (at least for me)
// @namespace https://gist.github.com/lipkau/481342249739847f2d7f8d3099783ce4
// @author Oliver Lipkau
// @version 0.10.1
// @include https://*.bsh-sdd.com*
// @require https://code.jquery.com/jquery-2.2.4.min.js#sha256=BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=
// @require https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js#sha256=WofcoLT8gToeaSmVRe28qpnlFxdBJH1n4K6Bk3YowvU=
// @run-at document-start
@lipkau
lipkau / fhem_PCA301_washer.cfg
Last active December 15, 2020 02:33
FHEM definition for a washing machine connected to a PCA301 socket and sending a push notification once it's finished
# Logger
{ restoreDir_mkDir("./log", "jeelink/washer", 0) }
define FileLog_Washer FileLog ./log/jeelink/washer/%Y-%m-%d.log Washer
attr FileLog_Washer logtype text
attr FileLog_Dishwasher nrarchive 14
attr FileLog_Washer room Bathroom
{ restoreDir_mkDir("./log", "push", 0) }
define FileLog_Push FileLog ./log/push/%Y-%m-%d.log push_.*
attr FileLog_Push logtype text
@lipkau
lipkau / $(...) Complex Subexpression.sublime-snippet
Created September 8, 2015 06:23
[PowerShell] Snippet: My Sublime Text 3 PowerShell Snippets
<!-- See http://www.sublimetext.com/docs/snippets for more information -->
<snippet>
<content><![CDATA[\$($1)]]></content>
<!-- Optional: Tab trigger to activate the snippet -->
<tabTrigger>sub</tabTrigger>
<!-- Optional: Scope the tab trigger will be active in -->
<scope>source.powershell</scope>
</snippet>
@lipkau
lipkau / FixQNapLoginFields.user.js
Last active June 11, 2022 08:59
Userscriptfor fixing the login form from QNAP, as they user a `textarea` for the username and password managers (1password in my case) can't fill it in. https://www.greasespot.net/
// ==UserScript==
// @name Fix QNap Login Fields
// @description Replace the input field for the QNap login screen for 1password to be able to fill them out
// @namespace https://gist.github.com/lipkau/
// @version 0.3
// @author Oliver Lipkau
// @match https://nas/cgi-bin/login.html*
// @icon https://www.google.com/s2/favicons?domain=myqnapcloud.com
// @grant GM_info
// @require https://code.jquery.com/jquery-3.6.0.min.js#sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=
@lipkau
lipkau / extensions
Last active February 6, 2024 15:01
VS Code User Settings
42Crunch.vscode-openapi
alefragnani.Bookmarks
AnbuselvanRocky.bootstrap5-vscode
annsk.alignment
asciidoctor.asciidoctor-vscode
atlassian.atlascode
bbenoist.vagrant
bmewburn.vscode-intelephense-client
christian-kohler.npm-intellisense
christian-kohler.path-intellisense