Skip to content

Instantly share code, notes, and snippets.

View khaeransori's full-sized avatar
👋

Khaer Ansori khaeransori

👋
View GitHub Profile
@khaeransori
khaeransori / slack-pagerduty-oncall.py
Created September 13, 2021 16:16 — forked from markddavidoff/slack-pagerduty-oncall.py
Updates a Slack User Group with People that are on call in PagerDuty
#!/usr/bin/env python
from __future__ import print_function
import json
import logging
from urllib2 import Request, urlopen, URLError, HTTPError
from base64 import b64decode
@khaeransori
khaeransori / gitflow-breakdown.md
Created February 29, 2016 11:15 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
git commit --allow-empty -m "Initial commit"
git checkout -b develop master

Connect to the remote repository

angular.module('app.resources', ['ngResource'])
.factory('api', function ($resource) {
var api = {
defaultConfig : {id: '@id'},
extraMethods: {
'update' : {
method: 'PUT'
}