Skip to content

Instantly share code, notes, and snippets.

View mikehearn's full-sized avatar

Mike Hearn mikehearn

View GitHub Profile
@mikehearn
mikehearn / plugin.xml
Created May 1, 2023 16:31
IntelliJ plugin xml for a kotlin scripting plugin
<idea-plugin>
<id>dev.hydraulic.hshell</id>
<name>Hydraulic Shell</name>
<vendor email="[email protected]" url="https://hshell.hydraulic.dev">Hydraulic</vendor>
<description><![CDATA[
Hydraulic Shell is a replacement for shell scripting that uses Kotlin.
]]></description>
<depends>com.intellij.modules.platform</depends>
@mikehearn
mikehearn / Scripts
Last active December 4, 2023 11:45
systemd unit monitoring setup
----------------------------------------------------
#!/usr/bin/env bash
# place in a file called email-unit-status.sh on the PATH
# requires you to have set /etc/admin-email to contain the address to receive the messages
# requires install of ansi2html
#
set -e