Skip to content

Instantly share code, notes, and snippets.

View markusmo3's full-sized avatar

Markus Moser markusmo3

View GitHub Profile
@markusmo3
markusmo3 / copyJiraIssueKey.user.js
Last active January 30, 2024 09:29
Adds a new button in the issue details pane to copy the parent and sub issue key for git commit reference
// ==UserScript==
// @name Copy Jira Issue Key
// @namespace https://gist.github.com/markusmo3/
// @homepage https://gist.github.com/markusmo3/
// @version 2024-01-30
// @description Copies the parent and sub issue key for git commit reference
// @author markusmo3
// @match https://*/secure/RapidBoard.jspa*
// @grant none
// @license MIT
@markusmo3
markusmo3 / .gitconfig
Created December 12, 2022 14:47
My alias section of the .gitconfig found in ~/.gitconfig
[alias]
p = push
st = status -sb
ll = log --oneline
last = log -1 HEAD --stat
cm = commit -m
rv = remote -v
d = diff
gl = config --global -l
lgb = log --graph --pretty=format:\"hC(yellow)Creset Cgreen(C(bold blue)<Creset\" --abbrev-commit --date=relative --branches
@markusmo3
markusmo3 / plugin.groovy
Last active January 2, 2022 13:15
IntelliJ LivePlugin RandomColorScheme (this code is under MIT License)
import com.intellij.configurationStore.SerializableScheme
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.editor.colors.ColorKey
import com.intellij.openapi.editor.colors.EditorColors
import com.intellij.openapi.editor.colors.EditorColorsManager
import com.intellij.openapi.editor.colors.EditorColorsScheme
import com.intellij.openapi.editor.colors.TextAttributesKey
import com.intellij.openapi.editor.colors.impl.ReadOnlyColorsScheme
import com.intellij.openapi.editor.markup.EffectType
import com.intellij.openapi.editor.markup.TextAttributes
This file has been truncated, but you can view the full file.
<scheme name="Rainbow CIELab Coffee" version="142" parent_scheme="Darcula">
<option name="FONT_SCALE" value="1.0" />
<metaInfo>
<property name="created">2021-11-19T12:40:05</property>
<property name="ide">idea</property>
<property name="ideVersion">2021.2.2.0.0</property>
<property name="modified">2021-11-19T12:40:11</property>
<property name="originalScheme">Rainbow CIELab Coffee</property>
</metaInfo>
<console-font>
@markusmo3
markusmo3 / main.py
Created December 28, 2020 16:27
Wox Translate Plugin modified
# -*- coding: utf-8 -*-
import ctypes
import webbrowser
from wox import Wox
from googletrans import Translator
import clipboard
LANGUAGES = {
'afrikaans': 'af',
// THIS WAS HEAVILY MODIFIED BY markusmo3 TO FURTHER AID IN ANALYSIS
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
* which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
*
* Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
import com.intellij.ide.plugins.IdeaPluginDescriptor
import com.intellij.ide.plugins.PluginManager
import com.intellij.ide.plugins.PluginManagerCore
import com.intellij.ide.plugins.PluginManagerMain
import com.intellij.notification.Notification
import com.intellij.notification.NotificationListener
import com.intellij.notification.NotificationType
import com.intellij.openapi.extensions.PluginId
import com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginsAdvertiser
import com.intellij.openapi.util.text.StringUtil
@markusmo3
markusmo3 / _README.md
Last active January 7, 2023 13:51
my firefox userchrome files

Enable userChrome customization in about:config

  • Navigate to about:config in the address bar and accept the risks.
  • Search for toolkit.legacyUserProfileCustomizations.stylesheets and toggle it to true (by double clicking on it).
  • Go to about:profiles, click Open Folder on active Root profile directory
  • Add folder chrome and add the other files from this gist in there
@markusmo3
markusmo3 / icon-changer.groovy
Last active May 11, 2020 12:35
An IntelliJ IDEA Live Plugin to change the window icon to something more useful. (LivePlugin: https://github.com/dkandalov/live-plugin)
import com.intellij.ide.plugins.PluginUtil
import java.awt.*
import javax.imageio.*
import com.intellij.openapi.project.*
import com.intellij.openapi.wm.*
import com.intellij.openapi.wm.impl.*
import sun.misc.*
FROM openjdk:8-jdk-alpine
CMD ["gradle"]
ENV GRADLE_HOME /opt/gradle
ENV GRADLE_VERSION 4.6
ARG GRADLE_DOWNLOAD_SHA256=98bd5fd2b30e070517e03c51cbb32beee3e2ee1a84003a5a5d748996d4b1b915
RUN set -o errexit -o nounset \
&& echo "Installing build dependencies" \