Skip to content

Instantly share code, notes, and snippets.

@buckeyeworldcitizen
buckeyeworldcitizen / bdayclock
Last active February 4, 2019 14:47
Birthday word clock
//Theres two parts to this code: first the birthday part and then the clock part which i had on separate arduinos.
//The first section is original and the second is modified from Joe Caldwell at http://www.highonsolder.com who modified it from Scott Bezek who modified it from Doug Jackson
//Good luck
#include <Wire.h>
#include "RTClib.h"
#include <Adafruit_NeoPixel.h>
@DavidWittman
DavidWittman / audit_iam_accounts.py
Created April 14, 2016 22:34
Parses the output from AWS credential reports and displays users which have been inactive for 60+ days.
#!/usr/bin/env python
# Parses the output from AWS credential reports and displays
# users which have been inactive for 60+ days.
#
# Usage:
# audit_iam_accounts.py credential_report.csv <days>
#
import csv
import os
import boto.utils
import boto3
import requests
import datetime
import time
def get_contents(filename):
@crbyxwpzfl
crbyxwpzfl / git.py
Last active April 13, 2023 14:42
python script for git
import subprocess
#import privates variable
import sys
import os
sys.path.append(os.path.join(os.getenv('privates')))
import privates
def test():
global branch