Skip to content

Instantly share code, notes, and snippets.

View Michael-Stokoe's full-sized avatar

Michael Stokoe Michael-Stokoe

  • Northumberland, United Kingdom
View GitHub Profile
@Michael-Stokoe
Michael-Stokoe / wordle.md
Created February 2, 2022 15:02 — forked from huytd/wordle.md
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

@Michael-Stokoe
Michael-Stokoe / setphp.sh
Last active August 26, 2021 18:22 — forked from judgej/setphp
bash script to switch between PHP versions in Plesk
# Installation: Add this file to the bottom of your ~/.bashrc
# Or: $ curl https://gist.githubusercontent.com/judgej/318b59b1e57867ffd2968dfa1521421a/raw >> ~/.bashrc
# Usage: $ setphp {version}
# Example: $ setphp 7.4
# It will look for the path to the current PHP version in your PATH and switch to
# the new PHP version.
# If you do not have a path to a php version, then it will add one.
# If the version you specify does not exist, it will list the versions that are available.