Skip to content

Instantly share code, notes, and snippets.

View andytinkham's full-sized avatar

Andy Tinkham andytinkham

View GitHub Profile
@andytinkham
andytinkham / CVE Details.md
Last active July 22, 2025 06:32
Get CVE details and format as markdown

<% tp.user.cve_details(cve_id) %>

@andytinkham
andytinkham / main.rb
Created April 30, 2020 22:44
Ruby KPI gatherer script
require 'octokit'
require 'rest-client'
require 'json'
require './ignored_repos.rb'
def get_cc_issue_details(num_issues, repo_id, snapshot_id, debug)
url = "https://api.codeclimate.com/v1/repos/#{repo_id}/snapshots/#{snapshot_id}/issues?page[size]=100"
page = 1
categories = Hash.new()