Skip to content

Instantly share code, notes, and snippets.

View mmazur's full-sized avatar

Mariusz Mazur mmazur

View GitHub Profile
#!/usr/bin/python3
import numpy as np
from time import perf_counter
from pandas import to_datetime, Series
from datetime import datetime
fromtimestamp = datetime.fromtimestamp
@mmazur
mmazur / setup-crc.sh
Last active March 29, 2022 09:40
CRC on centos8 setup
#!/bin/bash
cd $HOME
mkdir ~/bin
# Downloading stuff will take a while:
curl https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz -Lo oc.tar.gz
curl https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz -Lo crc-linux-amd64.tar.xz
tar xf oc.tar.gz