Skip to content

Instantly share code, notes, and snippets.

Avatar

mtness mtness

View GitHub Profile
@mtness
mtness / powermail-textarea_multiline-emails.diff
Created Nov 24, 2020 — forked from rr-it/powermail-textarea_multiline-emails.diff
TYPO3 Powermail Issue on multi-line text in html mails
View powermail-textarea_multiline-emails.diff
diff -ru a/Classes/Domain/Repository/MailRepository.php b/Classes/Domain/Repository/MailRepository.php
--- a/Classes/Domain/Repository/MailRepository.php 2017-08-22 15:27:42.155674340 +0200
+++ b/Classes/Domain/Repository/MailRepository.php 2017-08-22 14:52:23.296258864 +0200
@@ -381,7 +381,7 @@
* @param bool $htmlSpecialChars
* @return array
*/
- public function getVariablesWithMarkersFromMail(Mail $mail, $htmlSpecialChars = false)
+ public function getVariablesWithMarkersFromMail(Mail $mail, $htmlSpecialChars = false, $nl2br = false)
{
@mtness
mtness / docker-prompt.md
Created Dec 19, 2019 — forked from scmx/docker-prompt.md
How to get a fancier bash prompt PS1 inside a docker container #docker #ps1 #emoji
View docker-prompt.md

How to get a fancier bash prompt PS1 inside a docker container

Today I wanted to make a recording of me running some commands inside a docker-container.

❯ docker-compose run app bash
root@e9bb2af4dc11:/usr/local/go/src/example.com/dev/project#

Needless to say it looked a bit bland with no colors and a long prompt that prevents me from recording a small terminal and show the full commands I'm

@mtness
mtness / css_mtness-devtools.css
Last active Aug 1, 2018
mtness firefox userChrome.css
View css_mtness-devtools.css
/**
* mtness style: firefox inspector
*
* based on: https://userstyles.org/styles/140217/firefox-48-devtools-colours-for-49
* written with the left Hand of mtness http://userstyles.org/users/3613
*
* 2018-01-16
*
*/
@mtness
mtness / css_mtness-rdm.css
Last active Aug 1, 2018
mtness style: firefox quantum responsive design mode
View css_mtness-rdm.css
/*
* mtness RDM adjustments
* written with the left Hand of mtness
* 2018-01-16
*
* hast to be referenced in usewrContent.css
*
*/
@-moz-document url("chrome://devtools/content/responsive.html/index.xhtml")
@mtness
mtness / Custom.css
Created Mar 6, 2012 — forked from curtisblackwell/Custom.css
IR_Black Theme for Chrome Developer Tools
View Custom.css
/* ------------------------------------------------------------------------- */ /* about */
/*
/* the mtness theme for Chrome Inspector & viewsource
/* created 2012-03-15
/*
/* features noline-break for viewsource
/*
/* ------------------------------------------------------------------------- */ /* credits */
/*
/* Based on IR_Black Skin by Ben Truyman - 2011
You can’t perform that action at this time.