Skip to content

Instantly share code, notes, and snippets.

View lmintmate's full-sized avatar
🇬🇷
💻 Doing computer stuff.

lmintmate

🇬🇷
💻 Doing computer stuff.
View GitHub Profile
@lmintmate
lmintmate / mythic gme 2e random event checker.py
Last active August 1, 2023 08:58
Mythic GME 2e Random Event Checker
# Mythic GME 2e Random Event checker
# author: lmintmate
# MIT license
# I always found it hard to remember after rolling for a Fate Question to check
# if the result was a double digit number (11, 22, 33, 44, 55, 66, 77, 88, or 99),
# the single digit value of which was equal to or less than the current Chaos Factor,
# and as such I could forget to trigger a Random Event.
# So I wrote this little script to hopefully fix that.
# sources:
# https://www.toppr.com/guides/python-guide/examples/python-examples/functions/number-divisible/python-program-find-numbers-divisible-another-number/
@lmintmate
lmintmate / blue-mood.sh
Last active September 24, 2019 05:26
Blue Mood theme for Gnome terminal and derivatives via Gogh (https://github.com/Mayccoll/Gogh). Installation instructions in the comments.
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#000000" # Black
export COLOR_02="#FF0000" # Red
export COLOR_03="#7FFF00" # Green
export COLOR_04="#FFD700" # Yellow
export COLOR_05="#235C94" # Blue
export COLOR_06="#4F94CD" # Cyan
export COLOR_07="#F5DEB3" # Magenta
@lmintmate
lmintmate / blue-mood.xml
Last active September 25, 2019 14:00
[DEPRECATED - MOVED TO REPO] Blue Mood theme for Conemu / Cmder
<value name="ColorTable00" type="dword" data="008b4e10"/>
<value name="ColorTable01" type="dword" data="008b0000"/>
<value name="ColorTable02" type="dword" data="0000ff7f"/>
<value name="ColorTable03" type="dword" data="00cdcd00"/>
<value name="ColorTable04" type="dword" data="004763ff"/>
<value name="ColorTable05" type="dword" data="004763ff"/>
<value name="ColorTable06" type="dword" data="0000d7ff"/>
<value name="ColorTable07" type="dword" data="00f5f5f5"/>
<value name="ColorTable08" type="dword" data="00945c23"/>
<value name="ColorTable09" type="dword" data="00b8b8b8"/>
@lmintmate
lmintmate / .nanorc
Last active April 7, 2019 13:49
My nanorc file (nano 4.0)
## when compiling nano from source, make sure you use ./configure --enable-utf8. See https://devtidbits.com/2015/11/26/update-the-nano-text-editor-on-ubuntu/
## syntax highlighting: After compiling the latest version of nano from source, I wasn't able to find where the builtin syntax files are stored (if they were even installed). Thankfully, there's a repo on github with improved nano syntax highlighting files: https://github.com/scopatz/nanorc
include "~/.nano/*.nanorc"
## Options
## for more options see the nano manual: https://www.nano-editor.org/dist/latest/nano.pdf
## the color related options are set based on my terminal colors, and will probably not look good wth different colors
## set soft wrap
set softwrap
## When soft line wrapping is enabled, make it wrap lines at blank characters (tabs and spaces) instead of always at the edge of the screen. (from nano manual)
set atblanks
@lmintmate
lmintmate / own-commit-emoji-system.md
Last active February 16, 2022 22:13
My own commit emoji system

lmintmate's commit emoji system

Geared for dotfile and colorscheme tinkerers.

I wasn't satisfied by the existing emoji commit standards, because they are more geared towards coders than people just maintaining dotfiles and only occasionally contributing a bug report or a piece of documentation (e.g. I don't need an emoji for tests, because I don't do any).

Here is my own standard, modelled after my own usage (feel free to use it as well if you want):

  • 🎬 :clapper: = Initial commit1
  • 🆕 :new: = Add stuff
  • 🗑️ :wastebasket: = Remove stuff
@lmintmate
lmintmate / pleroma_theme-v2.json
Last active July 23, 2019 10:39
Blue Mood theme for Pleroma - version 2
{"_pleroma_theme_version":2,"theme":{"fonts":{},"shadows":{},"opacity":{},"colors":{"bg":"#104e8b","text":"#f5f5f5","link":"#00ffff","fg":"#235c94","inputText":"#f5f5f5","alertError":"#ff0000","badgeNotification":"#ff0000","cRed":"#ff0000","cBlue":"#4f94cd","cGreen":"#7fff00","cOrange":"#ffd700"},"radii":{"btn":4,"input":4,"panel":10,"avatar":5,"avatarAlt":50,"tooltip":2,"attachment":5}}}
@lmintmate
lmintmate / bluemood
Last active June 25, 2019 19:23
A theme for mocp, based on my terminal colors. Probably won't work well with terminal color themes other than blue mood.
# Example color theme for MOC.
# You can use a theme by copying it to ~/.moc/themes directory and using
# Theme config option or -T command line option.
#
# Fill free to make your own themes and send me them. It will be included in
# official MOC releases or on the MOC web site.
#
# The format of this file is:
# Lines beginning with # are comments.
# Blank lines are ignored.
@lmintmate
lmintmate / blue-mood.colorscheme
Last active September 25, 2019 14:02
[DEPRECATED - MOVED TO REPO] Blue Mood colorscheme for Konsole (KDE's terminal)
[Background]
Color=16,78,139
[BackgroundIntense]
Color=16,78,139
[Color0]
Color=0,0,0
[Color0Intense]
@lmintmate
lmintmate / .Xresources
Last active October 16, 2018 12:25
Xresources file featuring settings and Blue Mood colorscheme for XTerm and URxvt
!note: after every change to these settings, apply with xrdb -merge ~/.Xresources
!colorscheme definitions
#define dodgerblue4 #104e8b
#define whitesmoke #f5f5f5
#define tomato #ff6347
#define gold #ffd700
#define bg2 #235c94
#define wheat #f5deb3
#define cyan #00ffff
@lmintmate
lmintmate / pleroma_theme.json
Last active September 25, 2019 14:01
[DEPRECATED - OLD VERSION] Blue Mood theme for Pleroma
{
"_pleroma_theme_version": 1,
"colors": {
"bg": "#104e8b",
"lightBg": "#1a5590",
"btn": "#235c94",
"input": "rgba(35, 92, 148, .5)",
"border": "#2d669e",
"faint": "rgba(245, 245, 245, .5)",
"fg": "#f5f5f5",