Skip to content

Instantly share code, notes, and snippets.

View AsaoluElijah's full-sized avatar

Asaolu Elijah AsaoluElijah

View GitHub Profile
@AsaoluElijah
AsaoluElijah / meta-tags.md
Created January 3, 2020 00:49 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@AsaoluElijah
AsaoluElijah / readtimecount.md
Last active September 26, 2020 23:42
Calculate Reading Time With PHP - Asaolu Elijah

Calculate Text/Article Reading Time With PHP

    $wordsPerMinute = 200; // Set Average Word Per Minute 
    $word = "This is an example of a very long text!";
    $textLength = explode(" ", $word); // Split word by spaces(this will return an array)
    $textLength = sizeof($textLength); // Get the size of the returned array
    $result = $textLength / $wordsPerMinute;
    $result = ceil($result); // Convert result to integer -- If a double value like 2.7 is returened, it will convert it to 3
 echo $result."min";
@AsaoluElijah
AsaoluElijah / README-Template.md
Created December 22, 2019 07:32 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

// Our Animal Class
class Animal{
// A class method
sayHello(){
console.log('Hello World');
}
}
// Creating a new object
const dog = new Animal;
dog.sayHello(); //Hello World
// Animal Class
class Animal{
// A class method
sayHello(){
console.log('Hello World');
}
}
// Goat class
class Cat extends Animal{
favSport(){
class Animal{
sayHello(){
console.log('Hello World');
}
}
<head>
<meta charset="utf-8">
<meta name="description" content="Example page for stars and clouds background">
<meta name="keywords" content="web design, web programming, web development, web animation, merexcursion, kelly meyers">
<meta name="author" content="Kelly Meyers">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Stars and Clouds Background</title>
@AsaoluElijah
AsaoluElijah / lname.png
Last active June 6, 2019 11:11
Last Name ❤️
Last Name ❤️
@AsaoluElijah
AsaoluElijah / fname.png
Last active June 6, 2019 11:03
First Name ❤️
fname.png
@AsaoluElijah
AsaoluElijah / code.gif
Last active June 4, 2019 13:29
Available for remote gigs 😊
code.gif