Skip to content

Instantly share code, notes, and snippets.

View rplessl's full-sized avatar

Roman Plessl rplessl

View GitHub Profile

Using an Access Token for the first time

Follow the instructions on Github to Create an Access Token in Github

Configure Git to use the osxkeychain

By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.

You can tell Git you want to store credentials in the osxkeychain by running the following:-

@rplessl
rplessl / one-time-ec2-ssh-connect.sh
Created June 28, 2019 21:47 — forked from pahud/one-time-ec2-ssh-connect.sh
One Time EC2 SSH public key connect
#!/bin/bash
TMPKEY="my-ssh-tmp-key-${RANDOM}"
EC2USER='ec2-user'
generate_ssh_key_pair(){
ssh-keygen -t rsa -f ~/.ssh/${TMPKEY} -N "" && \
chmod 600 ~/.ssh/${TMPKEY}.pub
}
@rplessl
rplessl / ignite.el
Created May 2, 2018 19:18 — forked from HeinrichHartmann/ignite.el
emacs functions to simulate ignite talks
(defun ignite-start ()
"Auto advaince slides"
(interactive)
(set 'ignite-interval 15)
(set 'ignite-t ignite-interval)
(message (format "Go! (%d sec)" ignite-interval))
(run-at-time 0 1 (lambda ()
(if (<= ignite-t 0)
(progn
(doc-view-next-page)

Keybase proof

I hereby claim:

  • I am rplessl on github.
  • I am rplessl (https://keybase.io/rplessl) on keybase.
  • I have a public key ASDlVFQ25FsIKfYs2LGZKOu6t9dfo5bHVQO6aZG0uNO0Ngo

To claim this, I am signing this object:

@rplessl
rplessl / Dovecot-and-Zimbra-MTA.md
Last active October 14, 2022 21:38
Configuration of Dovecot as a IMAP proxy for Zimbra (especially Zimbra MTA)

Dovecot as an IMAP Proxy for Zimbra (Zimbra - MTA)

When using Dovecot as an IMAP proxy (e.g. for handling client certificate authentication) it is important to disable to IMAP pipelinging with :

proxy_nopipelining=y

The nginx in the Zimbra MTA seems not be able to handle 'Capability' checks and the 'Login' command when sticked together at proxy login step (pipelineing).

Tested and debugged with Zimbra 8.0.7 Network Edition