Skip to content

Instantly share code, notes, and snippets.

@Faldrian
Faldrian / JiraCopyButtons.js
Created March 10, 2022 10:48
Jira Copy Buttons
// ==UserScript==
// @name Jira Copy Buttons
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Adds convenient buttons to the ticket detail view
// @author Timo
// @match https://tracker.seitenbau.net/*
// @icon https://www.google.com/s2/favicons?domain=greasyfork.org
// @grant none
// ==/UserScript==
@Faldrian
Faldrian / anagram.html
Created March 4, 2021 20:30
Little helper for figuring out anagrams...
<html>
<body>
<p>Pool: <input id="buchstaben"></p>
<p>Verbleibend: <span id="pool"></span></p>
<p><input id="genutzt"></p>
<script type="text/javascript" >
let genutzt = document.getElementById('genutzt');
let buchstaben = document.getElementById('buchstaben');
@Faldrian
Faldrian / daemon.json
Created July 17, 2020 11:04
How to configure docker to work with Wifi-On-ICE
{
"bip": "172.26.0.1/16",
"default-address-pools": [
{"base":"172.27.0.0/16", "size":24}
]
}
@Faldrian
Faldrian / elk-docker-onefile.md
Last active August 24, 2017 15:53
Ein paar Handgriffe um mal eben ein Logfile zu sezieren.

Ziel

Man hat eine Logdatei (oder mehrere?), die man mal eben durchsuchen und auswerten möchte.

Aufruf

docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -v lokaleslogfile:/tmp/dockerlogfile.log -v lokaleconfig:/etc/logstash/conf.d/03-file-input.conf -it --name elk sebp/elk

  • lokaleslogfile: Vollständiger Dateipfad zur zu untersuchenden Datei
  • lokaleconfig: Pfad zur Logstash-Config (Beispiel siehe unten)

Unter localhost:5601 kann man dann Kibana aufrufen.

@Faldrian
Faldrian / Bandcamp_CC_Tag-Overview.user.js
Last active January 2, 2016 14:48
Greasemonkey-Script to display all CC albums of all pages for the currently displayed tag
// ==UserScript==
// @name Bandcamp CC Tag-Overview
// @namespace faldrian
// @description Loads all pages inline and hides albums licensed as "all rights reserved"
// @include http://bandcamp.com/tag/*
// @include https://bandcamp.com/tag/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant GM_xmlhttpRequest
// @version 1.1
// ==/UserScript==
@Faldrian
Faldrian / bandcamp-cc-filter
Created August 27, 2014 13:24
Bandcamp-CC-Annotation
// ==UserScript==
// @name Bandcamp-CC-filter
// @namespace javafant
// @description Shows the license in the track overview
// @include http://bandcamp.com/*
// @include https://bandcamp.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant GM_xmlhttpRequest
// ==/UserScript==