Skip to content

Instantly share code, notes, and snippets.

@thunter1000
thunter1000 / CertCheck.mjs
Last active August 18, 2023 14:12
Batch Certificate Expiry Checker
#!/usr/bin/env zx
$.verbose = false;
// Script for batch checking certificate expiry. Primaraly for Kubernetes, but accepts a piped list of domains to check.
// All domains need to be reachable from the machine running the script.
// Requires:
// - Openssl
// - https://github.com/google/zx
// - kubectl & yq if using the example usage.
// - timeout (requires coreutils installing on MacOS)
@thunter1000
thunter1000 / Example Redirect
Created April 27, 2020 14:30
Example Redirect
import React, { useState } from "react"
import Container from "@material-ui/core/Container"
import CssBaseline from "@material-ui/core/CssBaseline"
import { makeStyles } from "@material-ui/core/styles"
import { TextField, Button, Typography } from "@material-ui/core"
import { useFirebase } from "react-redux-firebase"
import { useSelector } from "react-redux"
import { useParams, Redirect } from "react-router-dom"
const useStyles = makeStyles((theme) => ({
@thunter1000
thunter1000 / keybase.md
Created October 10, 2018 09:42
Keybase Proof of GitHub Account

Keybase proof

I hereby claim:

  • I am thunter1000 on github.
  • I am thunter1000 (https://keybase.io/thunter1000) on keybase.
  • I have a public key ASDm6EkSF8DlCpXJZ-L5H4AyDUVcCHk-Nx3XV0Dh4gS59wo

To claim this, I am signing this object: