Skip to content

Instantly share code, notes, and snippets.

@mflodin
mflodin / bookmarklet.js
Created Sep 24, 2015
Autofill email address in Office365 Outlook
View bookmarklet.js
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 Aug 29, 2015
A tighter theme for outlook 365
View rapp-it-up.css
._rp_I3 ._pe_u1 {
margin-top: 4px;
height: 30px;
width: 30px;
line-height: 30px;
}
.ms-font-l {
font-size: 14px;
line-height: 1.2;
View prepare-commit-msg.sh
#!/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.
You can’t perform that action at this time.