Skip to content

Instantly share code, notes, and snippets.

View wjkennedy's full-sized avatar
💭
I may be slow to respond.

William Kennedy wjkennedy

💭
I may be slow to respond.
View GitHub Profile
@wjkennedy
wjkennedy / quicknote.html
Last active December 28, 2020 03:17
data:text/html, <html contenteditable>
<!-- paste & go -->
data:text/html, <html contenteditable>
@wjkennedy
wjkennedy / circles.markdown
Created December 29, 2017 02:40
Circles ○
@wjkennedy
wjkennedy / products.xml
Created March 2, 2020 21:13
Current Atlassian Products and Top Add-ons circa March, 2020
<?xml version="1.0" encoding="UTF-8"?>
<products>
<product>
<shortname>Crowd</shortname>
<location>inst/crowd</location>
<downloadurl>https://atlassian.com/software/crowd/downloads/binary/atlassian-crowd-^version^.tar.gz</downloadurl>
<version>4.0.0</version>
<filename>atlassian-crowd-^version^.tar.gz</filename>
<dirname>atlassian-crowd-^version^</dirname>
</product>
@wjkennedy
wjkennedy / top100jiracsv.sh
Last active October 7, 2020 11:20
Hacky jq one-liner gets Top 100 most popular Jira Addons from the Marketplace
curl "https://marketplace.atlassian.com/rest/2/addons?application=jira&filter=popular&limit=100" | jq '._embedded.addons[]| [.name, .key, ._embedded.distribution.totalUsers, ._embedded.distribution.downloads]|@csv'|sed 's/\\//g'|sed 's/^\"//'| sed 's/\"$//'|tee -a jira.addons.csv
@wjkennedy
wjkennedy / importjson.gs
Last active March 9, 2022 11:51
Import Jira Cloud JSON to Google Sheets
/*====================================================================================================================================*
ImportJSON by Brad Jasper and Trevor Lohrbeer
with Base64 patch
====================================================================================================================================
Version: 1.5.0
Project Page: https://github.com/bradjasper/ImportJSON
Copyright: (c) 2017-2019 by Brad Jasper
(c) 2012-2017 by Trevor Lohrbeer
License: GNU General Public License, version 3 (GPL-3.0)
http://www.opensource.org/licenses/gpl-3.0.html
@wjkennedy
wjkennedy / flotsm.v0.2.php
Created December 18, 2021 04:29
flotsm.com 0.2 circa 2006
<?
/*
flotsm.com alpha card v.0.2
ImageMagick class example
written by: daniel@bokko.nl
(c)1999 - 2003 All copyrights by: Daniël Eiland
This library is free software; you can redistribute it and/or
@wjkennedy
wjkennedy / resume.json
Last active February 12, 2023 12:40
JSON Resume file
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Thomas Davis",
"label": "Web Developer",
"image": "https://avatars0.githubusercontent.com/u/416209?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4",
"summary": "I’m a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am use to wearing many hats. I am a very product focussed developer who priotizes user feedback first and foremost. I'm generally very flexible when investigating new roles. ",
"website": "https://lordajax.com",
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "William Kennedy",
"label": "Technical Architect",
"image": "",
"email": "william@a9group.net",
"phone": "",
"url": "https://bitbucket.org/a9group",
"summary": "Scaling, migrating and moving Enterprise Infrastructure since 1998. Atlassian products since 2010. Atlassian c/o 2013\n",
import pandas as pd
from sklearn.preprocessing import LabelEncoder
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.multioutput import MultiOutputClassifier
from sklearn.svm import LinearSVC
# Load data into a pandas DataFrame
df = pd.read_csv('jira_data.csv')
# Encoding categorical variables
from alluvial import alluvial_diagram
# Create a list of edges, where each edge represents a connection between a word and a project
edges = []
for i, row in df.iterrows():
project = row['Project Name']
issue_key = row['Issue Key']
summary = row['Summary']
top_words = row['Top Words']
for word in top_words: