Skip to content

Commit

Permalink
deploy: 5199d9a
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLu2004 committed Dec 13, 2023
1 parent 18324d7 commit 8c94db6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion events/2023-2024/2023-12-13-calc-study-session/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=https://ccss.carleton.ca/css/styles.ed2e68b1487e1bb908cecfd543b99a3ce21f58ba7ef29efe5bb491f4e692c145a12652f1c0bd8fd46c41bb83b9cecde7cb780b432ef4c387895d05a8c94df225.css crossorigin=anonymous integrity="sha512-7S5osUh+G7kIzs/VQ7maPOIfWLp+8p7+W7SR9OaSwUWhJlLxwL2P1GxBu4O5zs3ny3gLQy70w4eJXQWoyU3yJQ=="><link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin=anonymous referrerpolicy=no-referrer><link rel=preconnect href=https://fonts.gstatic.com><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@600&display=swap" rel=stylesheet><link href=https://ccss.carleton.ca/favicon.ico rel=icon /><title>Carleton Computer Science Society | Calc Study Session</title><meta name=description content="December 13, 2023 | 1:00 - 3:00 PM EST | Come and practice for the final boss!"><meta property="og:type" content="website"><meta property="og:url" content="https://ccss.carleton.ca"><meta property="og:title" content="Carleton Computer Science Society | Calc Study Session"><meta property="og:description" content="December 13, 2023 | 1:00 - 3:00 PM EST | Come and practice for the final boss!"><meta property="og:image" content="https://ccss.carleton.ca/images/event_posters/2023-2024/calc_study_session.jpg"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://ccss.carleton.ca"><meta property="twitter:title" content="Carleton Computer Science Society | Calc Study Session"><meta property="twitter:description" content="December 13, 2023 | 1:00 - 3:00 PM EST | Come and practice for the final boss!"><meta property="twitter:image" content="https://ccss.carleton.ca/images/event_posters/2023-2024/calc_study_session.jpg"><meta http-equiv=cache-control content="no-cache"><link rel=apple-touch-icon href=images/ccss-logo-ios.png></head><body><div class=navbar-container><div class=navbar-wrapper><div class=navbar id=primary_nav_wrap><a href=https://ccss.carleton.ca/ class="nav-brand nav_item"><img src=/images/ccss-logo-2022.png class=navbar-logo alt="The logo of the Carleton Computer Science Society"></a><ul class=navbar-items><li><a href=/about>ABOUT</a><ul><li><a href=/about/team>THE TEAM</a></li><li><a href=/about/governance>GOVERNANCE</a></li></ul></li><li><a href=/events>EVENTS</a><ul><li><a href=/events/weekofawesome>WEEK OF AWESOME</a></li><li><a href=/hackthetunnels>HACK THE TUNNELS</a></li></ul></li><li><a href=/news>NEWS</a></li><li><a href=#>COMMUNITY</a><ul><li><a href=https://carletoncss.myshopify.com/products/2023-2024-ccss-hoodie>STORE</a></li><li><a href=/blog>BLOG</a></li><li><a href=/community/organizations>ORGANIZATIONS</a></li><li><a href=http://magazine.carletoncomputersciencesociety.ca/>MAGAZINE</a></li></ul></li><li><a href=/volunteer>VOLUNTEER</a></li><li><a href=https://resources.carletoncomputerscience.ca/>RESOURCES</a></li></ul><div class=mobile-hamburger><i class="fas fa-bars"></i></div></div></div></div><header class=header><a href=https://ccss.carleton.ca/ class="nav-brand nav_item"><img width=180px src=/images/ccss-logo-2022.png alt="The logo of the Carleton Computer Science Society"></a>
<input class=menu-btn type=checkbox id=menu-btn>
<label class=menu-icon for=menu-btn><span class=navicon></span></label><ul class=menu><li><a href=/about>ABOUT</a></li><li><a href=/events>EVENTS</a></li><li><a href=/events/weekofawesome>WEEK OF AWESOME</a></li><li><a href=/hackthetunnels>HACK THE TUNNELS</a></li><li><a href=https://carletoncss.myshopify.com/products/2023-2024-ccss-hoodie>SHOP</a></li><li><a href=/news>NEWS</a></li><li><a href=/blog>BLOG</a></li><li><a href=/volunteer>VOLUNTEER</a></li><li><a href=https://resources.carletoncomputerscience.ca/>RESOURCES</a></li></ul></header><script src=https://code.iconify.design/iconify-icon/1.0.0/iconify-icon.min.js></script><script type=text/javascript>function convertDateSingleDay(j,c){var b,i;const h=j.split("T")[0].split("-"),e=parseInt(h[0]),f=parseInt(h[1])-1,g=parseInt(h[2]);b=0,Date.prototype.stdTimezoneOffset=function(){var a=new Date(this.getFullYear(),0,1),b=new Date(this.getFullYear(),6,1);return Math.max(a.getTimezoneOffset(),b.getTimezoneOffset())},Date.prototype.isDstObserved=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()},i=new Date(e,f,g),i.isDstObserved()||(b=1);let d=parseInt(c.split(" ")[0].split(":")[0]),a=parseInt(c.split(" ")[2].split(":")[0]),k=parseInt(c.split(" ")[0].split(":")[1]),l=parseInt(c.split(" ")[2].split(":")[1]);"1:00 - 3:00 PM EST".includes("AM")||"1:00 - 3:00 PM EST".includes("PM")&&(a===12||a<d)?d+=4+b:d+=16+b,"1:00 - 3:00 PM EST".includes("AM")&&a!=12||"1:00 - 3:00 PM EST".includes("PM")&&a==12?a+=4+b:a+=16+b;const m=new Date(Date.UTC(e,f,g,d,k,0)),n=new Date(Date.UTC(e,f,g,a,l,0));return[m,n]}function convertDateMultiDay(d,e){const b={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sept:8,Oct:9,Nov:10,Dec:11},f=d.split("T")[0].split("-"),a=e.split(" - "),c=parseInt(f[0]),g=b[a[0].split(" ")[0]],h=parseInt(a[0].split(" ")[1]),i=b[a[1].split(" ")[0]],j=parseInt(a[1].split(" ")[1]),k=new Date(Date.UTC(c,g,h,4,0,0)),l=new Date(Date.UTC(c,i,j,4,0,0));return[k,l]}function generateGCalLink(b,c){let d=new URL("https://www.google.com/calendar/render?"),a=new URLSearchParams(d.search),e=`${b.getUTCFullYear()}${(b.getUTCMonth()+1).toString().padStart(2,"0")}${b.getUTCDate().toString().padStart(2,"0")}T${b.getUTCHours().toString().padStart(2,"0")}${b.getUTCMinutes().toString().padStart(2,"0")}00Z/`,f=`${c.getUTCFullYear()}${(c.getUTCMonth()+1).toString().padStart(2,"0")}${c.getUTCDate().toString().padStart(2,"0")}T${c.getUTCHours().toString().padStart(2,"0")}${c.getUTCMinutes().toString().padStart(2,"0")}00Z`,g=e+f;return a.append("action","TEMPLATE"),a.append("text","Calc Study Session"),a.append("details","Come and practice for the final boss!"),a.append("location","Math Tutorial Centre (HP 3422)"),a.append("dates",g),d+a}function generateOutlookLink(c,d){let b=new URL("https://outlook.live.com/calendar/0/deeplink/compose?"),a=new URLSearchParams(b.search);return a.append("allday","false"),a.append("body","Come and practice for the final boss!"),a.append("enddt",d.toISOString()),a.append("location","Math Tutorial Centre (HP 3422)"),a.append("path","/calendar/action/compose"),a.append("rru","addevent"),a.append("startdt",c.toISOString()),a.append("subject","Calc Study Session"),b+a}function generateAppleICSFile(a,b){let c=`${a.getUTCFullYear()}${(a.getUTCMonth()+1).toString().padStart(2,"0")}${a.getUTCDate().toString().padStart(2,"0")}T${a.getUTCHours().toString().padStart(2,"0")}${a.getUTCMinutes().toString().padStart(2,"0")}00Z`,d=`${b.getUTCFullYear()}${(b.getUTCMonth()+1).toString().padStart(2,"0")}${b.getUTCDate().toString().padStart(2,"0")}T${b.getUTCHours().toString().padStart(2,"0")}${b.getUTCMinutes().toString().padStart(2,"0")}00Z`,e="BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//ccss.carleton.ca//EN\nBEGIN:VEVENT\nSEQUENCE:0\nDTSTART:"+c+"\n"+"DTEND:"+d+"\n"+"SUMMARY:"+"Calc Study Session"+"\n"+"LOCATION:"+"Math Tutorial Centre (HP 3422)"+"\n"+"DESCRIPTION:"+"Come and practice for the final boss!"+"\n"+"END:VEVENT\n"+"END:VCALENDAR\n",f=new File([e],{type:"text/plain"});return window.URL.createObjectURL(f)}window.onload=function(){let a,b;const d=document.getElementById("g-cal-button"),e=document.getElementById("outlook-button"),c=document.getElementById("apple-button");"1:00 - 3:00 PM EST".includes("PM")||"1:00 - 3:00 PM EST".includes("AM")?[a,b]=convertDateSingleDay("2023-12-13T00:00:00Z","1:00 - 3:00 PM EST"):[a,b]=convertDateMultiDay("2023-12-13T00:00:00Z","1:00 - 3:00 PM EST"),d.href=generateGCalLink(a,b),e.href=generateOutlookLink(a,b),c.href=generateAppleICSFile(a,b),c.download="2023-12-13T00:00:00Z-Calc Study Session.ics"}</script><div class=event-page><section class=event_header style=background-image:url(https://ccss.carleton.ca/images/orientation2018-min.jpeg)></section><section class="event_header event_blur" style=background-image:url(https://ccss.carleton.ca/images/orientation2018-min.jpeg)></section><div class=event><div class=date_card_about><h3 style=text-align:center>DEC</h3><h2 style=text-align:center>13</h2><h3 style=text-align:center>2023</h3></div><div class=event_container><div class=event_container_poster style=background-image:url(https://ccss.carleton.ca/images/event_posters/2023-2024/calc_study_session.jpg);background-size:contain;background-position:50%></div><div class=event_container_content><div><h2>Calc Study Session</h2><p>Come and practice for the final boss!</p></div><div><div class=event-subtitle>START TIME</div><div class=event-time>1:00 - 3:00 PM EST</div></div><div><div class=event-subtitle>LOCATION</div><a href><button class=button>Math Tutorial Centre (HP 3422)</button></a></div><div><div class=event-subtitle>ADD TO CALENDAR</div><div class=calendar-icons><a id=g-cal-button target=_blank><iconify-icon class=hvr-float icon=akar-icons:google-fill style="color: #c40729;" width=30></iconify-icon></a><a id=outlook-button target=_blank><iconify-icon id=outlook-button class=hvr-float icon=file-icons:microsoft-outlook style="color: #c40729;" width=30></iconify-icon></a><a id=apple-button target=_blank><iconify-icon id=apple-button class=hvr-float icon=ant-design:apple-filled style="color: #c40729;" width=30></iconify-icon></a></div></div></div></div></div></div></body><div class=footer><div class=footer-text><p><b>Carleton Computer Science Society</b><br>4135 Herzberg Laboratories<br>1125 Colonel By Drive,<br>Ottawa, ON K1S 5B6<br><br>email: <a href=mailto:[email protected]>[email protected]</a></p></div><div class=footer-socials><a href=http://discord.carletoncomputersciencesociety.ca><i class="fab fa-discord"></i></a>
<label class=menu-icon for=menu-btn><span class=navicon></span></label><ul class=menu><li><a href=/about>ABOUT</a></li><li><a href=/events>EVENTS</a></li><li><a href=/events/weekofawesome>WEEK OF AWESOME</a></li><li><a href=/hackthetunnels>HACK THE TUNNELS</a></li><li><a href=https://carletoncss.myshopify.com/products/2023-2024-ccss-hoodie>SHOP</a></li><li><a href=/news>NEWS</a></li><li><a href=/blog>BLOG</a></li><li><a href=/volunteer>VOLUNTEER</a></li><li><a href=https://resources.carletoncomputerscience.ca/>RESOURCES</a></li></ul></header><script src=https://code.iconify.design/iconify-icon/1.0.0/iconify-icon.min.js></script><script type=text/javascript>function convertDateSingleDay(j,c){var b,i;const h=j.split("T")[0].split("-"),e=parseInt(h[0]),f=parseInt(h[1])-1,g=parseInt(h[2]);b=0,Date.prototype.stdTimezoneOffset=function(){var a=new Date(this.getFullYear(),0,1),b=new Date(this.getFullYear(),6,1);return Math.max(a.getTimezoneOffset(),b.getTimezoneOffset())},Date.prototype.isDstObserved=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()},i=new Date(e,f,g),i.isDstObserved()||(b=1);let d=parseInt(c.split(" ")[0].split(":")[0]),a=parseInt(c.split(" ")[2].split(":")[0]),k=parseInt(c.split(" ")[0].split(":")[1]),l=parseInt(c.split(" ")[2].split(":")[1]);"1:00 - 3:00 PM EST".includes("AM")||"1:00 - 3:00 PM EST".includes("PM")&&(a===12||a<d)?d+=4+b:d+=16+b,"1:00 - 3:00 PM EST".includes("AM")&&a!=12||"1:00 - 3:00 PM EST".includes("PM")&&a==12?a+=4+b:a+=16+b;const m=new Date(Date.UTC(e,f,g,d,k,0)),n=new Date(Date.UTC(e,f,g,a,l,0));return[m,n]}function convertDateMultiDay(d,e){const b={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sept:8,Oct:9,Nov:10,Dec:11},f=d.split("T")[0].split("-"),a=e.split(" - "),c=parseInt(f[0]),g=b[a[0].split(" ")[0]],h=parseInt(a[0].split(" ")[1]),i=b[a[1].split(" ")[0]],j=parseInt(a[1].split(" ")[1]),k=new Date(Date.UTC(c,g,h,4,0,0)),l=new Date(Date.UTC(c,i,j,4,0,0));return[k,l]}function generateGCalLink(b,c){let d=new URL("https://www.google.com/calendar/render?"),a=new URLSearchParams(d.search),e=`${b.getUTCFullYear()}${(b.getUTCMonth()+1).toString().padStart(2,"0")}${b.getUTCDate().toString().padStart(2,"0")}T${b.getUTCHours().toString().padStart(2,"0")}${b.getUTCMinutes().toString().padStart(2,"0")}00Z/`,f=`${c.getUTCFullYear()}${(c.getUTCMonth()+1).toString().padStart(2,"0")}${c.getUTCDate().toString().padStart(2,"0")}T${c.getUTCHours().toString().padStart(2,"0")}${c.getUTCMinutes().toString().padStart(2,"0")}00Z`,g=e+f;return a.append("action","TEMPLATE"),a.append("text","Calc Study Session"),a.append("details","Come and practice for the final boss!"),a.append("location","Math Tutorial Centre (HP 3422)"),a.append("dates",g),d+a}function generateOutlookLink(c,d){let b=new URL("https://outlook.live.com/calendar/0/deeplink/compose?"),a=new URLSearchParams(b.search);return a.append("allday","false"),a.append("body","Come and practice for the final boss!"),a.append("enddt",d.toISOString()),a.append("location","Math Tutorial Centre (HP 3422)"),a.append("path","/calendar/action/compose"),a.append("rru","addevent"),a.append("startdt",c.toISOString()),a.append("subject","Calc Study Session"),b+a}function generateAppleICSFile(a,b){let c=`${a.getUTCFullYear()}${(a.getUTCMonth()+1).toString().padStart(2,"0")}${a.getUTCDate().toString().padStart(2,"0")}T${a.getUTCHours().toString().padStart(2,"0")}${a.getUTCMinutes().toString().padStart(2,"0")}00Z`,d=`${b.getUTCFullYear()}${(b.getUTCMonth()+1).toString().padStart(2,"0")}${b.getUTCDate().toString().padStart(2,"0")}T${b.getUTCHours().toString().padStart(2,"0")}${b.getUTCMinutes().toString().padStart(2,"0")}00Z`,e="BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//ccss.carleton.ca//EN\nBEGIN:VEVENT\nSEQUENCE:0\nDTSTART:"+c+"\n"+"DTEND:"+d+"\n"+"SUMMARY:"+"Calc Study Session"+"\n"+"LOCATION:"+"Math Tutorial Centre (HP 3422)"+"\n"+"DESCRIPTION:"+"Come and practice for the final boss!"+"\n"+"END:VEVENT\n"+"END:VCALENDAR\n",f=new File([e],{type:"text/plain"});return window.URL.createObjectURL(f)}window.onload=function(){let a,b;const d=document.getElementById("g-cal-button"),e=document.getElementById("outlook-button"),c=document.getElementById("apple-button");"1:00 - 3:00 PM EST".includes("PM")||"1:00 - 3:00 PM EST".includes("AM")?[a,b]=convertDateSingleDay("2023-12-13T00:00:00Z","1:00 - 3:00 PM EST"):[a,b]=convertDateMultiDay("2023-12-13T00:00:00Z","1:00 - 3:00 PM EST"),d.href=generateGCalLink(a,b),e.href=generateOutlookLink(a,b),c.href=generateAppleICSFile(a,b),c.download="2023-12-13T00:00:00Z-Calc Study Session.ics"}</script><div class=event-page><section class=event_header style=background-image:url(https://ccss.carleton.ca/images/orientation2018-min.jpeg)></section><section class="event_header event_blur" style=background-image:url(https://ccss.carleton.ca/images/orientation2018-min.jpeg)></section><div class=event><div class=date_card_about><h3 style=text-align:center>DEC</h3><h2 style=text-align:center>13</h2><h3 style=text-align:center>2023</h3></div><div class=event_container><div class=event_container_poster style=background-image:url(https://ccss.carleton.ca/images/event_posters/2023-2024/calc_study_session.jpg);background-size:contain;background-position:50%></div><div class=event_container_content><div><h2>Calc Study Session</h2><p>Come and practice for the final boss!</p></div><div><div class=event-subtitle>START TIME</div><div class=event-time>1:00 - 3:00 PM EST</div></div><div><div class=event-subtitle>LOCATION</div><a href><button class=button>Math Tutorial Centre (HP 3422)</button></a></div><div><div class=event-subtitle>ADD TO CALENDAR</div><div class=calendar-icons><a id=g-cal-button target=_blank><iconify-icon class=hvr-float icon=akar-icons:google-fill style="color: #c40729;" width=30></iconify-icon></a><a id=outlook-button target=_blank><iconify-icon id=outlook-button class=hvr-float icon=file-icons:microsoft-outlook style="color: #c40729;" width=30></iconify-icon></a><a id=apple-button target=_blank><iconify-icon id=apple-button class=hvr-float icon=ant-design:apple-filled style="color: #c40729;" width=30></iconify-icon></a></div></div></div></div><hr><div class=markdown-content><p><a href=https://ccss.carleton.ca/pdfs/2023-2024/Calculus_Practice_Questions_Fall_2023_1.pdf>https://ccss.carleton.ca/pdfs/2023-2024/Calculus_Practice_Questions_Fall_2023_1.pdf</a></p></div></div></div></body><div class=footer><div class=footer-text><p><b>Carleton Computer Science Society</b><br>4135 Herzberg Laboratories<br>1125 Colonel By Drive,<br>Ottawa, ON K1S 5B6<br><br>email: <a href=mailto:[email protected]>[email protected]</a></p></div><div class=footer-socials><a href=http://discord.carletoncomputersciencesociety.ca><i class="fab fa-discord"></i></a>
<a href=https://www.instagram.com/carletoncss/><i class="fab fa-instagram"></i></a>
<a href=https://www.facebook.com/CarletonComputerScienceSociety><i class="fab fa-facebook"></i></a>
<a href=https://twitter.com/carletoncss><i class="fab fa-twitter"></i></a>
Expand Down
Loading

0 comments on commit 8c94db6

Please sign in to comment.