Skip to content

Instantly share code, notes, and snippets.

@samjewell
samjewell / DPM Audit.png
Last active February 21, 2024 11:52
HostAnImage
DPM Audit.png
@samjewell
samjewell / org2_attribution_report.json
Last active January 24, 2024 11:58
Dummy Attribution report with attrib dimensions "application" and "region"
{
"attributions": [
{
"monthISO": "2023-07",
"monthString": "July",
"application": "marketing_site",
"region": "EMEA",
"billableSeries": 40,
"dollarCost": 4
},
@samjewell
samjewell / dummy-attribution-micro-with-metadata.json
Last active January 24, 2024 10:34
dummy-attribution-micro-with-metadata.json
{
"attributions": [
{
"monthISO": "2023-07",
"monthString": "July",
"team": "coffee",
"grafanaProduct": "metrics",
"billableSeries": 40,
"dollarCost": 4
},
@samjewell
samjewell / dummy-cost-attribution-micro-all-months-concatd.json
Created November 6, 2023 21:55
Trial the JSON datasources available
[
{
"month (ISO)": "2023-07",
"month (string)": "July",
"team": "coffee",
"Grafana Product": "metrics",
"Dollars due": 4
},
{
"month (ISO)": "2023-07",
application_id school_id
1 1
3 2
3 1
3 1

Keybase proof

I hereby claim:

  • I am samjewell on github.
  • I am samjewell (https://keybase.io/samjewell) on keybase.
  • I have a public key ASDLkmxfxkUJvZxHwwSEv7ifCiXJ3LmnQIXc5Uxte2RTLQo

To claim this, I am signing this object:

{"Members":{"MemberInfo":[{"AcceptsTransfer":"true","Address1":"1 South Ave","Address2":"","ArtsSupplement":"0","CAEssayReqdFY":"true","CAEssayReqdTR":"false","City":"Garden City","ClientId":"11","CommonAppOnly":"false","ContactEmail":"admissions@adelphi.edu","CounselorEvalReqd":"true","Country":"USA","EarlyDecisionAgreement":null,"Fax":"","InfoLink":"http://admissions.adelphi.edu/freshman/","MaxTeacherEvalNum":"4","MemberType":"1","Name":"Adelphi University","Phone":"(516) 877-3050","Platform":"Custom","State":"NY","TeacherEvalNum":"0","Website":"http://www.adelphi.edu/","Zip":"11530"},{"AcceptsTransfer":"true","Address1":"141 East College Avenue","Address2":"","ArtsSupplement":"0","CAEssayReqdFY":"true","CAEssayReqdTR":"true","City":"Decatur","ClientId":"12","CommonAppOnly":"true","ContactEmail":"admission@agnesscott.edu","CounselorEvalReqd":"true","Country":"USA","EarlyDecisionAgreement":null,"Fax":"404-471-6414","InfoLink":"http://www.agnesscott.edu/admission/high-school-students/index.html","MaxTeacherEv
@samjewell
samjewell / rubocop.yml
Last active April 27, 2018 14:16
Upgrading Rails to v5.0 using Rubocop
AllCops:
TargetRailsVersion: 5.0
# TODO: Remove these rules
Rails/ApplicationRecord:
Enabled: false
Rails/ApplicationJob:
Enabled: false
Rails/HttpPositionalArguments:
@samjewell
samjewell / application_job.rb
Created February 23, 2018 18:55
Upgrading Rails to v5.0 using Rubocop: ApplicationJob class
class ApplicationJob < ActiveJob::Base
end
@samjewell
samjewell / application_record.rb
Last active February 23, 2018 18:53
Upgrading Rails to v5.0 using Rubocop: ApplicationRecord class
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
end