Skip to content

Instantly share code, notes, and snippets.

@jkukul
jkukul / validate.yml
Created November 8, 2022 16:53
Example GitHub Actions workflow to validate Looker's LookML syntax and content
name: Validate Looker's LookML and Content
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
@jkukul
jkukul / march_madness.py
Last active March 16, 2021 03:01
Script to calculate your current score in Kaggle's March madness competition.
# python3
#
# Example usage:
# python get_score.py --gender M --submissions-file SampleSubmissionStage2.csv
#
# TeamSpellings.csv and/or WTeamSpellings.csv file must be present in the current directory
import argparse
from math import log
import pandas as pd