Skip to content

Instantly share code, notes, and snippets.

@philfry
philfry / teams-nagscreen.user.js
Created October 25, 2021 09:06
microsoft teams – remove nag screen
// ==UserScript==
// @name remove r u still there
// @namespace http://tampermonkey.net/
// @version 0.2
// @description removes the "are you still there?" nag screen from teams
// @author Philippe Kueck
// @match https://teams.microsoft.com/_
// @icon https://www.google.com/s2/favicons?domain=microsoft.com
// @grant none
// ==/UserScript==
@philfry
philfry / postfix-lmtp-cyrus.patch
Created June 7, 2017 13:25
postfix: send dummy authentication
send dummy authentication user together with MAIL FROM
in order to announce the delivery user to cyrus imapd when
connecting to it using lmtp.
--- postfix-3.2.0/html/lmtp.8.html.lmtp_dummy_user
+++ postfix-3.2.0/html/lmtp.8.html
@@ -867,6 +867,12 @@ SMTP(8)
<b><a href="postconf.5.html#smtp_tcp_port">smtp_tcp_port</a> (smtp)</b>
The default TCP port that the Postfix SMTP client connects to.
diff --git i/lib/ansible/playbook/helpers.py w/lib/ansible/playbook/helpers.py
index 7ded4c654..3c4dd5617 100644
--- i/lib/ansible/playbook/helpers.py
+++ w/lib/ansible/playbook/helpers.py
@@ -24,6 +24,8 @@ from ansible import constants as C
from ansible.errors import AnsibleParserError, AnsibleUndefinedVariable, AnsibleFileNotFound
from ansible.module_utils.six import string_types
+from ansible.utils.helpers import pk
+
@philfry
philfry / bug-result.txt
Created April 19, 2017 10:40
include_role and meta dependencies with conditionals
Using /home/phil/projects/tmp/ansible-test/ansible.cfg as config file
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc
PLAYBOOK: bug.yml **************************************************************
1 plays in bug.yml
PLAY [localhost] ***************************************************************
META: ran handlers
TASK [dep1 : debug] ************************************************************