Skip to content

Instantly share code, notes, and snippets.

<idea-plugin>
<id>de.dieploegers.develop.idea.custommark</id>
<name>Custom Mark</name>
<version>0.1.0</version>
<vendor email="develop@dieploegers.de" url="http://www.yourcompany.com">YourCompany</vendor>
<description><![CDATA[
Create custom markings based on regular expressions.
]]></description>
package de.dieploegers.develop.idea.custommark
import com.intellij.codeInsight.daemon.RelatedItemLineMarkerInfo
import com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider
import com.intellij.codeInsight.navigation.NavigationGutterIconBuilder
import com.intellij.icons.AllIcons
import com.intellij.ide.util.DefaultPsiElementCellRenderer
import com.intellij.psi.PsiElement
import java.awt.Color
package de.dieploegers.develop.idea.custommark
import com.intellij.openapi.editor.EditorLinePainter
import com.intellij.openapi.editor.LineExtensionInfo
import com.intellij.openapi.editor.markup.EffectType
import com.intellij.openapi.editor.markup.TextAttributes
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile
import java.awt.Color
@dploeger
dploeger / htpasswd.erb
Created September 19, 2018 13:06
HTPasswd management using Puppet
<% @accounts.each do |user, password| -%>
<%= user %>:<%= scope.call_function('apache_pw_hash', [password]) %>
<% end -%>
@dploeger
dploeger / tampermonkey.xymonalarm.user.js
Last active June 16, 2020 09:35
Tampermonkey script to ring a bell an xymon alerts
// ==UserScript==
// @name Alarm on Xymon alert
// @namespace https://kps.com/
// @version 0.2
// @description Run an alert on Xymon reds
// @author Dennis Ploeger <dennis.ploeger@kps.com>
// @grant none
// @downloadUrl https://gist.githubusercontent.com/dploeger/3ad7dbc7f22d9e1f5991b0553fa569c0/raw
// @updateUrl https://gist.githubusercontent.com/dploeger/3ad7dbc7f22d9e1f5991b0553fa569c0/raw
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
@dploeger
dploeger / tampermonkey.autologinelastichq.user.js
Last active June 16, 2020 09:50
Tampermonkey script to automatically login into Elastic HQ
// ==UserScript==
// @name Autologin ElasticHQ
// @namespace https://kps.com/
// @version 0.3
// @description Login into ElasticHQ
// @author Dennis Ploeger <dennis.ploeger@kps.com>
// @grant none
// @downloadUrl https://gist.github.com/dploeger/c30aeeaf1fa5fe8f2a5b2b3b6a58abec/raw
// @updateUrl https://gist.github.com/dploeger/c30aeeaf1fa5fe8f2a5b2b3b6a58abec/raw
// ==/UserScript==
@dploeger
dploeger / tampermonkey.foremanlogin.user.js
Last active June 16, 2020 09:41
Tampermonkey script to automatically login into Foreman
// ==UserScript==
// @name Foreman Autologin
// @namespace https://kps.com/
// @version 0.2
// @description Automatically login into Foreman
// @author Dennis Ploeger <dennis.ploeger@kps.com>
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @grant none
// @downloadUrl https://gist.github.com/dploeger/30d5c0e3bed70b1fbb06a45a6d7a6ced/raw
// @updateUrl https://gist.github.com/dploeger/30d5c0e3bed70b1fbb06a45a6d7a6ced/raw
@dploeger
dploeger / tampermonkey.grayloglogin.user.js
Last active June 16, 2020 09:45
Tampermonkey script to automatically login into graylog
// ==UserScript==
// @name Graylog login
// @namespace https://kps.com/
// @version 0.1
// @description Automatically logs in into Graylog
// @author Dennis Ploeger <dennis.ploeger@kps.com>
// @grant none
// @downloadUrl https://gist.github.com/dploeger/5f51c3ea9046a35f386d6bf376fbfa83/raw
// @uploadUrl https://gist.github.com/dploeger/5f51c3ea9046a35f386d6bf376fbfa83/raw
// ==/UserScript==
@dploeger
dploeger / tampermonkey.foremanswitchtodashboard.user.js
Last active June 16, 2020 09:48
Tampermonkey script to automatically switch from hosts view to dashboard in Foreman
// ==UserScript==
// @name foremanswitchtodashboard
// @namespace https://kps.com/
// @version 0.1
// @description Switch from Foreman hosts view to dashboard
// @author Dennis Ploeger <dennis.ploeger@kps.com>
// @grant none
// @downloadUrl https://gist.github.com/dploeger/7116408c9ea7155f4ed22cec8514ea4f/raw
// @updateUrl https://gist.github.com/dploeger/7116408c9ea7155f4ed22cec8514ea4f/raw
// ==/UserScript==
@dploeger
dploeger / LookingForFemaleWriters.md
Last active June 21, 2021 20:16
TeammateCallSafeHouse

Hi there.

I'm currently working on the narrative point and click game Safe House, which will be released as a free game when it's done. For that I'm currently searching for female writers (and possibly voice artists). I have three female characters in the cast and as a white cis-man I probably can't write them good enough. The characters are Marjorie, a black woman (cis, the main character; unspecified occupation), Rebeca, a female latin police detective (cis or non-binary) and Brianna, a female district attorney (cis or non-binary).

Here's the abstract of the game:

A mob murder witness is taken into a safe house by the police for five days before her testimony. Although she's protected by two police officers, the house might not be as safe as everybody thinks.

If you're interested, please check out the in-progress game design document over at Github: https://github.com/deep-entertainment/safehouse/blob/main/design/Safe%20House%20-%20Game%20Design%20Document.md