This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'PHPMailerAutoload.php'; | |
$mail = new PHPMailer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ifModule mod_headers.c> | |
# One year for image and video files | |
<filesMatch ".(flv|gif|ico|jpg|jpeg|mp4|mpeg|png|svg|swf|webp)$"> | |
Header set Cache-Control "max-age=31536000, public" | |
</filesMatch> | |
# One month for JavaScript and PDF files | |
<filesMatch ".(js|pdf)$"> | |
Header set Cache-Control "max-age=2592000, public" | |
</filesMatch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable caching | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault "access plus 1 month" | |
# Set specific expiration times for different file types | |
ExpiresByType image/jpeg "access plus 1 year" | |
ExpiresByType image/png "access plus 1 year" | |
ExpiresByType image/gif "access plus 1 year" | |
ExpiresByType text/css "access plus 1 month" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/plain | |
AddOutputFilterByType DEFLATE text/html | |
AddOutputFilterByType DEFLATE text/xml | |
AddOutputFilterByType DEFLATE text/css | |
AddOutputFilterByType DEFLATE application/xml | |
AddOutputFilterByType DEFLATE application/xhtml+xml | |
AddOutputFilterByType DEFLATE application/rss+xml | |
AddOutputFilterByType DEFLATE application/javascript | |
AddOutputFilterByType DEFLATE application/x-javascript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container-tight mt-5 mb-4"> | |
<div class="card card-md"> | |
<div class="card-body"> | |
<h1 class="text-center mb-3">Speedy Math</h1> | |
<label for="question"></label> | |
<input class="form-control col-12 ml-2" type="number" placeholder="(generate)" id="question" readonly></input><h4 class="text-center mt-2 mr-2 ml-2"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-x" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></h4> | |
<input class="form-control col-12" type="number" id="question1" placeholder="(generate)" readonly></input></center> | |
<p for="answer" class="h2 text-center mt-3">Answer <img src="https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/micros |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Built By RoyalityFree | Codes Initiative | |
const quoteText = document.querySelector(".quote"), | |
quoteBtn = document.querySelector("button"), | |
authorName = document.querySelector(".name"), | |
speechBtn = document.querySelector(".speech"), | |
copyBtn = document.querySelector(".copy"), | |
pingTwitter = document.querySelector(".twitter"), | |
synth = speechSynthesis; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Built By RoyalityFree | Codes Initiative */ | |
*{ | |
margin:0; | |
padding:0; | |
box-sizing:border-box; | |
font-family:poppins,sans-serif | |
} | |
body{ | |
display:flex; | |
align-items:center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<!-- Meta Tags Start, For Reference https://www.w3schools.com/tags/tag_meta.asp --> | |
<meta charset="utf-8"> | |
<meta name="description" content="Free random quotes generator, either inspirational or motivational."> | |
<meta name="keywords" content="quotes, random quotes, random quote generator"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="msapplication-TileColor" content="#ffffff"> | |
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const textarea = document.querySelector("textarea"), | |
voiceList = document.querySelector("select"), // Selection | |
speechBtn = document.querySelector("button"); | |
let synth = speechSynthesis, | |
isSpeaking = true; | |
voices(); | |
function voices(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Built By RoyalityFree's Blog | Codes */ | |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap'); | |
*{ | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
font-family: 'Poppins', sans-serif; | |
} /*Applied Universally*/ | |
body{ |
NewerOlder