Skip to content

Instantly share code, notes, and snippets.

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

Baffour Adu Boampong BaffourAdu

🏠
Working from home
View GitHub Profile
@BaffourAdu
BaffourAdu / Common-Currency.json
Created October 10, 2019 22:34 — forked from ksafranski/Common-Currency.json
Common Currency Codes in JSON
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@BaffourAdu
BaffourAdu / Countries.php
Last active October 9, 2019 09:13
A list of world countries
$countries = [
[ "name" => "Afghanistan", "code" => "AF" ],
[ "name" => "Aland Islands", "code" => "AX" ],
[ "name" => "Albania", "code" => "AL" ],
[ "name" => "Algeria", "code" => "DZ" ],
[ "name" => "American Samoa", "code" => "AS" ],
[ "name" => "AndorrA", "code" => "AD" ],
[ "name" => "Angola", "code" => "AO" ],
[ "name" => "Anguilla", "code" => "AI" ],
[ "name" => "Antarctica", "code" => "AQ" ],
@BaffourAdu
BaffourAdu / example.html
Last active September 12, 2019 10:15
Form Validator
<!DOCTYPE html>
<html>
<head>
<title>Parcel Sandbox</title>
<meta charset="UTF-8" />
</head>
<body>
<br />
<hr />
@BaffourAdu
BaffourAdu / Instructions.sh
Created July 4, 2018 18:45 — forked from GhazanfarMir/Instructions.sh
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa