Skip to content

Instantly share code, notes, and snippets.

@mflodin
mflodin / bookmarklet.js
Created September 24, 2015 06:34
Autofill email address in Office365 Outlook
javascript:(function () { var email = localStorage.getItem('bookmarklet-email');if(!email) {email = prompt('What is your email address?'); localStorage.setItem('bookmarklet-email', email); } document.getElementById('userNameInput').value = email; document.getElementById('passwordInput').focus(); })();
@mflodin
mflodin / rapp-it-up.css
Last active August 29, 2015 14:23
A tighter theme for outlook 365
._rp_I3 ._pe_u1 {
margin-top: 4px;
height: 30px;
width: 30px;
line-height: 30px;
}
.ms-font-l {
font-size: 14px;
line-height: 1.2;
#!/bin/bash
# This way you can customize which branches should be skipped when
# prepending commit message.
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop test)
fi
BRANCH_NAME=$(git symbolic-ref --short HEAD)
BRANCH_NAME="${BRANCH_NAME##*/}" #Remove feature/, hotfix/, etc.