Skip to content

Instantly share code, notes, and snippets.

Billy Overton billyoverton

View GitHub Profile
View idleMonitor.go
package main
import (
"fmt"
"syscall"
"time"
"unsafe"
)
func main() {
@billyoverton
billyoverton / gulpfile.js
Created Jul 27, 2015
Gulp file for billyoverton.com
View gulpfile.js
var gulp = require('gulp');
var cp = require('child_process');
var minifyCss = require('gulp-minify-css');
var notify = require("gulp-notify")

var sass = require('gulp-ruby-sass')
;
var bower = require('gulp-bower');
var browserSync = require('browser-sync');
var config = {

 sassPath: './_sass',
@billyoverton
billyoverton / pagerduty.py
Last active Dec 29, 2015
Playing around with the pager duty REST api.
View pagerduty.py
import http.client
import base64
import json
import urllib
class api:
"""Provides a wrapper to the PagerDuty Notification system's REST API
Details of the API can be found at
You can’t perform that action at this time.