Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View billyoverton's full-sized avatar

Billy Overton billyoverton

View GitHub Profile
@billyoverton
billyoverton / pagerduty.py
Last active December 29, 2015 12:49
Playing around with the pager duty REST api.
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
@billyoverton
billyoverton / gulpfile.js
Created July 27, 2015 00:46
Gulp file for billyoverton.com
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',
package main
import (
"fmt"
"syscall"
"time"
"unsafe"
)
func main() {
@billyoverton
billyoverton / piphone.py
Created January 4, 2020 22:02
Small python script to find all valid phone numbers in the first 3000 digits of py. I got bored watching Person of Interest.
pi3000 = """3
141592653589793238462643383279502884197169399375105
82097494459230781640628620899862803482534211706798
21480865132823066470938446095505822317253594081284
81117450284102701938521105559644622948954930381964
42881097566593344612847564823378678316527120190914
56485669234603486104543266482133936072602491412737
24587006606315588174881520920962829254091715364367
89259036001133053054882046652138414695194151160943
30572703657595919530921861173819326117931051185480