Skip to content

Instantly share code, notes, and snippets.

View shaniber's full-sized avatar
🌮

shane doucette shaniber

🌮
View GitHub Profile
@shaniber
shaniber / wordle.md
Created February 2, 2022 15:26 — forked from huytd/wordle.md
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

#!/bin/bash
# A simple script to make live backups of an organization's GitHub repositories.
# Where to store the backup files
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"==/FULL/PATH/TO/BACKUPDIR=="}
# The GitHub organization whose repos will be backed up
GHBU_ORG=${GHBU_ORG-"==ORGANIZATION=="}
# GitHub API token.
#!/bin/bash
# Locate our phpunit.
phpunit=`which phpunit`
# Define a location to save the output.
outputlog="/tmp/phpunit_output_`date +%s`.log"
# Get name of the project (probably topmost directory name).
projectname=${PWD##*/}