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
# sudoku solver using backtracking / recursion | |
import os | |
import sys | |
import glob | |
import json | |
import re | |
import math | |
import copy |
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 * as React from 'react'; | |
import { useEffect, useState } from 'react'; | |
import axios from 'axios'; | |
const API = 'https://icanhazdadjoke.com/'; | |
const headers = {accept: 'application/json'}; | |
interface Joke { | |
id: string; |
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
export S3_BUCKET='<enter s3 bucket>' | |
export PROFILE='<set your aws profile, or default>' | |
next build && next export | |
cd ./out | |
aws s3 cp . s3://${S3_BUCKET}/ --recursive --profile=${PROFILE} --exclude="*.html" --exclude=".git/*" --acl=public-read --cache-control max-age=7776000,public | |
aws s3 cp . s3://${S3_BUCKET}/ --recursive --profile=${PROFILE} --exclude "*" --include="*.html" --acl=public-read --cache-control max-age=600,public | |
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
Verifying that +davidhockley is my blockchain ID. https://onename.com/davidhockley |