Team | League | First | Last |
---|---|---|---|
Boomers | Legends | Hank | Aaron |
Boomers | Legends | Dick | Allen |
Boomers | Legends | Vida | Blue |
Boomers | Legends | Cecil | Cooper |
Boomers | Legends | Tom | Herr |
Boomers | Legends | Tommy | John |
Boomers | Legends | Carney | Lansford |
Boomers | Legends | Frank | Linzy |
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
const PLAYER_MARKS = ["X", "O"]; | |
const EMPTY = ""; | |
const checkWinner = (moves, player) => | |
moves.every((c) => c === PLAYER_MARKS[player]); | |
const Board = ({ size }) => { | |
const [tiles, setTiles] = React.useState(new Array(size ** 2).fill(EMPTY)); | |
const [playerIdx, setPlayerIdx] = React.useState(1); | |
const [isWinner, setIsWinner] = React.useState(false); |
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
// when viewing a zoom recording on the web you can use this to export the transcripts | |
function scrape(htmlContent) { | |
const transcriptItems = htmlContent.querySelectorAll('.transcript-list-item'); | |
const chatArray = Array.from(transcriptItems).reduce((acc,item)=>{ | |
const user = item.querySelector('.user-profile-info')?.textContent.trim(); | |
const timestamp = item.querySelector('.time')?.textContent.trim(); | |
const chat = item.querySelector('.text')?.textContent.trim(); |
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
console.log("hey there!"); |
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
function operate(num1, num2, operand) { | |
switch (operand) { | |
case '-': | |
return num1 - num2; | |
case '*': | |
return num1 * num2; | |
case '/': | |
return num1 / num2; | |
default: | |
return num1 + num2; |
Download all the results from : https://drive.google.com/drive/u/0/folders/1RtlftwSAvzLRdTmpspko-ejrwEhGO6Rl
The group team photos I used are from: https://drive.google.com/drive/folders/12hVarUZZ0vGPNSmyXAUcjealuxE4EK4S
The team logos are available from Metalhead: https://www.dropbox.com/sh/47d8tahwogx9qcn/AAC8nU1NF5_hVSBeF9MzRzIza/Logos?dl=0&subfolder_nav_tracking=1
I had to take two photos of each team because one player is always highlighted which makes their image bigger. So for my script you have to separate these two team photos into a ./teams
and a ./first_players
folders.
Make sure a ./updated
directory als exists for the final images.
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
function groupThese(text) { | |
let idx = 0; | |
let count = 0; | |
const groups = {} | |
const re = new RegExp(/(?<=const |var |let )([^\s=]+)\s?=\s?["']?(#\w*)["']?/,"i"); | |
while (count < 10 && idx >= 0) { | |
const match = text.slice(idx).match(re) | |
if (match?.index) { | |
groups[match[1]] = match[2] |
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 | |
NEW_DIR=$1 # define folder/project name as command line argument | |
if [[ -z $NEW_DIR ]]; then # if no CLI argument provided then prompt for project name | |
echo "Give a directory name to create:" | |
read NEW_DIR | |
fi | |
ORIG_DIR=$(pwd) | |
[[ -d $NEW_DIR ]] && echo $NEW_DIR already exists, aborting && exit |
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
<html> | |
<link href="css/styles.css" type="text/css" rel="stylesheet" /> | |
<body> | |
<div class="content"> | |
<div class="half-container"> | |
<h3> | |
<span id="top-label">What Awaits? :</span | |
><span id="top-message"></span> | |
</h3> |
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
body { | |
margin: 0; | |
} | |
#forrest { | |
position: relative; | |
width: 100vw; | |
height: 100vh; | |
background-color: lightblue; | |
} |
NewerOlder