-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy exploiitm/blog to exploiitm/blog:gh-pages
- Loading branch information
GitHub Actions
committed
Jul 2, 2024
0 parents
commit 4bac90a
Showing
27 changed files
with
3,310 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><title>404 Not Found</title><h1>404 Not Found</h1> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><meta charset=utf-8><link href=https://exploiitm.github.io/blog/ContactUs/ rel=canonical><meta content="0; url=https://exploiitm.github.io/blog/ContactUs/" http-equiv=refresh><title>Redirect</title><p><a href=https://exploiitm.github.io/blog/ContactUs/>Click here</a> to be redirected. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><title>Contact Us</title><meta content="Contact Us" name=title><meta content=exploiitm name=author><meta content="Official blog of Cybersecurity Club, IIT Madras" name=description><meta content=website property=og:type><meta content=https://exploiitm.github.io/blog/ContactUs/ property=og:url><meta content="exploiitm blog" property=og:site_name><meta content="Contact Us" property=og:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=og:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://exploiitm.github.io/blog/ContactUs/ property=twitter:url><meta content="Contact Us" property=twitter:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=twitter:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=twitter:image><link href=https://exploiitm.github.io/blog/ContactUs/ rel=canonical><link rel="shortcut icon" href=https://exploiitm.github.io/blog/favicon.ico type=image/x-icon><link href=https://speyll.github.io/suCSS/reset-min.css rel=stylesheet><link href=https://speyll.github.io/suCSS/suCSS-min.css rel=stylesheet><link href=https://exploiitm.github.io/blog/css/style.css rel=stylesheet><script defer src=https://exploiitm.github.io/blog/js/script.js></script><body><header><nav id=nav-bar><a href=https://exploiitm.github.io/> home </a><a href=/blog> blog </a><a href=/blog/writeups> writeups </a><a href=/blog/about> about </a><div><input id=theme-toggle style=display:none type=checkbox><label for=theme-toggle id=theme-toggle-label><svg class=icons id=theme-icon><use href=https://exploiitm.github.io/blog/icons.svg#lightMode></use></svg></label><audio id=theme-sound><source src=https://exploiitm.github.io/blog/click.ogg type=audio/ogg></audio></div></nav></header><main><h1>Contact Us</h1><blockquote><p>List of all <em><a href=/blog/tags>tags</a></em></blockquote><ul class=title-list></ul><div class=accent-data> 1 / 1 </div></main><footer><hr><div class=footContainer><div class=footLeft><p>Licensed under <a rel="noopener noreferrer" href=https://fr.wikipedia.org/wiki/Licence_MIT target=_blank>MIT</a><br></div><div class=footRight><img class="footGif noStyle" alt=footGif loading=lazy src=https://i.ibb.co/XYDpfcs/foot.gif><a rel="noopener noreferrer" title="Subscribe via RSS for updates." class=metaData href=https://exploiitm.github.io/blog/atom.xml target=_blank>RSS</a></div></div></footer> |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
#nav-bar { | ||
padding: .925rem 0 0 0; | ||
display: flex; | ||
flex-direction: row; | ||
gap: 1.00rem; | ||
flex-wrap: wrap; | ||
justify-content: flex-end; | ||
align-items: center; | ||
align-content: flex-end | ||
} | ||
|
||
#footer-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.accent-data { | ||
color: var(--accent); | ||
} | ||
|
||
.theme-transition { | ||
transition: color 0.3s ease, background-color 0.3s ease; | ||
} | ||
|
||
.tags-data { | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: wrap; | ||
justify-content: flex-end; | ||
align-items: flex-start; | ||
align-content: flex-end | ||
} | ||
|
||
.title-list li { | ||
margin-bottom: .375rem; | ||
} | ||
|
||
/* icons settings */ | ||
.icons { | ||
width: 1.3rem; | ||
height: 1.3rem; | ||
aspect-ratio: 1/1; | ||
display: inline-block; | ||
vertical-align: middle; | ||
color: var(--text); | ||
fill: var(--text); | ||
background-color: transparent; | ||
cursor: pointer; | ||
} | ||
|
||
.icons:hover { | ||
background-color: transparent; | ||
color: var(--accent); | ||
} | ||
|
||
/* footnotes */ | ||
.footnote-definition { | ||
margin: 0 0 0 .125rem; | ||
} | ||
|
||
.footnote-definition-label { | ||
color: var(--accent); | ||
} | ||
|
||
.footnote-definition p { | ||
display: inline; | ||
margin: .625rem 0 0 .625rem; | ||
} | ||
|
||
/* general classes */ | ||
.no-style { | ||
padding: 10; | ||
margin: 10; | ||
border: none; | ||
border-radius: 0 | ||
} | ||
|
||
.no-style:hover { | ||
background-color: transparent; | ||
color: var(--accent); | ||
} | ||
|
||
.center { | ||
text-align: center; | ||
} | ||
|
||
.center img { | ||
display: block; | ||
margin: 1rem auto; | ||
} | ||
|
||
.float-right { | ||
float: right | ||
} | ||
|
||
.float-left { | ||
float: left | ||
} | ||
|
||
/* shortcodes css */ | ||
.webring { | ||
margin: .375rem; | ||
} |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><title>exploiitm blog</title><meta content="exploiitm blog" name=title><meta content=exploiitm name=author><meta content="Official blog of Cybersecurity Club, IIT Madras" name=description><meta content=website property=og:type><meta content=https://exploiitm.github.io/blog/ property=og:url><meta content="exploiitm blog" property=og:site_name><meta content="exploiitm blog" property=og:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=og:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://exploiitm.github.io/blog/ property=twitter:url><meta content="exploiitm blog" property=twitter:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=twitter:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=twitter:image><link href=https://exploiitm.github.io/blog/ rel=canonical><link rel="shortcut icon" href=https://exploiitm.github.io/blog/favicon.ico type=image/x-icon><link href=https://speyll.github.io/suCSS/reset-min.css rel=stylesheet><link href=https://speyll.github.io/suCSS/suCSS-min.css rel=stylesheet><link href=https://exploiitm.github.io/blog/css/style.css rel=stylesheet><script defer src=https://exploiitm.github.io/blog/js/script.js></script><body><header><nav id=nav-bar><a href=https://exploiitm.github.io/> home </a><a href=/blog> blog </a><a href=/blog/writeups> writeups </a><a href=/blog/about> about </a><div><input id=theme-toggle style=display:none type=checkbox><label for=theme-toggle id=theme-toggle-label><svg class=icons id=theme-icon><use href=https://exploiitm.github.io/blog/icons.svg#lightMode></use></svg></label><audio id=theme-sound><source src=https://exploiitm.github.io/blog/click.ogg type=audio/ogg></audio></div></nav></header><main><h2 id=blog>Blog</h2><p>Official blog of Cybersecurity Club, IIT Madras.<blockquote><p><em>“It’s not a bug, it’s a feature”</em></blockquote><h2 id=posts>Posts</h2><ul><li><a href=https://exploiitm.github.io/blog/./posts/summer_school>Summer School</a><li><a href=https://exploiitm.github.io/blog/./posts>View all posts</a></ul><h2 id=resources>Resources</h2><ul><li><a href=https://exploiitm.github.io/blog/./resources/resource1>Basic Python Programming</a></ul><h2 id=tags>Tags</h2><ul><li>Explore articles through <em><a href=/blog/tags>tags</a></em></ul></main><footer><hr><div class=footContainer><div class=footLeft><p>Licensed under <a rel="noopener noreferrer" href=https://fr.wikipedia.org/wiki/Licence_MIT target=_blank>MIT</a><br></div><div class=footRight><img class="footGif noStyle" alt=footGif loading=lazy src=https://i.ibb.co/XYDpfcs/foot.gif><a rel="noopener noreferrer" title="Subscribe via RSS for updates." class=metaData href=https://exploiitm.github.io/blog/atom.xml target=_blank>RSS</a></div></div></footer> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
const toggleButton = document.getElementById('theme-toggle'); | ||
const themeIcon = document.getElementById('theme-icon'); | ||
const themeSound = document.getElementById('theme-sound'); | ||
|
||
// Function to update the theme icon based on the current theme | ||
const updateThemeIcon = (isDarkMode) => { | ||
const themeMode = isDarkMode ? 'darkMode' : 'lightMode'; | ||
const iconPath = themeIcon.querySelector('use').getAttribute('href').replace(/#.*$/, `#${themeMode}`); | ||
themeIcon.querySelector('use').setAttribute('href', iconPath); | ||
}; | ||
|
||
// Function to update the theme based on the current mode | ||
const updateTheme = (isDarkMode) => { | ||
const theme = isDarkMode ? 'dark' : 'light'; | ||
document.documentElement.setAttribute('data-theme', theme); | ||
updateThemeIcon(isDarkMode); | ||
}; | ||
|
||
// Function to toggle the theme | ||
const toggleTheme = () => { | ||
const isDarkMode = toggleButton.checked; | ||
updateTheme(isDarkMode); | ||
themeSound.play(); | ||
localStorage.setItem('theme', isDarkMode ? 'dark' : 'light'); | ||
|
||
// Add transition class to body for smooth transition | ||
document.body.classList.add('theme-transition'); | ||
setTimeout(() => { | ||
document.body.classList.remove('theme-transition'); | ||
}, 300); | ||
}; | ||
|
||
// Event listener for theme toggle | ||
toggleButton.addEventListener('change', toggleTheme); | ||
|
||
// Function to initialize the theme based on the stored preference | ||
const initializeTheme = () => { | ||
const storedTheme = localStorage.getItem('theme'); | ||
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches; | ||
const isDarkMode = storedTheme === 'dark' || (!storedTheme && prefersDark); | ||
toggleButton.checked = isDarkMode; | ||
updateTheme(isDarkMode); | ||
}; | ||
|
||
// Initialize the theme | ||
initializeTheme(); | ||
|
||
// Listen for changes in system preference | ||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', initializeTheme); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><title>All posts</title><meta content="All posts" name=title><meta content=exploiitm name=author><meta content="Official blog of Cybersecurity Club, IIT Madras" name=description><meta content=website property=og:type><meta content=https://exploiitm.github.io/blog/posts/ property=og:url><meta content="exploiitm blog" property=og:site_name><meta content="All posts" property=og:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=og:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://exploiitm.github.io/blog/posts/ property=twitter:url><meta content="All posts" property=twitter:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=twitter:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=twitter:image><link href=https://exploiitm.github.io/blog/posts/ rel=canonical><link rel="shortcut icon" href=https://exploiitm.github.io/blog/favicon.ico type=image/x-icon><link href=https://speyll.github.io/suCSS/reset-min.css rel=stylesheet><link href=https://speyll.github.io/suCSS/suCSS-min.css rel=stylesheet><link href=https://exploiitm.github.io/blog/css/style.css rel=stylesheet><script defer src=https://exploiitm.github.io/blog/js/script.js></script><body><header><nav id=nav-bar><a href=https://exploiitm.github.io/> home </a><a href=/blog> blog </a><a href=/blog/writeups> writeups </a><a href=/blog/about> about </a><div><input id=theme-toggle style=display:none type=checkbox><label for=theme-toggle id=theme-toggle-label><svg class=icons id=theme-icon><use href=https://exploiitm.github.io/blog/icons.svg#lightMode></use></svg></label><audio id=theme-sound><source src=https://exploiitm.github.io/blog/click.ogg type=audio/ogg></audio></div></nav></header><main><h1>All posts</h1><blockquote><p>List of all <em><a href=/blog/tags>tags</a></em></blockquote><ul class=title-list><li><a href=https://exploiitm.github.io/blog/posts/summer_school/>Summer School 2024</a></ul><div class=accent-data> 1 / 1 </div></main><footer><hr><div class=footContainer><div class=footLeft><p>Licensed under <a rel="noopener noreferrer" href=https://fr.wikipedia.org/wiki/Licence_MIT target=_blank>MIT</a><br></div><div class=footRight><img class="footGif noStyle" alt=footGif loading=lazy src=https://i.ibb.co/XYDpfcs/foot.gif><a rel="noopener noreferrer" title="Subscribe via RSS for updates." class=metaData href=https://exploiitm.github.io/blog/atom.xml target=_blank>RSS</a></div></div></footer> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><meta charset=utf-8><link href=https://exploiitm.github.io/blog/posts/ rel=canonical><meta content="0; url=https://exploiitm.github.io/blog/posts/" http-equiv=refresh><title>Redirect</title><p><a href=https://exploiitm.github.io/blog/posts/>Click here</a> to be redirected. |
Oops, something went wrong.