Skip to content

Instantly share code, notes, and snippets.

View AAdewunmi's full-sized avatar
🏠
Working from home

Adrian Adewunmi AAdewunmi

🏠
Working from home
View GitHub Profile
@AAdewunmi
AAdewunmi / install_pygame_mac.py
Created July 31, 2022 10:02
How to Install and Setup Pygame for Mac OSX
Install pip (package installer for python)
1. Open a terminal window and type:
$ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
2. Install Pygame:
Type into previously opened terminal:
$ sudo pip install pygame
3. Verify Installation
@AAdewunmi
AAdewunmi / README.md
Last active October 26, 2022 15:21
Colour Text For README.md

This code will change the colour of text / background of text in a README.md file.

$$\color{black}{Black}$$ $$\color{blue}{Blue}$$ $$\color{brown}{Brown}$$ $$\color{darkgray}{Darkgray}$$ $$\color{gray}{Gray}$$
$$\color{lightgray}{Lightgray}$$ $$\color{green}{Green}$$ $$\color{brown}{Brown}$$ $$\color{lime}{Lime}$$ $$\color{magenta}{Magenta}$$
$$\color{olive}{Olive}$$ $$\color{orange}{Orange}$$ $$\color{pink}{Pink}$$ $$\color{purple}{Purple}$$ $$\color{red}{Red}$$
$$\color{teal}{Teal}$$ $$\color{violet}{Violet}$$ $$\color{white}{White}$$ $$\color{yellow}{Yellow}$$ $$\color{BurntOrange}{MBurntOrange}$$
$$\color{white} \colorbox{Green} {White on Green} $$ $$\color{purple} \fcolorbox{red}{white} {Purple on White} $$ $$\color{black} \fcolorbox{white} {red} {Black on Red} $$ $$\color{black} \fcolorbox{red}{white} {Black on White} $$ $$\color{black} \colorbox{Bu