[Modify] Typo Fix And Refactoring

This commit is contained in:
Kanani Nirav
2024-05-13 17:36:27 +09:00
parent 7cefb85e5b
commit 80458e021b
7 changed files with 112 additions and 113 deletions

View File

@@ -63,9 +63,9 @@ Each Section contains a number of units. **Below Table Link** containing informa
**[Buy Study Notes PDF](https://www.buymeacoffee.com/kananinirav/e/151079)**      
**[Buy Practice Exams PDF](https://www.buymeacoffee.com/kananinirav/e/174069)**
Purchase an PDF on Kindle and adjust your region settings for the most favorable price based on your location: **[Kindle Edition](https://a.co/d/bvPmN94) (free for kindle unlimited users)**
Purchase a PDF on Kindle and adjust your region settings for the most favorable price based on your location: **[Kindle Edition](https://a.co/d/bvPmN94) (For kindle unlimited users)**
Purchase an PDF on **Google Play Book**: [AWS Cloud Practitioner Study Notes PDF](https://play.google.com/store/books/details?id=A4rSEAAAQBAJ)
Purchase a PDF on **Google Play Book**: [AWS Cloud Practitioner Study Notes PDF](https://play.google.com/store/books/details?id=A4rSEAAAQBAJ)
## Other AWS And Azure Certification Notes

View File

@@ -1,4 +1,7 @@
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico">
<link href="{{ site.baseurl }}/assets/css/custom.css" rel="stylesheet">
<script src="{{ site.baseurl }}/assets/js/custom.js"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JMDDTT0Y7C"></script>
<script>
@@ -11,110 +14,3 @@
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7252354354222007"
crossorigin="anonymous" onerror="adBlockFunction();"></script>
<!-- detect Ad-Blocker and display error pop up -->
<script>
function adBlockFunction() {
console.log('Add Blocker Detected');
let adp_underlay = document.createElement('div');
adp_underlay.className = 'adp-underlay';
document.body.appendChild(adp_underlay);
let adp = document.createElement('div');
adp.className = 'adp';
adp.innerHTML = `
<image src='./exclamation-mark.png' class='img' />
<h2>AdBlock Detected!</h2>
<p>Sorry. We detected that you have activated Ad-Blocker. <br />
Please Consider supporting us by disabling your Ad-Blocker It helps us in maintaining this website.<br />
To View the content disable Ad-Blocker and refresh the page. Thank You !!!</p>
`;
document.body.appendChild(adp);
adp.querySelector('a').onclick = e => {
e.preventDefault();
document.body.removeChild(adp_underlay);
document.body.removeChild(adp);
};
}
function uBlockActive(){
if ( window.adsbygoogle.push.length > 0) {
return false
}
adBlockFunction();
}
</script>
<style>
.img{
height: 2rem;
width: 2rem;
}
.adp {
display: flex;
box-sizing: border-box;
flex-flow: column;
position: fixed;
z-index: 99999;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 22rem;
height: 20rem;
background-color: #ffffff;
padding: 20px;
border-radius: 5px;
align-items: center;
}
.adp h2 {
border-bottom: 1px solid #eee;
margin: 0;
padding: 15px 0;
}
.adp p {
flex-grow: 1;
}
.adp a {
display: block;
text-decoration: none;
width: 100%;
background-color: #366ed8;
text-align: center;
padding: 10px;
box-sizing: border-box;
color: #ffffff;
border-radius: 5px;
}
.adp a:hover {
background-color: #3368cc;
}
.adp-underlay {
background-color: rgba(0, 0, 0, 0.8);
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 99998;
}
details summary {
cursor: pointer;
background: #159957b5;
color: white;
border-radius: 1rem;
padding-left: 1rem;
margin-bottom: 1rem;
}
#bmc-wbtn {
position: fixed !important;
bottom: 100px !important;
right: 20px !important;
z-index: 9999 !important;
}
@media (max-width: 1024px) {
#bmc-wbtn {
display: none !important;
}
}
.hide-star{
display: none
}
</style>

View File

@@ -32,7 +32,7 @@
{{ content }}
{% if page.link %}
<p> <strong>Download PDF :</strong> &nbsp; &nbsp;
<p> <strong>You Can Purchase PDF :</strong> &nbsp; &nbsp;
<strong><a href="https://www.buymeacoffee.com/kananinirav/e/151079" target="blank">AWS Cloud Practitioner Study Notes (PDF)</a></strong> </p>
{% endif %}

74
assets/css/custom.css Normal file
View File

@@ -0,0 +1,74 @@
.img{
height: 2rem;
width: 2rem;
}
.adp {
display: flex;
box-sizing: border-box;
flex-flow: column;
position: fixed;
z-index: 99999;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 22rem;
height: 20rem;
background-color: #ffffff;
padding: 20px;
border-radius: 5px;
align-items: center;
}
.adp h2 {
border-bottom: 1px solid #eee;
margin: 0;
padding: 15px 0;
}
.adp p {
flex-grow: 1;
}
.adp a {
display: block;
text-decoration: none;
width: 100%;
background-color: #366ed8;
text-align: center;
padding: 10px;
box-sizing: border-box;
color: #ffffff;
border-radius: 5px;
}
.adp a:hover {
background-color: #3368cc;
}
.adp-underlay {
background-color: rgba(0, 0, 0, 0.8);
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 99998;
}
details summary {
cursor: pointer;
background: #159957b5;
color: white;
border-radius: 1rem;
padding-left: 1rem;
margin-bottom: 1rem;
}
#bmc-wbtn {
position: fixed !important;
bottom: 100px !important;
right: 20px !important;
z-index: 9999 !important;
}
@media (max-width: 1024px) {
#bmc-wbtn {
display: none !important;
}
}
.hide-star{
display: none
}

29
assets/js/custom.js Normal file
View File

@@ -0,0 +1,29 @@
// detect Ad-Blocker and display error pop up
function adBlockFunction() {
console.log('Add Blocker Detected');
let adp_underlay = document.createElement('div');
adp_underlay.className = 'adp-underlay';
document.body.appendChild(adp_underlay);
let adp = document.createElement('div');
adp.className = 'adp';
adp.innerHTML = `
<image src='./exclamation-mark.png' class='img' />
<h2>AdBlock Detected!</h2>
<p>Sorry. We detected that you have activated Ad-Blocker. <br />
Please Consider supporting us by disabling your Ad-Blocker It helps us in maintaining this website.<br />
To View the content disable Ad-Blocker and refresh the page. Thank You !!!</p>
`;
document.body.appendChild(adp);
adp.querySelector('a').onclick = e => {
e.preventDefault();
document.body.removeChild(adp_underlay);
document.body.removeChild(adp);
};
}
function uBlockActive() {
if (window.adsbygoogle.push.length > 0) {
return false
}
adBlockFunction();
}

View File

@@ -2,7 +2,7 @@
- [EC2: Virtual Machines](#ec2-virtual-machines)
- [What is Amazon EC2?](#what-is-amazon-ec2)
- [EC2 sizing & configuration options](#ec2-sizing--configuration-options)
- [EC2 sizing \& configuration options](#ec2-sizing--configuration-options)
- [EC2 User Data](#ec2-user-data)
- [EC2 Instance Types - Overview](#ec2-instance-types---overview)
- [General Purpose](#general-purpose)
@@ -231,7 +231,7 @@ t2.micro is part of the AWS free tier (up to 750 hours per month)
### Dedicated Hosts
- A physical server with EC2 instance capacity fully dedicated to your use
- Allows you address compliance requirements and use your existing server- bound software licenses (per-socket, per-core, pe—VM software licenses)
- Allows you to address compliance requirements and use your existing server- bound software licenses (per-socket, per-core, pe—VM software licenses)
- Purchasing Options:
- On-demand pay per second for active Dedicated Host
- Reserved - 1 or 3 years (No Upfront, Partial Upfront, All Upfront)