Skip to content

Instantly share code, notes, and snippets.

View Justicea83's full-sized avatar
🎯
Focusing

Justice Arthur Justicea83

🎯
Focusing
View GitHub Profile
@Justicea83
Justicea83 / jwt.mo
Created August 14, 2024 19:24
JWT Library
import Array "mo:base/Array";
import Blob "mo:base/Blob";
import Buffer "mo:base/Buffer";
import Nat8 "mo:base/Nat8";
import Text "mo:base/Text";
import Time "mo:base/Time";
import Base64 "mo:encoding/Base64";
import JSON "mo:json/JSON";
import CRC32 "mo:hash/CRC32";
#!/bin/bash
#!/bin/bash
echo "Waiting for docker daemon to start up:"
until docker ps 2>&1| grep STATUS>/dev/null; do sleep 1; done; >/dev/null
docker ps -a | grep sandbox-hdp
if [ $? -eq 0 ]; then
docker start sandbox-hdp
else