This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""This application experiments with the (grid) layout and some styling | |
Can we make a compact drequesthboard across several columns and with a dark theme?""" | |
from typing import List, Optional | |
import uuid | |
import snowflake.connector | |
import markdown | |
import pandas as pd | |
import streamlit as st | |
from plotly import express as px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//CREATE SCRIPT | |
create or replace TABLE BLOCKCHAIN_DEMO.PUBLIC.TXN_RECEIPT_DATA ( | |
SCR VARIANT | |
); | |
//TASK TO TRANSFORM DATA | |
CREATE OR REPLACE TASK TRANSFORM_DATA | |
USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE='SMALL' | |
WHEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
from web3 import Web3 | |
import numpy as np | |
import json | |
from eth_abi import abi | |
import pandas as pd | |
from snowflake.connector.pandas_tools import pd_writer | |
from sqlalchemy import create_engine | |
from hexbytes import HexBytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: run.tanzu.vmware.com/v1alpha1 #tkg api endpoint | |
kind: TanzuKubernetesCluster #required parameter | |
metadata: | |
name: {{CLUSTER_NAME}} #cluster name, user defined | |
namespace: {{GUEST_CLUSTER_NS}} #supervisor namespace | |
spec: | |
distribution: | |
version: v1.16.8 #resolved kubernetes version | |
topology: | |
controlPlane: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: mongodb-standalone | |
spec: | |
serviceName: database | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: database |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ |