Skip to content

Instantly share code, notes, and snippets.

View ErikBean's full-sized avatar

Erik Bean ErikBean

View GitHub Profile
@ErikBean
ErikBean / SyncPagerDutyWithOutlook.md
Last active August 22, 2019 09:44
Sync PagerDuty Calendar with Outlook

Sync PagerDuty with Outlook:

This will add an additional calendar to Outlook that contains the PagerDuty on-call schedule:

  1. Goto https://nikeb2c.pagerduty.com/schedules#P2N04XC
  2. Click "Schedule Info" on the right https://imgur.com/a/LR2nRcD
  3. CTRL+Click link "WebCal feed" link and select copy link address
  4. Goto https://outlook.office.com/calendar/
  5. Click "Import Calendar" in the left pane https://imgur.com/a/DK1FaXG
  6. In the left pane of the modal, click "From Web"
  7. Paste the link from the clipboard and give it a name like "SNKRS PagerDuty" https://imgur.com/a/HDcA69c
@ErikBean
ErikBean / .bash_profile
Last active August 21, 2019 20:52
How to Become a SuperUser
#! /bin/bash
export PATH="$PATH:/usr/local/share/npm/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
alias lint="npm run lint -- --fix"
alias t="npm run test:mocha"
alias m="git co master"
alias mp="git co master && git pull"
alias stats=git-quick-stats
alias afk='pipes.sh -r 10000 -R -p 3'
config goes here?
@ErikBean
ErikBean / fp.md
Created February 3, 2016 21:04
lodash fp docs
@ErikBean
ErikBean / .js
Last active January 29, 2016 00:34
Publisher and view mock. Once we have the callback to subscribe, we just call it with mocked bucket results
describe("new clean conversationDirective", function () {
/**
* Factory to mock:
* CreateUserChatMessageView
* CreateUserChatStateView
* CreateUserConversationView
* @param id {String} name for the createView() spy "Conversation", "ChatMessage", "ChatState" (name of factory w/o prefix/suffix)
* @return {jasmine.Spy} spy for view constructor function injected into conversationDirective.
* Spies will return a mockView object that conversationDirective calls .subscribe() on
*/