Skip to content

Instantly share code, notes, and snippets.

View emekaorjiani's full-sized avatar
🎯
Focusing

DoctorVee Orjiani emekaorjiani

🎯
Focusing
View GitHub Profile
@emekaorjiani
emekaorjiani / gist:98817d25bb3202ef7720c0ac46a2acb9
Created September 18, 2020 19:23 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@emekaorjiani
emekaorjiani / domain-to-aws-ec2-instance.md
Created February 22, 2020 12:49 — forked from keithweaver/domain-to-aws-ec2-instance.md
Point Domain to Amazon Web Services (AWS) EC2 Instance

Point Domain to Amazon Web Services (AWS) EC2 Instance

  1. Open the Amazon Route 53 console at https://console.aws.amazon.com/route53/.
  2. If you are new to Amazon Route 53, you see a welcome page; choose Get Started Now for DNS Management. Otherwise, choose Hosted Zones in the navigation pane.
  3. Choose Create Hosted Zone.
  4. For Domain Name, type your domain name.
  5. Choose Create.
  6. Click the Hosted Zone, edit record set.
  7. In the value, add ec2-54-152-134-146.compute-1.amazonaws.com.
  8. Change your DNS file to point to the IPv4 address (This would be in something like GoDaddy).
@emekaorjiani
emekaorjiani / Instructions.sh
Created December 26, 2019 00:34 — 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
@emekaorjiani
emekaorjiani / index.html
Created May 29, 2018 10:34
Learning Front End
<div class="container">
<div class="jumbotron">
<div class="row">
<div class="col-xs-12">
<h1 class="text-center"> Chinua Achebe </h1>
<h2 class="text-center"><em>The Man who changed literature in Nigeria</em></h2>
<div class="thumbnail"><img src="https://www.theparisreview.org/il/e4b8f842fe/large/Chinua-Achebe.jpg">
</div>
@emekaorjiani
emekaorjiani / Laravel on VestaCP.md
Created March 14, 2018 04:01 — forked from peterbrinck/Laravel on VestaCP.md
Laravel web templates for VestaCP

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html

@emekaorjiani
emekaorjiani / MongoDB_macOS_Sierra.md
Created February 10, 2018 06:42 — forked from nrollr/MongoDB_macOS_Sierra.md
Install MongoDB on Sierra using Homebrew

Install MongoDB on macOS Sierra

This procedure explains how to install MongoDB using Homebrew on macOS Sierra 10.12.
Official MongoDB install documentation: here

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"