Skip to content

Instantly share code, notes, and snippets.

@matsonj
matsonj / ShareLinkComponent.svelte
Last active November 21, 2024 21:38
An implementation of xmrit as a svelte component for Evidence.dev
<script context="module">
export const evidenceInclude = true;
</script>
<script lang="ts">
import { generateShareLink } from './shareLink';
export let xLabel = "date";
export let yLabel = "value";
export let xdata = [];
@matsonj
matsonj / pr_to_master.yml
Last active January 30, 2024 17:35
Running dbt-core with github actions
name: pr_to_master
on:
pull_request:
branches:
- master
env:
DBT_PROFILES_DIR: ./
MSSQL_USER: ${{ secrets.MSSQL_USER }}
@matsonj
matsonj / load2azure.py
Last active July 4, 2023 17:30
load arbitrary files to azure blob & delete them from local
# exec with `python3 load2azure.py`
import os
import argparse
import logging
from azure.storage.blob import BlobServiceClient, BlobClient
from dotenv import load_dotenv
# load env variables
load_dotenv()