Skip to content

Instantly share code, notes, and snippets.

View aaronkaka's full-sized avatar
🏠
Working from home

Aaron Kaka aaronkaka

🏠
Working from home
View GitHub Profile
@aaronkaka
aaronkaka / README.md
Last active March 8, 2020 23:25
Sonar Secured Widget for Dashing Framework

Preview

Screenshot

Description

Dashing widget to display Sonar metrics, connecting to either a secured or unsecured Sonar repository.

I created this widget after originally attempting to use EHadoux's simple Sonar widget, which did not allow access to my company's secured Sonar instance. Additionally, I implemented the ability to set up the widget using an external configuration file.

Please note that this is technically a job versus a widget, in that it periodically requests data from Sonar and pushes that to the list widget as the view.

@aaronkaka
aaronkaka / gist:49924464a2e98d919da1
Last active August 29, 2015 14:15
A Groovy way to demonstrate banking a fiat currency.
class Goldsmith {
def unitsOfGold = 0
def depositReceipts = 0
def loanReceipts = 0
def reserveFraction = 0
def deposit(goldDeposit) {
unitsOfGold += goldDeposit
depositReceipts += goldDeposit