First, you'll need to generate a list of job.id's from reports generated in the last # days. Run the following in Mixpanel...
SELECT job_id
FROM public.reports AS reports
WHERE reports.updated_at > '2015-06-29 00:00:00'
# This converts the CSV generated from job #1 into an input CSV for job #2. | |
# usage: ruby csv_to_csv.rb <csv input filename> <csv output filename> | |
# if there is no output file given, one will automatically be generated, with the filename of 'converted_[input filename]' | |
require 'rubygems' | |
require 'csv' | |
require 'json' |
First, you'll need to generate a list of job.id's from reports generated in the last # days. Run the following in Mixpanel...
SELECT job_id
FROM public.reports AS reports
WHERE reports.updated_at > '2015-06-29 00:00:00'
Scripts in this repo...
I hereby claim:
To claim this, I am signing this object:
/* | |
ONE_LINER: Creates images from URL's in the Circle CI Artirfacts tab! | |
FULL_DESCRIPTION: | |
1. Turns '.png' url's in the Circle CI Artifacts tab into viewable images | |
a. Organizes the images into sections, based off of their test file names | |
b. Renders the images with spacing, and outlines based off of their test names | |
- Example: [beforeEach, some named screenshot, some other named screenshot, afterEach] | |
c. Adds buttons to scale up/down the images for individual sections | |
2. Acts as a bookmarket for your Circle CI project |
// FINISH ME | |
type Unit struct { | |
Id int | |
Location Location | |
UserRating float64 | |
PriceInCents int | |
} | |
type Location struct { | |
Lat float64 |