Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
Abdulkadir Furkan Şanlı committed 2020-12-26 00:42:59 +01:00
1 parent a2238e26f1
commit 441057ecee
35 files changed
+1543 -559

No files matched your search

+11 -16
View File
@@ -1,36 +1,31 @@
baseURL = "https://abdulocra.cy/"
languageCode = "en-us"
title = "abdulocracy"
baseurl = "/"
theme = "terminal"
paginate = 5
[params]
# dir name of your blog content (default is `content/posts`)
contentTypeName = "posts"
# ["orange", "blue", "red", "green", "pink"]
themeColor = "pink"
# if you set this to 0, only submenu trigger will be visible
contentTypeName = "blog"
themeColor = "green"
showMenuItems = 0
# show selector to switch language
showLanguageSelector = false
# set theme to full screen width
fullWidthTheme = false
# center theme with default width
centerTheme = true
# set a custom favicon (default is a `themeColor` square)
favicon = "img/favicon/favicon.png"
favicon = "favicon.png"
enableGitInfo = true
showLastUpdated = true
updatedDatePrefix = "updated"
[languages]
[languages.en]
languageName = "English"
title = "abdulocracy's personal site"
owner = "Abdulkadir Furkan Şanlı"
subtitle = ""
keywords = ""
copyright = "© Abdulkadir Furkan Şanlı 2019"
copyright = ""
menuMore = "menu"
readMore = "read more"
readOtherPosts = "read other posts"
readMore = "more"
readOtherPosts = "other posts"
[languages.en.params.logo]
logoText = "abdulocracy"
@@ -44,7 +39,7 @@ paginate = 5
[[languages.en.menu.main]]
identifier = "uni-notes"
name = "university notes"
url = "/tags/university-notes"
url = "/university-notes"
[[languages.en.menu.main]]
identifier = "music"
name = "music"
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "about"
date: 2020-06-10
date: 2019-11-04
---
<image src="face.jpg" width="173" height="150" />
+10
View File
@@ -0,0 +1,10 @@
---
title: 0
date: "2020-12-25"
---
You found my site. Congratulations.
If there's content on here, how wonderful. If not, then I haven't yet realized my vague plans for a blog.
Fare thee well.
File renamed without changes.
@@ -1,9 +1,8 @@
+++
title = "Introduction to Discrete Mathematics"
date = "2019-11-20"
tags = ["university-notes"]
markup = "pandoc"
+++
---
title: Introduction to Discrete Mathematics
date: "2019-11-20"
markup: pandoc
---
- Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets.
-18
View File
@@ -1,8 +1,3 @@
<!--
To add an extended footer section, please create
`layouts/partials/extended_footer.html` in your Hugo directory.
-->
<!-- KaTeX -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
@@ -12,16 +7,3 @@ To add an extended footer section, please create
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
<!-- MathJax
<script>
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
displayMath: [['$$', '$$'], ['\[', '\]']]
}
};
</script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js">
</script>
-->
+8 -11
View File
@@ -1,20 +1,17 @@
<footer class="footer">
<div class="footer__inner">
{{ if $.Site.Copyright }}
<div class="copyright copyright--user">
<span>{{ $.Site.Copyright | safeHTML }} :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a></span>
{{else}}
<div class="copyright">
<span>© {{ now.Year }} Powered by <a href="http://gohugo.io">Hugo</a></span>
{{end}}
<span>:: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
<span>© Abdulkadir Furkan Şanlı {{ now.Year }} :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="{{ "assets/main.js" | absURL }}"></script>
<script src="{{ "assets/prism.js" | absURL }}"></script>
<script src="{{ " assets/main.js" | absURL }}"></script>
<script src="{{ " assets/prism.js" | absURL }}"></script>
{{ if $.Site.Params.showLanguageSelector }}
<script src="{{ " assets/languageSelector.js" | absURL }}"></script>
{{ end }}
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}
+176
View File
@@ -0,0 +1,176 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>404 Page not found :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/404.html" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:title" content="404 Page not found :: abdulocracy&#39;s personal site">
<meta property="og:description" content="" />
<meta property="og:url" content="https://abdulocra.cy/404.html" />
<meta property="og:site_name" content="404 Page not found" />
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
</head>
<body class="green">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="/">
<div class="logo">
abdulocracy
</div>
</a>
</div>
<div class="menu-trigger">menu</div>
</div>
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
<ul class="menu__sub-inner">
<li class="menu__sub-inner-more-trigger">menu ▾</li>
<ul class="menu__sub-inner-more hidden">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</ul>
</ul>
<ul class="menu__inner menu__inner--mobile">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="post">
<h1 class="post-title">404 — Page not found...</h1>
<div class="post-content">
<a href="https://abdulocra.cy/">Back to home page&nbsp;→</a>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js"
integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz"
crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
</div>
</body>
</html>
+36 -35
View File
@@ -5,16 +5,18 @@
<title>about :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content=" name: Abdulkadir Furkan Şanlı handle: abdulocracy contact: email: me at abdulocra dot cy gpg: 0xEE6ED1FE irc (freenode): abdulocracy "/>
<meta name="keywords" content=""/>
<meta name="robots" content="noodp"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content=" name: Abdulkadir Furkan Şanlı handle: abdulocracy contact: email: me at abdulocra dot cy gpg: 0xEE6ED1FE irc (freenode): abdulocracy " />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/about/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/pink.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
@@ -23,29 +25,31 @@
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/img/favicon/favicon.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="about :: abdulocracy&#39;s personal site — " />
<meta name="twitter:description" content=" name: Abdulkadir Furkan Şanlı handle: abdulocracy contact: email: me at abdulocra dot cy gpg: 0xEE6ED1FE irc (freenode): abdulocracy " />
<meta name="twitter:site" content="https://abdulocra.cy/" />
<meta name="twitter:creator" content="" />
<meta name="twitter:image" content="">
<meta property="og:locale" content="en" />
<meta property="og:type" content="article" />
<meta property="og:title" content="about :: abdulocracy&#39;s personal site — ">
<meta property="og:title" content="about :: abdulocracy&#39;s personal site">
<meta property="og:description" content=" name: Abdulkadir Furkan Şanlı handle: abdulocracy contact: email: me at abdulocra dot cy gpg: 0xEE6ED1FE irc (freenode): abdulocracy " />
<meta property="og:url" content="https://abdulocra.cy/about/" />
<meta property="og:site_name" content="about" />
<meta property="og:image" content="">
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
<meta property="article:published_time" content="2020-06-10 00:00:00 &#43;0000 UTC" />
<meta property="article:published_time" content="2019-11-04 00:00:00 &#43;0000 UTC" />
@@ -58,10 +62,10 @@
</head>
<body class="">
<body class="green">
<div class="container center">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
@@ -95,7 +99,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
@@ -117,7 +121,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
@@ -134,10 +138,10 @@
<h1 class="post-title">
<a href="https://abdulocra.cy/about/">about</a></h1>
<div class="post-meta">
<span class="post-date">
2020-06-10
</span>
<span class="post-date">
2019-11-04 [updated: 2019-11-04]
</span>
</div>
@@ -146,8 +150,10 @@
<div class="post-content">
<p><image src="face.jpg" width="173" height="150" /></p>
<div class="post-content"><div>
<p><image src="face.jpg" width="173" height="150" /></p>
<ul>
<li>name: Abdulkadir Furkan Şanlı</li>
<li>handle: abdulocracy</li>
@@ -160,7 +166,8 @@
</li>
</ul>
</div>
</div></div>
@@ -172,18 +179,14 @@
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2019 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a></span>
<span>:: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/assets/main.js"></script>
<script src="https://abdulocra.cy/assets/prism.js"></script>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
@@ -199,8 +202,6 @@
onload="renderMathInElement(document.body);"></script>
</div>
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(29, 33, 44);background-color:rgb(29, 33, 44);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{line-height:1.3}h1:not(first-child),h2:not(first-child),h3:not(first-child),h4:not(first-child),h5:not(first-child),h6:not(first-child){margin-top:40px}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#23b0ff;background:var(--accent);color:rgb(29, 33, 44);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;-webkit-font-feature-settings:normal;font-feature-settings:normal;background:rgba(35, 176, 255, 0.2);background:rgba(35, 176, 255, 0.2);color:#23b0ff;color:var(--accent);padding:1px 6px;margin:0 2px}code,pre{font-size:.95rem}pre{background:transparent;padding:20px 10px;margin:40px 0;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #23b0ff;border-top:1px solid var(--accent);border-bottom:1px solid #23b0ff;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:#23b0ff;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #23b0ff;border:1px dashed var(--accent);padding:10px}th{color:#23b0ff;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg,#23b0ff,#23b0ff 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%;text-decoration:none}.header .menu{--shadow-color:rgba(29, 33, 44, 0.8);--shadow-color:rgba(29, 33, 44, 0.8);--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);margin:20px 0}@media (max-width:683px){.header .menu{position:absolute;background:rgb(29, 33, 44);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:50px;right:0}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}@media (max-width:683px){.header .menu__inner{flex-direction:column;align-items:flex-start;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{positLine truncated
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(29, 33, 44);background-color:rgb(29, 33, 44);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}@media (--phone){body{font-size:1rem}}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3,.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{line-height:1.3}.headings--one-size h1:not(first-child),.headings--one-size h2:not(first-child),.headings--one-size h3:not(first-child),.headings--one-size h4:not(first-child),.headings--one-size h5:not(first-child),.headings--one-size h6:not(first-child){margin-top:40px}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3{font-size:1.4rem}.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#23b0ff;background:var(--accent);color:rgb(29, 33, 44);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code,kbd{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:rgba(35, 176, 255, 0.2);background:rgba(35, 176, 255, 0.2);color:#23b0ff;color:var(--accent);padding:1px 6px;margin:0 2px;font-size:.95rem}code code,code kbd,kbd code,kbd kbd{background:transparent;padding:0;margin:0}pre{background:transparent!important;padding:20px 10px;margin:40px 0;font-size:.95rem;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}@media (--phone){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #23b0ff;border-top:1px solid var(--accent);border-bottom:1px solid #23b0ff;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}@media (--phone){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:first-of-type:before{content:">";display:block;position:absolute;left:-25px;color:#23b0ff;color:var(--accent)}blockquote.twitter-tweet{position:relative;background:rgba(35, 176, 255, 0.1);background:rgba(35, 176, 255, 0.1);font:inherit;color:inherit;border:1px solid #23b0ff;border:1px solid var(--accent);padding-top:60px}blockquote.twitter-tweet p:before{content:""}blockquote.twitter-tweet:before{content:"> From Twitter:";position:absolute;top:20px;font-weight:700}blockquote.twitter-tweet:before,blockquote.twitter-tweet a{color:#23b0ff;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #23b0ff;border:1px dashed var(--accent);padding:10px}th{color:#23b0ff;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}@media (--phone){ol,ul{margin-left:20px}}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li:before{content:counter(li);position:absolute;right:calc(100% + 10px);color:#23b0ff;color:var(--accent);display:inline-block;text-align:right}ol ol{list-style-type:lower-alpha}mark{background:#23b0ff;background:var(--accent);color:rgb(29, 33, 44);color:var(--background)}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}@media (--phone){.container{padding:20px}}@media print{.container{display:inline;display:initial}}.content{display:flex;flex-direction:column}@media print{.content{display:inline;display:initial}}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}@media print{.header{display:none}}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{cLine truncated
+1 -1
View File
@@ -1 +1 @@
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(31, 34, 42);background-color:rgb(31, 34, 42);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{line-height:1.3}h1:not(first-child),h2:not(first-child),h3:not(first-child),h4:not(first-child),h5:not(first-child),h6:not(first-child){margin-top:40px}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#78e2a0;background:var(--accent);color:rgb(31, 34, 42);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;-webkit-font-feature-settings:normal;font-feature-settings:normal;background:rgba(120, 226, 160, 0.2);background:rgba(120, 226, 160, 0.2);color:#78e2a0;color:var(--accent);padding:1px 6px;margin:0 2px}code,pre{font-size:.95rem}pre{background:transparent;padding:20px 10px;margin:40px 0;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #78e2a0;border-top:1px solid var(--accent);border-bottom:1px solid #78e2a0;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:#78e2a0;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #78e2a0;border:1px dashed var(--accent);padding:10px}th{color:#78e2a0;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg,#78e2a0,#78e2a0 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%;text-decoration:none}.header .menu{--shadow-color:rgba(31, 34, 42, 0.8);--shadow-color:rgba(31, 34, 42, 0.8);--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);margin:20px 0}@media (max-width:683px){.header .menu{position:absolute;background:rgb(31, 34, 42);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:50px;right:0}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}@media (max-width:683px){.header .menu__inner{flex-direction:column;align-items:flex-start;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{posLine truncated
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(31, 34, 42);background-color:rgb(31, 34, 42);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}@media (--phone){body{font-size:1rem}}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3,.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{line-height:1.3}.headings--one-size h1:not(first-child),.headings--one-size h2:not(first-child),.headings--one-size h3:not(first-child),.headings--one-size h4:not(first-child),.headings--one-size h5:not(first-child),.headings--one-size h6:not(first-child){margin-top:40px}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3{font-size:1.4rem}.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#78e2a0;background:var(--accent);color:rgb(31, 34, 42);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code,kbd{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:rgba(120, 226, 160, 0.2);background:rgba(120, 226, 160, 0.2);color:#78e2a0;color:var(--accent);padding:1px 6px;margin:0 2px;font-size:.95rem}code code,code kbd,kbd code,kbd kbd{background:transparent;padding:0;margin:0}pre{background:transparent!important;padding:20px 10px;margin:40px 0;font-size:.95rem;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}@media (--phone){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #78e2a0;border-top:1px solid var(--accent);border-bottom:1px solid #78e2a0;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}@media (--phone){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:first-of-type:before{content:">";display:block;position:absolute;left:-25px;color:#78e2a0;color:var(--accent)}blockquote.twitter-tweet{position:relative;background:rgba(120, 226, 160, 0.1);background:rgba(120, 226, 160, 0.1);font:inherit;color:inherit;border:1px solid #78e2a0;border:1px solid var(--accent);padding-top:60px}blockquote.twitter-tweet p:before{content:""}blockquote.twitter-tweet:before{content:"> From Twitter:";position:absolute;top:20px;font-weight:700}blockquote.twitter-tweet:before,blockquote.twitter-tweet a{color:#78e2a0;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #78e2a0;border:1px dashed var(--accent);padding:10px}th{color:#78e2a0;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}@media (--phone){ol,ul{margin-left:20px}}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li:before{content:counter(li);position:absolute;right:calc(100% + 10px);color:#78e2a0;color:var(--accent);display:inline-block;text-align:right}ol ol{list-style-type:lower-alpha}mark{background:#78e2a0;background:var(--accent);color:rgb(31, 34, 42);color:var(--background)}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}@media (--phone){.container{padding:20px}}@media print{.container{display:inline;display:initial}}.content{display:flex;flex-direction:column}@media print{.content{display:inline;display:initial}}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}@media print{.header{display:none}}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:aftLine truncated
+1 -133
View File
@@ -1,133 +1 @@
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ({
/***/ "./source/js/languageSelector.js":
/*!***************************************!*\
!*** ./source/js/languageSelector.js ***!
\***************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("var mobileQuery = getComputedStyle(document.body).getPropertyValue(\"--phoneWidth\");\n\nvar isMobile = function isMobile() {\n return window.matchMedia(mobileQuery).matches;\n};\n\nif (!isMobile()) {\n languageSelector = document.querySelector(\".language-selector-current\");\n moreLanguagesContainer = document.querySelector(\".language-selector__more\");\n document.body.addEventListener(\"click\", function () {\n if (moreLanguagesContainer && !moreLanguagesContainer.classList.contains(\"hidden\")) {\n moreLanguagesContainer.classList.add(\"hidden\");\n }\n });\n languageSelector && languageSelector.addEventListener(\"click\", function (e) {\n e.stopPropagation();\n moreLanguagesContainer.classList.toggle(\"hidden\");\n });\n}\n\n//# sourceURL=webpack:///./source/js/languageSelector.js?");
/***/ }),
/***/ "./source/js/main.js":
/*!***************************!*\
!*** ./source/js/main.js ***!
\***************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("// Add your script here\n\n//# sourceURL=webpack:///./source/js/main.js?");
/***/ }),
/***/ "./source/js/menu.js":
/*!***************************!*\
!*** ./source/js/menu.js ***!
\***************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("var container = document.querySelector(\".container\");\nvar menu = document.querySelector(\".menu\");\nvar mobileMenuTrigger = document.querySelector(\".menu-trigger\");\nvar desktopMenu = document.querySelector(\".menu__inner--desktop\");\nvar desktopMenuTrigger = document.querySelector(\".menu__sub-inner-more-trigger\");\nvar menuMore = document.querySelector(\".menu__sub-inner-more\");\nvar mobileQuery = getComputedStyle(document.body).getPropertyValue(\"--phoneWidth\");\n\nvar isMobile = function isMobile() {\n return window.matchMedia(mobileQuery).matches;\n};\n\nvar handleMenuClasses = function handleMenuClasses() {\n mobileMenuTrigger && mobileMenuTrigger.classList.toggle(\"hidden\", !isMobile());\n menu && menu.classList.toggle(\"hidden\", isMobile());\n menuMore && menuMore.classList.toggle(\"hidden\", !isMobile());\n}; // Common\n\n\nmenu && menu.addEventListener(\"click\", function (e) {\n return e.stopPropagation();\n});\nmenuMore && menuMore.addEventListener(\"click\", function (e) {\n return e.stopPropagation();\n});\nhandleMenuClasses();\ndocument.body.addEventListener(\"click\", function () {\n if (!isMobile() && menuMore && !menuMore.classList.contains(\"hidden\")) {\n menuMore.classList.add(\"hidden\");\n } else if (isMobile() && !menu.classList.contains(\"hidden\")) {\n menu.classList.add(\"hidden\");\n }\n});\nwindow.addEventListener(\"resize\", handleMenuClasses); // Mobile menu\n\nmobileMenuTrigger && mobileMenuTrigger.addEventListener(\"click\", function (e) {\n e.stopPropagation();\n menu && menu.classList.toggle(\"hidden\");\n}); // Desktop menu\n\ndesktopMenuTrigger && desktopMenuTrigger.addEventListener(\"click\", function (e) {\n e.stopPropagation();\n menuMore && menuMore.classList.toggle(\"hidden\");\n\n if (menuMore.getBoundingClientRect().right > container.getBoundingClientRect().right) {\n menuMore.style.left = \"auto\";\n menuMore.style.right = 0;\n }\n});\n\n//# sourceURL=webpack:///./source/js/menu.js?");
/***/ }),
/***/ 0:
/*!*************************************************************************************!*\
!*** multi ./source/js/main.js ./source/js/menu.js ./source/js/languageSelector.js ***!
\*************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/terminal/source/js/main.js */\"./source/js/main.js\");\n__webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/terminal/source/js/menu.js */\"./source/js/menu.js\");\nmodule.exports = __webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/terminal/source/js/languageSelector.js */\"./source/js/languageSelector.js\");\n\n\n//# sourceURL=webpack:///multi_./source/js/main.js_./source/js/menu.js_./source/js/languageSelector.js?");
/***/ })
/******/ });
!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,n){n(1),e.exports=n(2)},function(e,t){function n(){return window.matchMedia(d).matches}function o(){c&&c.classList.toggle("hidden",!n()),i&&i.classList.toggle("hidden",n()),a&&a.classList.toggle("hidden",!n())}var r=document.querySelector(".container"),i=document.querySelector(".menu"),c=document.querySelector(".menu-trigger"),u=(document.querySelector(".menu__inner--desktop"),document.querySelector(".menu__sub-inner-more-trigger")),a=document.querySelector(".menu__sub-inner-more"),d=getComputedStyle(document.body).getPropertyValue("--phoneWidth");i&&i.addEventListener("click",function(e){return e.stopPropagation()}),a&&a.addEventListener("click",function(e){return e.stopPropagation()}),o(),document.body.addEventListener("click",function(){n()||!a||a.classList.contains("hidden")?n()&&!i.classList.contains("hidden")&&i.classList.add("hidden"):a.classList.add("hidden")}),window.addEventListener("resize",o),c&&c.addEventListener("click",function(e){e.stopPropagation(),i&&i.classList.toggle("hidden")}),u&&u.addEventListener("click",function(e){e.stopPropagation(),a&&a.classList.toggle("hidden"),a.getBoundingClientRect().right>r.getBoundingClientRect().right&&(a.style.left="auto",a.style.right=0)})},function(e,t){var n=getComputedStyle(document.body).getPropertyValue("--phoneWidth");window.matchMedia(n).matches||(languageSelector=document.querySelector(".language-selector-current"),moreLanguagesContainer=document.querySelector(".language-selector__more"),document.body.addEventListener("click",function(){moreLanguagesContainer&&!moreLanguagesContainer.classList.contains("hidden")&&moreLanguagesContainer.classList.add("hidden")}),languageSelector&&languageSelector.addEventListener("click",function(e){e.stopPropagation(),moreLanguagesContainer.classList.toggle("hidden")}))}]);
+1 -1
View File
@@ -1 +1 @@
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(33, 32, 44);background-color:rgb(33, 32, 44);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{line-height:1.3}h1:not(first-child),h2:not(first-child),h3:not(first-child),h4:not(first-child),h5:not(first-child),h6:not(first-child){margin-top:40px}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#ee72f1;background:var(--accent);color:rgb(33, 32, 44);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;-webkit-font-feature-settings:normal;font-feature-settings:normal;background:rgba(238, 114, 241, 0.2);background:rgba(238, 114, 241, 0.2);color:#ee72f1;color:var(--accent);padding:1px 6px;margin:0 2px}code,pre{font-size:.95rem}pre{background:transparent;padding:20px 10px;margin:40px 0;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #ee72f1;border-top:1px solid var(--accent);border-bottom:1px solid #ee72f1;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:#ee72f1;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #ee72f1;border:1px dashed var(--accent);padding:10px}th{color:#ee72f1;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg,#ee72f1,#ee72f1 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%;text-decoration:none}.header .menu{--shadow-color:rgba(33, 32, 44, 0.8);--shadow-color:rgba(33, 32, 44, 0.8);--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);margin:20px 0}@media (max-width:683px){.header .menu{position:absolute;background:rgb(33, 32, 44);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:50px;right:0}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}@media (max-width:683px){.header .menu__inner{flex-direction:column;align-items:flex-start;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{posLine truncated
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(33, 32, 44);background-color:rgb(33, 32, 44);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}@media (--phone){body{font-size:1rem}}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3,.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{line-height:1.3}.headings--one-size h1:not(first-child),.headings--one-size h2:not(first-child),.headings--one-size h3:not(first-child),.headings--one-size h4:not(first-child),.headings--one-size h5:not(first-child),.headings--one-size h6:not(first-child){margin-top:40px}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3{font-size:1.4rem}.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#ee72f1;background:var(--accent);color:rgb(33, 32, 44);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code,kbd{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:rgba(238, 114, 241, 0.2);background:rgba(238, 114, 241, 0.2);color:#ee72f1;color:var(--accent);padding:1px 6px;margin:0 2px;font-size:.95rem}code code,code kbd,kbd code,kbd kbd{background:transparent;padding:0;margin:0}pre{background:transparent!important;padding:20px 10px;margin:40px 0;font-size:.95rem;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}@media (--phone){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #ee72f1;border-top:1px solid var(--accent);border-bottom:1px solid #ee72f1;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}@media (--phone){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:first-of-type:before{content:">";display:block;position:absolute;left:-25px;color:#ee72f1;color:var(--accent)}blockquote.twitter-tweet{position:relative;background:rgba(238, 114, 241, 0.1);background:rgba(238, 114, 241, 0.1);font:inherit;color:inherit;border:1px solid #ee72f1;border:1px solid var(--accent);padding-top:60px}blockquote.twitter-tweet p:before{content:""}blockquote.twitter-tweet:before{content:"> From Twitter:";position:absolute;top:20px;font-weight:700}blockquote.twitter-tweet:before,blockquote.twitter-tweet a{color:#ee72f1;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #ee72f1;border:1px dashed var(--accent);padding:10px}th{color:#ee72f1;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}@media (--phone){ol,ul{margin-left:20px}}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li:before{content:counter(li);position:absolute;right:calc(100% + 10px);color:#ee72f1;color:var(--accent);display:inline-block;text-align:right}ol ol{list-style-type:lower-alpha}mark{background:#ee72f1;background:var(--accent);color:rgb(33, 32, 44);color:var(--background)}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}@media (--phone){.container{padding:20px}}@media print{.container{display:inline;display:initial}}.content{display:flex;flex-direction:column}@media print{.content{display:inline;display:initial}}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}@media print{.header{display:none}}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:aftLine truncated
+8 -122
View File
@@ -1,122 +1,8 @@
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "./source/js/prism.js");
/******/ })
/************************************************************************/
/******/ ({
/***/ "./node_modules/clipboard/dist/clipboard.js":
/*!**************************************************!*\
!*** ./node_modules/clipboard/dist/clipboard.js ***!
\**************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/*!\n * clipboard.js v2.0.4\n * https://zenorocha.github.io/clipboard.js\n * \n * Licensed MIT © Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory();\n\telse {}\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\nLine truncated
/***/ }),
/***/ "./node_modules/webpack/buildin/global.js":
/*!***********************************!*\
!*** (webpack)/buildin/global.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");
/***/ }),
/***/ "./source/js/prism.js":
/*!****************************!*\
!*** ./source/js/prism.js ***!
\****************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/* WEBPACK VAR INJECTION */(function(global) {/* PrismJS 1.15.0\nhttps://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+actionscript+apacheconf+applescript+c+csharp+bash+cpp+coffeescript+ruby+csp+css-extras+diff+markup-templating+docker+elixir+elm+erlang+fsharp+flow+git+go+graphql+less+handlebars+haskell+http+java+php+json+kotlin+latex+markdown+makefile+django+typescript+objectivec+ocaml+perl+php-extras+sql+processing+scss+python+r+jsx+reason+textile+rust+sass+stylus+scheme+twig+swift+yaml+haml+toml+pug+tsx+visual-basic+vim+wasm&plugins=line-highlight+line-numbers+toolbar+jsonp-highlight+command-line+copy-to-clipboard */\nvar _self = \"undefined\" != typeof window ? window : \"undefined\" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope ? self : {},\n Prism = function (g) {\n var c = /\\blang(?:uage)?-([\\w-]+)\\b/i,\n a = 0,\n C = {\n manual: g.Prism && g.Prism.manual,\n disableWorkerMessageHandler: g.Prism && g.Prism.disableWorkerMessageHandler,\n util: {\n encode: function encode(e) {\n return e instanceof M ? new M(e.type, C.util.encode(e.content), e.alias) : Array.isArray(e) ? e.map(C.util.encode) : e.replace(/&/g, \"&amp;\").replace(/</g, \"&lt;\").replace(/\\u00a0/g, \" \");\n },\n type: function type(e) {\n return Object.prototype.toString.call(e).slice(8, -1);\n },\n objId: function objId(e) {\n return e.__id || Object.defineProperty(e, \"__id\", {\n value: ++a\n }), e.__id;\n },\n clone: function t(e, n) {\n var r,\n a,\n i = C.util.type(e);\n\n switch (n = n || {}, i) {\n case \"Object\":\n if (a = C.util.objId(e), n[a]) return n[a];\n\n for (var l in r = {}, n[a] = r, e) {\n e.hasOwnProperty(l) && (r[l] = t(e[l], n));\n }\n\n return r;\n\n case \"Array\":\n return a = C.util.objId(e), n[a] ? n[a] : (r = [], n[a] = r, e.forEach(function (e, a) {\n r[a] = t(e, n);\n }), r);\n\n default:\n return e;\n }\n }\n },\n languages: {\n extend: function extend(e, a) {\n var t = C.util.clone(C.languages[e]);\n\n for (var n in a) {\n t[n] = a[n];\n }\n\n return t;\n },\n insertBefore: function insertBefore(t, e, a, n) {\n var r = (n = n || C.languages)[t],\n i = {};\n\n for (var l in r) {\n if (r.hasOwnProperty(l)) {\n if (l == e) for (var o in a) {\n a.hasOwnProperty(o) && (i[o] = a[o]);\n }\n a.hasOwnProperty(l) || (i[l] = r[l]);\n }\n }\n\n var s = n[t];\n return n[t] = i, C.languages.DFS(C.languages, function (e, a) {\n a === s && e != t && (this[e] = i);\n }), i;\n },\n DFS: function e(a, t, n, r) {\n r = r || {};\n var i = C.util.objId;\n\n for (var l in a) {\n if (a.hasOwnProperty(l)) {\n t.call(a, l, a[l], n || l);\n var o = a[l],\n s = C.util.type(o);\n \"Object\" !== s || r[i(o)] ? \"Array\" !== s || r[i(o)] || (r[i(o)] = !0, e(o, t, l, r)) : (r[i(o)] = !0, e(o, t, null, r));\n }\n }\n }\n },\n plugins: {},\n highlightAll: function highlightAll(e, a) {\n C.highlightAllUnder(document, e, a);\n },\n highlightAllUnder: function highlightAllUnder(e, a, t) {\n var n = {\n callback: t,\n selector: 'code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code'\n };\n C.hooks.run(\"before-highlightall\", n);\n\n for (var r, i = n.elements || e.querySelectorAll(n.selector), l = 0; r = i[l++];) {\n C.highlightElement(r, !0 === a, n.callback);\n }\n },\n highlightElement: function highlightElement(e, a, t) {\n for (var n, r, i = e; i && !c.test(i.className);) {\n i = i.parentNode;\n }\n\n i && (n = (i.className.match(c) || [, \"\"])[1].toLowerCase(), r = C.languages[n]), e.className = e.className.replace(c, \"\").replace(/\\s+/g, \" \") + \" language-\" + n, e.parentNode && (i = e.parentNode, /pre/i.test(i.nodeName) && (i.className = i.className.replace(c, \"\").replace(/\\s+/g, \" \") + \" language-\" + n));\n\n var l = {\n element: e,\n language: n,\n grammar: r,\n code: e.textContent\n },\n o = function o(e) {\n l.highlightedCode = e, C.hooks.run(\"before-insert\", l), l.element.innerHTML = l.highlightedCode, C.hooks.run(\"after-highlight\", l), C.hooks.run(\"complete\", l), t && t.call(l.element);\n };\n\n if (C.hooks.run(\"before-sanity-check\", l), l.code) {\n if (C.hooks.run(\"before-highlight\", l), l.grammar) {\n if (a && g.Worker) {\n var s = new Worker(C.filLine truncated
/***/ })
/******/ });
!function(n){var a={};function i(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=3)}([,,,function(Z,e,G){(function(e){var t,n,a,h,i,r,o,s,l,d,c,u,p,g,f=function(d){var c=/\blang(?:uage)?-([\w-]+)\b/i,t=0,L={manual:d.Prism&&d.Prism.manual,disableWorkerMessageHandler:d.Prism&&d.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof R?new R(e.type,L.util.encode(e.content),e.alias):Array.isArray(e)?e.map(L.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function n(e,a){var i,t,r=L.util.type(e);switch(a=a||{},r){case"Object":if(t=L.util.objId(e),a[t])return a[t];for(var o in i={},a[t]=i,e)e.hasOwnProperty(o)&&(i[o]=n(e[o],a));return i;case"Array":return t=L.util.objId(e),a[t]?a[t]:(i=[],a[t]=i,e.forEach(function(e,t){i[t]=n(e,a)}),i);default:return e}}},languages:{extend:function(e,t){var n=L.util.clone(L.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(n,e,t,a){var i=(a=a||L.languages)[n],r={};for(var o in i)if(i.hasOwnProperty(o)){if(o==e)for(var s in t)t.hasOwnProperty(s)&&(r[s]=t[s]);t.hasOwnProperty(o)||(r[o]=i[o])}var l=a[n];return a[n]=r,L.languages.DFS(L.languages,function(e,t){t===l&&e!=n&&(this[e]=r)}),r},DFS:function e(t,n,a,i){i=i||{};var r,o,s=L.util.objId;for(var l in t){t.hasOwnProperty(l)&&(n.call(t,l,t[l],a||l),r=t[l],"Object"!==(o=L.util.type(r))||i[s(r)]?"Array"!==o||i[s(r)]||(i[s(r)]=!0,e(r,n,l,i)):(i[s(r)]=!0,e(r,n,null,i)))}}},plugins:{},highlightAll:function(e,t){L.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var a={callback:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};L.hooks.run("before-highlightall",a);for(var i,r=a.elements||e.querySelectorAll(a.selector),o=0;i=r[o++];)L.highlightElement(i,!0===t,a.callback)},highlightElement:function(e,t,n){for(var a,i,r=e;r&&!c.test(r.className);)r=r.parentNode;r&&(a=(r.className.match(c)||[,""])[1].toLowerCase(),i=L.languages[a]),e.className=e.className.replace(c,"").replace(/\s+/g," ")+" language-"+a,e.parentNode&&(r=e.parentNode,/pre/i.test(r.nodeName)&&(r.className=r.className.replace(c,"").replace(/\s+/g," ")+" language-"+a));function o(e){l.highlightedCode=e,L.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,L.hooks.run("after-highlight",l),L.hooks.run("complete",l),n&&n.call(l.element)}var s,l={element:e,language:a,grammar:i,code:e.textContent};L.hooks.run("before-sanity-check",l),l.code?(L.hooks.run("before-highlight",l),l.grammar?t&&d.Worker?((s=new Worker(L.filename)).onmessage=function(e){o(e.data)},s.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))):o(L.highlight(l.code,l.grammar,l.language)):o(L.util.encode(l.code))):L.hooks.run("complete",l)},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};return L.hooks.run("before-tokenize",a),a.tokens=L.tokenize(a.code,a.grammar),L.hooks.run("after-tokenize",a),R.stringify(L.util.encode(a.tokens),a.language)},matchGrammar:function(e,t,n,a,i,r,o){for(var s in n)if(n.hasOwnProperty(s)&&n[s]){if(s==o)return;for(var l=n[s],l="Array"===L.util.type(l)?l:[l],d=0;d<l.length;++d){var c,u=l[d],p=u.inside,g=!!u.lookbehind,m=!!u.greedy,f=0,b=u.alias;m&&!u.pattern.global&&(c=u.pattern.toString().match(/[imuy]*$/)[0],u.pattern=RegExp(u.pattern.source,c+"g")),u=u.pattern||u;for(var h=a,y=i;h<t.length;y+=t[h].length,++h){var v=t[h];if(t.length>e.length)return;if(!(v instanceof R)){if(m&&h!=t.length-1){if(u.lastIndex=y,!(A=u.exec(e)))break;for(var w=A.index+(g?A[1].length:0),k=A.index+A[0].length,S=h,E=y,x=t.length;S<x&&(E<k||!t[S].type&&!t[S-1].greedy);++S)(E+=t[S].length)<=w&&(++h,y=E);if(t[h]instanceof R)continue;T=S-h,v=e.slice(y,E),A.index-=y}else{u.lastIndex=0;var A=u.exec(v),T=1}if(A){g&&(f=A[1]?A[1].length:0),k=(w=A.index+f)+(A=A[0].slice(f)).length;var _=v.slice(0,w),C=v.slice(k),N=[h,T];_&&(++h,y+=_.length,N.push(_));var I=new R(s,p?L.tokenize(A,p):A,b,A,m);if(N.push(I),C&&N.push(C),Array.prototype.splice.applLine truncated
/*!
* clipboard.js v2.0.6
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
var a;a=function(){return a={},i.m=n=[function(e,t){e.exports=function(e){var t,n,a,i="SELECT"===e.nodeName?(e.focus(),e.value):"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName?((t=e.hasAttribute("readonly"))||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),t||e.removeAttribute("readonly"),e.value):(e.hasAttribute("contenteditable")&&e.focus(),n=window.getSelection(),(a=document.createRange()).selectNodeContents(e),n.removeAllRanges(),n.addRange(a),n.toString());return i}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var a=this.e||(this.e={});return(a[e]||(a[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var a=this;function i(){a.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),a=0,i=n.length;a<i;a++)n[a].fn.apply(n[a].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),a=n[e],i=[];if(a&&t)for(var r=0,o=a.length;r<o;r++)a[r].fn!==t&&a[r].fn._!==t&&i.push(a[r]);return i.length?n[e]=i:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){var p=n(3),g=n(4);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!p.string(t))throw new TypeError("Second argument must be a String");if(!p.fn(n))throw new TypeError("Third argument must be a Function");if(p.node(e))return c=t,u=n,(d=e).addEventListener(c,u),{destroy:function(){d.removeEventListener(c,u)}};if(p.nodeList(e))return o=e,s=t,l=n,Array.prototype.forEach.call(o,function(e){e.addEventListener(s,l)}),{destroy:function(){Array.prototype.forEach.call(o,function(e){e.removeEventListener(s,l)})}};if(p.string(e))return a=e,i=t,r=n,g(document.body,a,i,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var a,i,r,o,s,l,d,c,u}},function(e,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var o=n(5);function r(e,t,n,a,i){var r=function(t,n,e,a){return function(e){e.delegateTarget=o(e.target,n),e.delegateTarget&&a.call(t,e)}}.apply(this,arguments);return e.addEventListener(n,r,i),{destroy:function(){e.removeEventListener(n,r,i)}}}e.exports=function(e,t,n,a,i){return"function"==typeof e.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return r(e,t,n,a,i)}))}},function(e,t){var n;"undefined"==typeof Element||Element.prototype.matches||((n=Element.prototype).matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector),e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,n){"use strict";n.r(t);var a=n(0),i=n.n(a),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),this.resolveOptions(e),this.initSelection()}var l=(function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}(s,[{key:"resolveOptions",value:function(e){var t=0<arguments.length&&void 0!==e?e:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=i()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandleLine truncated
+1 -1
View File
@@ -1 +1 @@
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(34, 31, 41);background-color:rgb(34, 31, 41);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{line-height:1.3}h1:not(first-child),h2:not(first-child),h3:not(first-child),h4:not(first-child),h5:not(first-child),h6:not(first-child){margin-top:40px}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#ff6266;background:var(--accent);color:rgb(34, 31, 41);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;-webkit-font-feature-settings:normal;font-feature-settings:normal;background:rgba(255, 98, 102, 0.2);background:rgba(255, 98, 102, 0.2);color:#ff6266;color:var(--accent);padding:1px 6px;margin:0 2px}code,pre{font-size:.95rem}pre{background:transparent;padding:20px 10px;margin:40px 0;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #ff6266;border-top:1px solid var(--accent);border-bottom:1px solid #ff6266;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:#ff6266;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #ff6266;border:1px dashed var(--accent);padding:10px}th{color:#ff6266;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg,#ff6266,#ff6266 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%;text-decoration:none}.header .menu{--shadow-color:rgba(34, 31, 41, 0.8);--shadow-color:rgba(34, 31, 41, 0.8);--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);margin:20px 0}@media (max-width:683px){.header .menu{position:absolute;background:rgb(34, 31, 41);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:50px;right:0}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}@media (max-width:683px){.header .menu__inner{flex-direction:column;align-items:flex-start;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{positLine truncated
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(34, 31, 41);background-color:rgb(34, 31, 41);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){body{font-size:1rem}}@media (--phone){body{font-size:1rem}}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3,.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{line-height:1.3}.headings--one-size h1:not(first-child),.headings--one-size h2:not(first-child),.headings--one-size h3:not(first-child),.headings--one-size h4:not(first-child),.headings--one-size h5:not(first-child),.headings--one-size h6:not(first-child){margin-top:40px}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3{font-size:1.4rem}.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#ff6266;background:var(--accent);color:rgb(34, 31, 41);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code,kbd{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:rgba(255, 98, 102, 0.2);background:rgba(255, 98, 102, 0.2);color:#ff6266;color:var(--accent);padding:1px 6px;margin:0 2px;font-size:.95rem}code code,code kbd,kbd code,kbd kbd{background:transparent;padding:0;margin:0}pre{background:transparent!important;padding:20px 10px;margin:40px 0;font-size:.95rem;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}@media (--phone){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #ff6266;border-top:1px solid var(--accent);border-bottom:1px solid #ff6266;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}@media (--phone){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:first-of-type:before{content:">";display:block;position:absolute;left:-25px;color:#ff6266;color:var(--accent)}blockquote.twitter-tweet{position:relative;background:rgba(255, 98, 102, 0.1);background:rgba(255, 98, 102, 0.1);font:inherit;color:inherit;border:1px solid #ff6266;border:1px solid var(--accent);padding-top:60px}blockquote.twitter-tweet p:before{content:""}blockquote.twitter-tweet:before{content:"> From Twitter:";position:absolute;top:20px;font-weight:700}blockquote.twitter-tweet:before,blockquote.twitter-tweet a{color:#ff6266;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #ff6266;border:1px dashed var(--accent);padding:10px}th{color:#ff6266;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}@media (--phone){ol,ul{margin-left:20px}}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li:before{content:counter(li);position:absolute;right:calc(100% + 10px);color:#ff6266;color:var(--accent);display:inline-block;text-align:right}ol ol{list-style-type:lower-alpha}mark{background:#ff6266;background:var(--accent);color:rgb(34, 31, 41);color:var(--background)}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;border-right:1px solid hsla(0,0%,100%,.1)}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:683px){.container{padding:20px}}@media (--phone){.container{padding:20px}}@media print{.container{display:inline;display:initial}}.content{display:flex;flex-direction:column}@media print{.content{display:inline;display:initial}}hr{width:100%;border:none;background:hsla(0,0%,100%,.1);background:var(--border-color);height:1px}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}@media print{.header{display:none}}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{cLine truncated
+1 -1
View File
@@ -1 +1 @@
:root{--accent:#ffa86a;--background:rgb(34, 33, 41);--background:rgb(34, 33, 41);--color:#fff;--border-color:hsla(0,0%,100%,0.1);--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)}@font-face{font-family:Fira Code;font-style:normal;font-weight:400;src:url(62da0ac51db1e4a3a4d57b9154a344fc.woff) format("woff")}@font-face{font-family:Fira Code;font-style:normal;font-weight:800;src:url(2bf08001f42c34e30e1de9d2eb81aead.woff) format("woff")}.button-container{display:table;margin-left:auto;margin-right:auto}.button,a.button,button{position:relative;display:flex;align-items:center;justify-content:center;padding:8px 18px;margin-bottom:5px;text-decoration:none;text-align:center;border-radius:8px;border:1px solid transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none}.button.outline,a.button.outline,button.outline{background:transparent;box-shadow:none;padding:8px 18px}.button.outline :hover,a.button.outline :hover,button.outline :hover{-webkit-transform:none;transform:none;box-shadow:none}.button.primary,a.button.primary,button.primary{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.button.primary:hover,a.button.primary:hover,button.primary:hover{box-shadow:0 2px 6px rgba(50,50,93,.21),0 1px 3px rgba(0,0,0,.08)}.button.link,a.button.link,button.link{background:none;font-size:1rem}.button.small,a.button.small,button.small{font-size:.8rem}.button.wide,a.button.wide,button.wide{min-width:200px;padding:14px 24px}a.read-more,a.read-more:active,a.read-more:hover{display:inline-flex;background:none;box-shadow:none;padding:0;margin:20px 0;max-width:100%}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;margin-bottom:5px;text-decoration:none;text-align:center;font-size:13px;font-weight:500;border-radius:8px;border:1px solid transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg,#ffa86a,#ffa86a 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%;text-decoration:none}.header .menu{--shadow-color:rgba(34, 33, 41, 0.8);--shadow-color:rgba(34, 33, 41, 0.8);--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);margin:20px 0}@media (max-width:683px){.header .menu{position:absolute;background:rgb(34, 33, 41);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:50px;right:0}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}@media (max-width:683px){.header .menu__inner{flex-direction:column;align-items:flex-start;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{position:absolute;background:rgb(34, 33, 41);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:35px;left:0}.header .menu__sub-inner-more-trigger{color:#ffa86a;color:var(--accent);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu .spacer{flex-grow:1}.header .menu .language-selector{position:relative;list-style:none;margin:0}.header .menu .language-selector-current{list-style-type:none;display:flex;flex-direction:row;color:#ffa86a;color:var(--accent);cursor:pointer;margin:0}.header .menu .language-selector__more{position:absolute;background:rgb(34, 33, 41);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:35px;right:0}.header .menu-trigger{color:#ffa86a;color:var(--accent);border:2px solid;margin-left:10px;height:100%;padding:3px 8px;position:relative}.logo{display:flex;align-items:center;text-decoration:none;background:#ffa86a;background:var(--accent);color:#000;padding:5px 10px}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-heLine truncated
:root{--accent:#ffa86a;--background:rgb(34, 33, 41);--color:#fff;--border-color:hsla(0,0%,100%,0.1);--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)}@custom-media --phone (max-width: 683px);@custom-media --tablet (max-width: 899px);@font-face{font-display:swap;font-family:Fira Code;font-style:normal;font-weight:400;src:url(0fe15bb5eea5828156c892b0708bea40.woff) format("woff")}@font-face{font-display:swap;font-family:Fira Code;font-style:normal;font-weight:800;src:url(910c4f69908ca1b54b0fed395a9ad573.woff) format("woff")}.button-container{display:table;margin-left:auto;margin-right:auto}.button,a.button,button{position:relative;display:flex;align-items:center;justify-content:center;padding:8px 18px;margin-bottom:5px;text-decoration:none;text-align:center;border-radius:8px;border:1px solid transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none}.button.outline,a.button.outline,button.outline{background:transparent;box-shadow:none;padding:8px 18px}.button.outline :hover,a.button.outline :hover,button.outline :hover{transform:none;box-shadow:none}.button.primary,a.button.primary,button.primary{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.button.primary:hover,a.button.primary:hover,button.primary:hover{box-shadow:0 2px 6px rgba(50,50,93,.21),0 1px 3px rgba(0,0,0,.08)}.button.link,a.button.link,button.link{background:none;font-size:1rem}.button.small,a.button.small,button.small{font-size:.8rem}.button.wide,a.button.wide,button.wide{min-width:200px;padding:14px 24px}a.read-more,a.read-more:active,a.read-more:hover{display:inline-flex;background:none;box-shadow:none;padding:0;margin:20px 0;max-width:100%}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;margin-bottom:5px;text-decoration:none;text-align:center;font-size:13px;font-weight:500;border-radius:8px;border:1px solid transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none}.header{display:flex;flex-direction:column;position:relative}@media print{.header{display:none}}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg,#ffa86a,#ffa86a 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%;text-decoration:none}.header .menu{--shadow-color:rgba(34, 33, 41, 0.8);--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);margin:20px 0}@media (max-width:683px){.header .menu{position:absolute;background:rgb(34, 33, 41);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:50px;right:0}}@media (--phone){.header .menu{position:absolute;background:rgb(34, 33, 41);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:50px;right:0}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}@media (--phone){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}@media (--phone){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}@media (max-width:683px){.header .menu__inner{flex-direction:column;align-items:flex-start;padding:0}.header .menu__inner li{margin:0;padding:5px}}@media (--phone){.header .menu__inner{flex-direction:column;align-items:flex-start;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{position:absolute;background:rgb(34, 33, 41);background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:35px;left:0}.header .menu__sub-inner-more-trigger{color:#ffa86a;color:var(--accent);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu .spacer{flex-grow:1}.header .menu .language-selector{position:relative;list-style:none;margin:0}.header .menu .language-selector-current{list-style-type:none;display:flex;flex-direction:row;color:#ffa86a;color:var(--accent);cursor:pointer;margin:0}.header .menu .language-selector__more{position:absolute;background:rgb(34, 33, 41);background:var(--background);box-Line truncated
+206
View File
@@ -0,0 +1,206 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>0 :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="You found my site. Congratulations.
If there&amp;rsquo;s content on here, how wonderful. If not, then I haven&amp;rsquo;t yet realized my vague plans for a blog.
Fare thee well." />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/blog/0/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta property="og:locale" content="en" />
<meta property="og:type" content="article" />
<meta property="og:title" content="0 :: abdulocracy&#39;s personal site">
<meta property="og:description" content="You found my site. Congratulations.
If there&amp;rsquo;s content on here, how wonderful. If not, then I haven&amp;rsquo;t yet realized my vague plans for a blog.
Fare thee well." />
<meta property="og:url" content="https://abdulocra.cy/blog/0/" />
<meta property="og:site_name" content="0" />
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
<meta property="article:published_time" content="2020-12-25 00:00:00 &#43;0000 UTC" />
</head>
<body class="green">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="/">
<div class="logo">
abdulocracy
</div>
</a>
</div>
<div class="menu-trigger">menu</div>
</div>
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
<ul class="menu__sub-inner">
<li class="menu__sub-inner-more-trigger">menu ▾</li>
<ul class="menu__sub-inner-more hidden">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</ul>
</ul>
<ul class="menu__inner menu__inner--mobile">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="post">
<h1 class="post-title">
<a href="https://abdulocra.cy/blog/0/">0</a></h1>
<div class="post-meta">
<span class="post-date">
2020-12-25 [updated: 2020-12-25]
</span>
</div>
<div class="post-content"><div>
<p>You found my site. Congratulations.</p>
<p>If there&rsquo;s content on here, how wonderful. If not, then I haven&rsquo;t yet realized my vague plans for a blog.</p>
<p>Fare thee well.</p>
</div></div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js"
integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz"
crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
</div>
</body>
</html>
+210
View File
@@ -0,0 +1,210 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Blogs :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/blog/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Blogs :: abdulocracy&#39;s personal site">
<meta property="og:description" content="" />
<meta property="og:url" content="https://abdulocra.cy/blog/" />
<meta property="og:site_name" content="Blogs" />
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
<link href="/blog/index.xml" rel="alternate" type="application/rss+xml" title="abdulocracy&#39;s personal site" />
</head>
<body class="green">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="/">
<div class="logo">
abdulocracy
</div>
</a>
</div>
<div class="menu-trigger">menu</div>
</div>
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
<ul class="menu__sub-inner">
<li class="menu__sub-inner-more-trigger">menu ▾</li>
<ul class="menu__sub-inner-more hidden">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</ul>
</ul>
<ul class="menu__inner menu__inner--mobile">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="posts">
<div class="post on-list">
<h1 class="post-title">
<a href="https://abdulocra.cy/blog/0/">0</a>
</h1>
<div class="post-meta">
<span class="post-date">
2020-12-25
</span>
</div>
<div class="post-content">
</div>
<div>
<a class="read-more button"
href="/blog/0/">more →</a>
</div>
</div>
<div class="pagination">
<div class="pagination__buttons">
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js"
integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz"
crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
</div>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Blogs on abdulocracy&#39;s personal site</title>
<link>https://abdulocra.cy/blog/</link>
<description>Recent content in Blogs on abdulocracy&#39;s personal site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 25 Dec 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://abdulocra.cy/blog/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>0</title>
<link>https://abdulocra.cy/blog/0/</link>
<pubDate>Fri, 25 Dec 2020 00:00:00 +0000</pubDate>
<guid>https://abdulocra.cy/blog/0/</guid>
<description>You found my site. Congratulations.
If there&amp;rsquo;s content on here, how wonderful. If not, then I haven&amp;rsquo;t yet realized my vague plans for a blog.
Fare thee well.</description>
</item>
</channel>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>https://abdulocra.cy/blog/</title><link rel="canonical" href="https://abdulocra.cy/blog/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://abdulocra.cy/blog/" /></head></html>
+29 -43
View File
@@ -5,16 +5,18 @@
<title>Categories :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="robots" content="noodp"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/categories/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/pink.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
@@ -23,25 +25,25 @@
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/img/favicon/favicon.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Categories :: abdulocracy&#39;s personal site — " />
<meta name="twitter:description" content="" />
<meta name="twitter:site" content="https://abdulocra.cy/" />
<meta name="twitter:creator" content="" />
<meta name="twitter:image" content="">
<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Categories :: abdulocracy&#39;s personal site — ">
<meta property="og:title" content="Categories :: abdulocracy&#39;s personal site">
<meta property="og:description" content="" />
<meta property="og:url" content="https://abdulocra.cy/categories/" />
<meta property="og:site_name" content="Categories" />
<meta property="og:image" content="">
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
@@ -60,10 +62,10 @@
</head>
<body class="">
<body class="green">
<div class="container center">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
@@ -97,7 +99,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
@@ -119,7 +121,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
@@ -132,41 +134,27 @@
<div class="content">
<div class="posts">
<div class="pagination">
<div class="pagination__buttons">
<div class="terms">
<h1>Categories</h1>
<ul>
</ul>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2019 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a></span>
<span>:: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/assets/main.js"></script>
<script src="https://abdulocra.cy/assets/prism.js"></script>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
@@ -182,8 +170,6 @@
onload="renderMathInElement(document.body);"></script>
</div>
+2 -7
View File
@@ -5,11 +5,6 @@
<link>https://abdulocra.cy/categories/</link>
<description>Recent content in Categories on abdulocracy&#39;s personal site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>© Abdulkadir Furkan Şanlı 2019</copyright>
<atom:link href="https://abdulocra.cy/categories/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://abdulocra.cy/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
</rss>
Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

+58 -71
View File
@@ -1,21 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="Hugo 0.72.0" />
<meta name="generator" content="Hugo 0.79.1" />
<title>abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="robots" content="noodp"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/pink.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
@@ -24,25 +26,25 @@
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/img/favicon/favicon.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="abdulocracy&#39;s personal site — " />
<meta name="twitter:description" content="" />
<meta name="twitter:site" content="https://abdulocra.cy/" />
<meta name="twitter:creator" content="" />
<meta name="twitter:image" content="">
<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:title" content="abdulocracy&#39;s personal site — ">
<meta property="og:title" content="abdulocracy&#39;s personal site">
<meta property="og:description" content="" />
<meta property="og:url" content="https://abdulocra.cy/" />
<meta property="og:site_name" content="abdulocracy&#39;s personal site" />
<meta property="og:image" content="">
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
@@ -61,10 +63,10 @@
</head>
<body class="">
<body class="green">
<div class="container center">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
@@ -98,7 +100,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
@@ -120,7 +122,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
@@ -133,82 +135,69 @@
<div class="content">
<div class="posts">
<div class="posts">
<div class="post on-list">
<h1 class="post-title">
<a href="https://abdulocra.cy/posts/eidma/">Introduction to Discrete Mathematics</a></h1>
<div class="post-meta">
<span class="post-date">
2019-11-20
</span>
</div>
<span class="post-tags">
#<a href="https://abdulocra.cy/tags/university-notes/">university-notes</a>&nbsp;
</span>
<div class="post-content">
Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets. Propositional calculus Comes from the linguistic concept that things can be either true or false.
We should avoid variables when forming statements, as they may change the logical value.
(2=7) statement (x=5) not a statement In logic we do not use the equals sign, we use the equivalence sign (\equiv).
Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc.
</div>
<div>
<a class="read-more button"
href="/posts/eidma/">read more →</a>
</div>
<div class="post on-list">
<h1 class="post-title">
<a href="https://abdulocra.cy/blog/0/">0</a>
</h1>
<div class="post-meta">
<span class="post-date">
2020-12-25
</span>
</div>
<div class="post-content">
</div>
<div>
<a class="read-more button"
href="/blog/0/">more →</a>
</div>
</div>
</div>
<div class="pagination">
<div class="pagination">
<div class="pagination__buttons">
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2019 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a></span>
<span>:: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/assets/main.js"></script>
<script src="https://abdulocra.cy/assets/prism.js"></script>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
@@ -224,8 +213,6 @@ Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc.
onload="renderMathInElement(document.body);"></script>
</div>
+20 -14
View File
@@ -6,32 +6,38 @@
<description>Recent content on abdulocracy&#39;s personal site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>© Abdulkadir Furkan Şanlı 2019</copyright>
<lastBuildDate>Wed, 20 Nov 2019 00:00:00 +0000</lastBuildDate>
<atom:link href="https://abdulocra.cy/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Fri, 25 Dec 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://abdulocra.cy/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>about</title>
<link>https://abdulocra.cy/about/</link>
<pubDate>Wed, 10 Jun 2020 00:00:00 +0000</pubDate>
<title>0</title>
<link>https://abdulocra.cy/blog/0/</link>
<pubDate>Fri, 25 Dec 2020 00:00:00 +0000</pubDate>
<guid>https://abdulocra.cy/about/</guid>
<description> name: Abdulkadir Furkan Şanlı handle: abdulocracy contact: email: me at abdulocra dot cy gpg: 0xEE6ED1FE irc (freenode): abdulocracy </description>
<guid>https://abdulocra.cy/blog/0/</guid>
<description>You found my site. Congratulations.
If there&amp;rsquo;s content on here, how wonderful. If not, then I haven&amp;rsquo;t yet realized my vague plans for a blog.
Fare thee well.</description>
</item>
<item>
<title>Introduction to Discrete Mathematics</title>
<link>https://abdulocra.cy/posts/eidma/</link>
<link>https://abdulocra.cy/university-notes/eidma/</link>
<pubDate>Wed, 20 Nov 2019 00:00:00 +0000</pubDate>
<guid>https://abdulocra.cy/posts/eidma/</guid>
<guid>https://abdulocra.cy/university-notes/eidma/</guid>
<description>Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets. Propositional calculus Comes from the linguistic concept that things can be either true or false.
We should avoid variables when forming statements, as they may change the logical value.
\(2=7\) statement \(x=5\) not a statement In logic we do not use the equals sign, we use the equivalence sign \(\equiv\).
Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc.</description>
</item>
<item>
<title>about</title>
<link>https://abdulocra.cy/about/</link>
<pubDate>Mon, 04 Nov 2019 00:00:00 +0000</pubDate>
<guid>https://abdulocra.cy/about/</guid>
<description> name: Abdulkadir Furkan Şanlı handle: abdulocracy contact: email: me at abdulocra dot cy gpg: 0xEE6ED1FE irc (freenode): abdulocracy </description>
</item>
</channel>
</rss>
</rss>
+20 -16
View File
@@ -3,37 +3,41 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://abdulocra.cy/about/</loc>
<lastmod>2020-06-10T00:00:00+00:00</lastmod>
<loc>https://abdulocra.cy/blog/0/</loc>
<lastmod>2020-12-25T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/</loc>
<lastmod>2020-12-25T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/blog/</loc>
<lastmod>2020-12-25T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/university-notes/eidma/</loc>
<lastmod>2019-11-20T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/posts/eidma/</loc>
<loc>https://abdulocra.cy/university-notes/</loc>
<lastmod>2019-11-20T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/posts/</loc>
<lastmod>2019-11-20T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/tags/</loc>
<lastmod>2019-11-20T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/tags/university-notes/</loc>
<lastmod>2019-11-20T00:00:00+00:00</lastmod>
<loc>https://abdulocra.cy/about/</loc>
<lastmod>2019-11-04T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://abdulocra.cy/categories/</loc>
</url>
</urlset>
<url>
<loc>https://abdulocra.cy/tags/</loc>
</url>
</urlset>
+29 -43
View File
@@ -5,16 +5,18 @@
<title>Tags :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="robots" content="noodp"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/tags/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/pink.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
@@ -23,25 +25,25 @@
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/img/favicon/favicon.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Tags :: abdulocracy&#39;s personal site — " />
<meta name="twitter:description" content="" />
<meta name="twitter:site" content="https://abdulocra.cy/" />
<meta name="twitter:creator" content="" />
<meta name="twitter:image" content="">
<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Tags :: abdulocracy&#39;s personal site — ">
<meta property="og:title" content="Tags :: abdulocracy&#39;s personal site">
<meta property="og:description" content="" />
<meta property="og:url" content="https://abdulocra.cy/tags/" />
<meta property="og:site_name" content="Tags" />
<meta property="og:image" content="">
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
@@ -60,10 +62,10 @@
</head>
<body class="">
<body class="green">
<div class="container center">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
@@ -97,7 +99,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
@@ -119,7 +121,7 @@
<li><a href="/tags/university-notes">university notes</a></li>
<li><a href="/university-notes">university notes</a></li>
@@ -132,41 +134,27 @@
<div class="content">
<div class="posts">
<div class="pagination">
<div class="pagination__buttons">
<div class="terms">
<h1>Tags</h1>
<ul>
</ul>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2019 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a></span>
<span>:: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/assets/main.js"></script>
<script src="https://abdulocra.cy/assets/prism.js"></script>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
@@ -182,8 +170,6 @@
onload="renderMathInElement(document.body);"></script>
</div>
+2 -17
View File
@@ -5,21 +5,6 @@
<link>https://abdulocra.cy/tags/</link>
<description>Recent content in Tags on abdulocracy&#39;s personal site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>© Abdulkadir Furkan Şanlı 2019</copyright>
<lastBuildDate>Wed, 20 Nov 2019 00:00:00 +0000</lastBuildDate>
<atom:link href="https://abdulocra.cy/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>university-notes</title>
<link>https://abdulocra.cy/tags/university-notes/</link>
<pubDate>Wed, 20 Nov 2019 00:00:00 +0000</pubDate>
<guid>https://abdulocra.cy/tags/university-notes/</guid>
<description></description>
</item>
<language>en-us</language><atom:link href="https://abdulocra.cy/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
</rss>
+443
View File
@@ -0,0 +1,443 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Introduction to Discrete Mathematics :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets. Propositional calculus Comes from the linguistic concept that things can be either true or false.
We should avoid variables when forming statements, as they may change the logical value.
\(2=7\) statement \(x=5\) not a statement In logic we do not use the equals sign, we use the equivalence sign \(\equiv\).
Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc." />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/university-notes/eidma/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta property="og:locale" content="en" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Introduction to Discrete Mathematics :: abdulocracy&#39;s personal site">
<meta property="og:description" content="Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets. Propositional calculus Comes from the linguistic concept that things can be either true or false.
We should avoid variables when forming statements, as they may change the logical value.
\(2=7\) statement \(x=5\) not a statement In logic we do not use the equals sign, we use the equivalence sign \(\equiv\).
Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc." />
<meta property="og:url" content="https://abdulocra.cy/university-notes/eidma/" />
<meta property="og:site_name" content="Introduction to Discrete Mathematics" />
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
<meta property="article:published_time" content="2019-11-20 00:00:00 &#43;0000 UTC" />
</head>
<body class="green">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="/">
<div class="logo">
abdulocracy
</div>
</a>
</div>
<div class="menu-trigger">menu</div>
</div>
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
<ul class="menu__sub-inner">
<li class="menu__sub-inner-more-trigger">menu ▾</li>
<ul class="menu__sub-inner-more hidden">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</ul>
</ul>
<ul class="menu__inner menu__inner--mobile">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="post">
<h1 class="post-title">
<a href="https://abdulocra.cy/university-notes/eidma/">Introduction to Discrete Mathematics</a></h1>
<div class="post-meta">
<span class="post-date">
2019-11-20 [updated: 2019-11-20]
</span>
</div>
<div class="post-content"><div>
<ul>
<li>Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets.</li>
</ul>
<h2 id="propositional-calculus">Propositional calculus<a href="#propositional-calculus" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li><p>Comes from the linguistic concept that things can be either true or false.</p></li>
<li><p>We should avoid variables when forming statements, as they may change the logical value.</p>
<ul>
<li><span class="math inline">\(2=7\)</span> statement</li>
<li><span class="math inline">\(x=5\)</span> not a statement</li>
</ul></li>
<li><p>In logic we do not use the equals sign, we use the equivalence sign <span class="math inline">\(\equiv\)</span>.</p></li>
<li><p>Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc.).</p></li>
<li><p>When doing logic, we use propositional variables (e.g. p, q, r).</p>
<ul>
<li>Can be either <strong>true</strong> or <strong>false</strong>.</li>
</ul></li>
<li><p>The operations done on propositional variables are called propositional connectives.</p>
<ul>
<li>Conjunction: <span class="math inline">\(p \land q\)</span> is only true if both p and q are true <span class="math inline">\((0001)\)</span></li>
<li>Disjunction: <span class="math inline">\(p \lor q\)</span> is only false if both p and q are false <span class="math inline">\((0111)\)</span></li>
<li>Implication (material conditional): <span class="math inline">\(p \implies q\)</span> is false only if p is true and q is false (truth table <span class="math inline">\((1011)\)</span>)
<ul>
<li><span class="math inline">\(\equiv \neg p \lor q\)</span></li>
</ul></li>
</ul></li>
<li><p>Not necessarily connectives but unary operations:</p>
<ul>
<li>Negation: Denoted by ~, <span class="math inline">\(\neg\)</span> or NOT, negates the one input <span class="math inline">\((10)\)</span>.</li>
</ul></li>
<li><p>A (propositional) formula is a “properly constructed” logical expression.</p>
<ul>
<li>e.g. <span class="math inline">\(\neg[(p \lor q)] \land r\)</span></li>
<li><span class="math inline">\((p \land)\)</span> is not a formula, as <span class="math inline">\(\land\)</span> requires 2 variables.</li>
<li>Logical equivalence: <span class="math inline">\(\phi(p, q, k) \equiv \psi(p, q, k)\)</span>, logical value of <span class="math inline">\(\phi\)</span> is equal to logical value of <span class="math inline">\(\psi\)</span>.</li>
<li>Commutativity: <span class="math inline">\(p \land q \equiv q \land p\)</span></li>
<li>Associativity: <span class="math inline">\((p \land q) \land r \equiv p \land (q \land r)\)</span></li>
<li>Distributivity: <span class="math inline">\(p \land (q \lor r) \equiv (p \land q) \lor (p \land r)\)</span></li>
<li>Conjunctive normal form: every formula can be written as a conjunction of one or more disjunctions.
<ul>
<li><span class="math inline">\(\neg(B \lor C)\)</span> can be written as <span class="math inline">\(\neg B \land \neg C\)</span></li>
</ul></li>
</ul></li>
<li><p>Double negation law: <span class="math inline">\(\neg(\neg p) \equiv p\)</span></p></li>
<li><p>De Morgan’s laws: <span class="math inline">\(\neg(p \land q) \equiv \neg p \lor \neg q\)</span> and <span class="math inline">\(\neg(p \lor q) \equiv \neg p \land \neg q\)</span>.</p></li>
<li><p>If and only if (<em>iff</em>): <span class="math inline">\(p \iff p \equiv (p \implies q) \land (q \implies p)\)</span></p></li>
<li><p>Contraposition law:</p>
<ul>
<li><span class="math inline">\((p \implies q) \equiv (\neg q \implies \neg p)\)</span> prove by contraposition
<ul>
<li><span class="math inline">\((p \implies q) \equiv (\neg p \lor q)\)</span></li>
<li><span class="math inline">\((\neg q \implies \neg p) \equiv (\neg (\neg q) \lor (\neg p) \equiv (q \lor \neg p) \equiv (\neg p \lor q)\)</span></li>
</ul></li>
</ul></li>
<li><p>Contradiction law:</p>
<ul>
<li><span class="math inline">\(p \lor \neg p \equiv 1\)</span> and <span class="math inline">\(p \land \neg p \equiv 0\)</span></li>
</ul></li>
<li><p>Tautology: <span class="math inline">\(\phi (p, q, ... r)\)</span> is a tautology <em>iff</em> <span class="math inline">\(\phi \equiv 1\)</span></p></li>
</ul>
<h2 id="sets">Sets<a href="#sets" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li>We will consider subsets of universal set <span class="math inline">\(\mathbb X\)</span>
<ul>
<li><span class="math inline">\(2^\mathbb X = \{ A : A \subseteq \mathbb X\}\)</span></li>
<li><span class="math inline">\(2^\mathbb X = P(\mathbb X)\)</span></li>
<li>All 2 object subsets of <span class="math inline">\(\mathbb X\)</span>: <span class="math inline">\(P_2(\mathbb X)\)</span></li>
</ul></li>
<li><span class="math inline">\(A \subset B \equiv\)</span> every element of A is an element of B <span class="math inline">\(\equiv \{x \in \mathbb X : x \in A \implies x \in B\}\)</span></li>
<li>Operations on sets:
<ul>
<li>Union - <span class="math inline">\(\cup\)</span> - <span class="math inline">\(A \cup B = \{ x \in \mathbb X : x \in A \lor x \in B \}\)</span></li>
<li>Intersection - <span class="math inline">\(\cap\)</span> - <span class="math inline">\(A \cap B = \{ x \in \mathbb X : x \in A \land x \in B \}\)</span></li>
<li>Complement - <span class="math inline">\(A&#39;\)</span> - <span class="math inline">\(A&#39; = \{ x \in \mathbb X : \neg (x \in A) \}\)</span>
<ul>
<li>If <span class="math inline">\(x = \{ 1 \}\)</span> then <span class="math inline">\(x&#39; = \emptyset\)</span></li>
</ul></li>
</ul></li>
<li>Equality of sets: <span class="math inline">\(A = B\)</span> iff <span class="math inline">\(x \in \mathbb X : (x \in A \iff x \in B)\)</span></li>
<li>Difference of sets:
<ul>
<li><span class="math inline">\(A \setminus B = \{ x \in \mathbb X : x \in A \land x \notin B \} = A \cap B&#39;\)</span></li>
<li>Symmetric difference: <span class="math inline">\(A \div B = (A \setminus B) \cup (B \setminus A)\)</span></li>
</ul></li>
<li>Laws of set algebra:
<ul>
<li><span class="math inline">\(A \cup B = B \cup A , A \cap B = B \cap A\)</span></li>
<li><span class="math inline">\((A \cup B) \cup C = A \cup (B \cup C), (A \cap B) \cap C = A \cap (B \cap C)\)</span></li>
<li><span class="math inline">\((A \cap (B \cup C) = (A \cap B) \cup (A \cap C)\)</span> vice versa</li>
<li><span class="math inline">\(A \cap \emptyset, A \cap \mathbb X = A, A \cup \emptyset = A, A \cup \mathbb X = \mathbb X\)</span></li>
<li><span class="math inline">\((A \cup B)&#39; = A&#39; \cap B&#39;\)</span> vice versa</li>
<li><span class="math inline">\(A \cup A&#39; = \mathbb X, A \cap A&#39; = \emptyset\)</span></li>
</ul></li>
<li>Note: <span class="math inline">\(\{ \emptyset \} \neq \emptyset\)</span>, one is a set with one element, one is the empty set, no elements (<span class="math inline">\(\{ \}\)</span>)</li>
<li>Quip: <span class="math inline">\(\{ x \in \mathbb R : x^2 = -1\} = \emptyset\)</span></li>
</ul>
<h2 id="quantifiers">Quantifiers<a href="#quantifiers" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li><span class="math inline">\(\phi\)</span> - prepositional function: yields only true or false value</li>
<li><span class="math inline">\(\forall\)</span> means “for all” and <span class="math inline">\(\exists\)</span> means “there exists”</li>
<li><span class="math inline">\(\forall\)</span>:
<ul>
<li>Shorthand for <span class="math inline">\(\land\)</span> e.g. <span class="math inline">\((\forall x \in \{ 1, 2, ... 10 \}) x &gt; 0 \equiv 1 &gt; 0 \land 2 &gt; 0 \land ... 10 &gt; 0\)</span></li>
</ul></li>
<li><span class="math inline">\(\exists\)</span>:
<ul>
<li>Shorthand for <span class="math inline">\(\lor\)</span> e.g. <span class="math inline">\((\exists x \in \{ 1, 2, ... 10 \}) x &gt; 5 \equiv 1 &gt; 5 \lor 2 &gt; 5 \lor ... 10 &gt; 5\)</span></li>
</ul></li>
<li><span class="math inline">\(\neg \forall \equiv \exists\)</span>, vice versa</li>
<li>With quantifiers we can write logical statements e.g.
<ul>
<li><span class="math inline">\((\forall x \in \mathbb{R}) (\forall y \in \mathbb{R}) x &gt; y\)</span> is a statement and is false</li>
<li><span class="math inline">\((\forall x) (\exists y) x &gt; y\)</span> is true</li>
<li>shortcut: <span class="math inline">\((\exists x, y) \equiv (\exists x) (\exists y)\)</span></li>
</ul></li>
<li>Quantifiers can be expressed in set language, sort of a definition in terms of sets:
<ul>
<li><span class="math inline">\((\forall x \in \mathbb{X}) (\phi(x)) \equiv \{ p \in \mathbb{X} : \phi(p) \} = \mathbb{X}\)</span></li>
<li><span class="math inline">\((\exists x \in \mathbb{X}) (\phi(x)) \equiv \{ q \in \mathbb{X} : \phi(q) \} \neq \emptyset\)</span></li>
<li><span class="math inline">\((\exists x \in \mathbb{X}) (\neg \phi(x)) \equiv \neg ( \{ p \in \mathbb{X} : \phi(p) \} = \mathbb{X} )\)</span></li>
</ul></li>
<li>Order of quantifiers matters.</li>
</ul>
<h2 id="relations">Relations<a href="#relations" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li>Cartesian product:
<ul>
<li><span class="math inline">\(A \times B = \{ (p, q) : p \in A \land q \in B \}\)</span></li>
</ul></li>
<li>Def: A relation <span class="math inline">\(R\)</span> on a set <span class="math inline">\(\mathbb X\)</span> is a subset of <span class="math inline">\(\mathbb X \times \mathbb X\)</span> (<span class="math inline">\(R \subseteq \mathbb X \times \mathbb X\)</span>)</li>
<li>Graph of a function <span class="math inline">\(f()\)</span>: <span class="math inline">\(\{ (x, f(x) : x \in Dom(f) \}\)</span></li>
<li>Properties of:
<ul>
<li>Reflexivity: <span class="math inline">\((\forall x \in \mathbb X ) (x, x) \in R \equiv (\forall x \in \mathbb X) x R x\)</span></li>
<li>Symmetricity: <span class="math inline">\([ (\forall x, y \in \mathbb X) (x, y) \in R \implies (y, x) \in R) ] \equiv [ (\forall x, y \in \mathbb X) ( x R y \implies y R x) ]\)</span></li>
<li>Transitivity: <span class="math inline">\((\forall x, y, z \in \mathbb X) (x R y \land y R z \implies x R z)\)</span></li>
<li>Antisymmetricity: <span class="math inline">\((\forall x, y \in \mathbb X) (x R y \land y R x \implies x = y)\)</span></li>
</ul></li>
<li>Equivalence relations:
<ul>
<li>Def: <span class="math inline">\(R \subseteq \mathbb X \times \mathbb X\)</span> is said to be an equivalence relation <em>iff</em> <span class="math inline">\(R\)</span> is reflexive, symmetric and transitive.</li>
<li>Congruence modulo n: <span class="math inline">\(p R q \equiv n | p - q\)</span></li>
<li>Def R - and equivalence relation of <span class="math inline">\(\mathbb X\)</span>: The <em>equivalence class</em> of an element <span class="math inline">\(x \in \mathbb X\)</span> is the set <span class="math inline">\([x]_R = \{ y \in \mathbb X : x R y \}\)</span>
<ul>
<li>Every <span class="math inline">\(x \in \mathbb X\)</span> belongs to the equivalence class of some element <span class="math inline">\(a\)</span>.</li>
<li><span class="math inline">\((\forall x, y \in \mathbb X) ([x] \cap [y] \neq \emptyset \iff [x] = [y])\)</span></li>
</ul></li>
</ul></li>
<li>Partitions
<ul>
<li>A partition is a set containing subsets of some set <span class="math inline">\(\mathbb X\)</span> such that their collective symmetric difference equals <span class="math inline">\(\mathbb X\)</span>. A partition of is a set <span class="math inline">\(\{ A_i: i \in \mathbb I \land A_i \subseteq \mathbb X \}\)</span> such that:
<ul>
<li><span class="math inline">\((\forall x \in \mathbb X) (\exists j \in \mathbb I) (x \in A_j)\)</span></li>
<li><span class="math inline">\((\forall i, j \in \mathbb I) (i \neq j \implies A_i \cap A_j = \emptyset)\)</span></li>
</ul></li>
<li><span class="math inline">\(\{ A_i \}_{i \in \mathbb I}\)</span> is a partition <em>iff</em> there exists an equivalence relation <span class="math inline">\(R\)</span> on <span class="math inline">\(\mathbb X\)</span> such that:
<ul>
<li><span class="math inline">\((\forall i \in \mathbb I) (\exists x \in \mathbb X) A_i = [x]_R\)</span></li>
<li><span class="math inline">\((\forall x \in \mathbb X) (\exists j \in \mathbb I) [x] = A_j\)</span></li>
</ul></li>
<li>The quotient set: <span class="math inline">\(\mathbb X / R = \{ [a] : a \in \mathbb X \}\)</span></li>
</ul></li>
</ul>
<h2 id="posets">Posets<a href="#posets" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li>Partial orders
<ul>
<li><span class="math inline">\(\mathbb X\)</span> is a set, <span class="math inline">\(R \subseteq \mathbb X \times \mathbb X\)</span></li>
<li>Def: <span class="math inline">\(R\)</span> is a partial order on <span class="math inline">\(\mathbb X\)</span> iff <span class="math inline">\(R\)</span> is:
<ul>
<li>Reflexive</li>
<li>Antisymmetric</li>
<li>Transitive</li>
</ul></li>
<li>Def: <span class="math inline">\(m \in \mathbb X\)</span> is said to be:
<ul>
<li>maximal element in <span class="math inline">\((\mathbb X, \preccurlyeq)\)</span> iff <span class="math inline">\((\forall a \in \mathbb X) m \preccurlyeq a \implies m = a\)</span></li>
<li>largest iff <span class="math inline">\((\forall a \in \mathbb X) (a \preccurlyeq m)\)</span></li>
<li>minimal iff <span class="math inline">\((\forall a \in \mathbb X) (a \preccurlyeq m \implies a = m)\)</span></li>
<li>smallest iff <span class="math inline">\((\forall a \in \mathbb X) (m \preccurlyeq a)\)</span></li>
</ul></li>
<li>Def: A partial order <span class="math inline">\(R\)</span> on <span class="math inline">\(\mathbb X\)</span> is said to be <em>“total”</em> iff <span class="math inline">\((\forall x, y \in \mathbb X) (x R y \lor y R x)\)</span></li>
<li>Def: A subset <span class="math inline">\(B\)</span> of <span class="math inline">\(\mathbb X\)</span> is called a chain <em>“chain”</em> iff <span class="math inline">\(B\)</span> is totally ordered by <span class="math inline">\(R\)</span>
<ul>
<li><span class="math inline">\(C(\mathbb X)\)</span> - the set of all chains in <span class="math inline">\((\mathbb X, R)\)</span></li>
<li>A chain <span class="math inline">\(D\)</span> in <span class="math inline">\((\mathbb X, R)\)</span> is called a maximal chain iff <span class="math inline">\(D\)</span> is a maximal element in <span class="math inline">\((C(\mathbb X), R)\)</span></li>
<li><span class="math inline">\(K \subseteq \mathbb X\)</span> is called an antichain in <span class="math inline">\((\mathbb X, R)\)</span> iff <span class="math inline">\((\forall p, q \in K) (p R q \lor q R p \implies p = q)\)</span></li>
<li>Def: <span class="math inline">\(R\)</span> is a partial order on <span class="math inline">\(\mathbb X\)</span>, <span class="math inline">\(R\)</span> is called a <em>well</em> order iff <span class="math inline">\(R\)</span> is a total order on <span class="math inline">\(X\)</span> and every nonempty subset <span class="math inline">\(A\)</span> of <span class="math inline">\(\mathbb X\)</span> has the smallest element</li>
</ul></li>
</ul></li>
</ul>
<h2 id="induction">Induction<a href="#induction" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li>If <span class="math inline">\(\phi\)</span> is a propositional function defined on <span class="math inline">\(\mathbb N\)</span>, if:
<ul>
<li><span class="math inline">\(\phi(1)\)</span></li>
<li><span class="math inline">\((\forall n \geq 1) \phi(n) \implies \phi(n+1)\)</span></li>
<li><span class="math inline">\((\forall k \geq 1) \phi(k)\)</span></li>
</ul></li>
</ul>
<h2 id="functions">Functions<a href="#functions" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li><span class="math inline">\(f: \mathbb X \to \mathbb Y\)</span></li>
<li>Def: <span class="math inline">\(f \subseteq \mathbb X \times \mathbb Y\)</span> is said to be a function if:
<ul>
<li><span class="math inline">\((\forall x \in \mathbb X)(\exists y \in \mathbb Y) (x, y) \in f(y = f(x))\)</span></li>
<li><span class="math inline">\((\forall a \in \mathbb X)(\forall p, q \in \mathbb Y)((a, p) \in f \land (a, q) \in f \implies p = q)\)</span></li>
</ul></li>
<li>Types of functions <span class="math inline">\(f: \mathbb X \to \mathbb Y\)</span>:
<ul>
<li><span class="math inline">\(f\)</span> is said to be an injection ( 1 to 1 function) iff <span class="math inline">\((\forall x_1, x_2 \in \mathbb X) x_1 \neq x_2 \implies f(x_1) \neq f(x_2)\)</span></li>
<li><span class="math inline">\(f\)</span> is said to be a surjection (onto function) iff <span class="math inline">\((\forall y \in \mathbb Y)(\exists x \in \mathbb X) f(x) = y\)</span></li>
<li>If <span class="math inline">\(f^{-1}\)</span> is a function from <span class="math inline">\(\mathbb Y \to \mathbb X\)</span> then <span class="math inline">\(f^{-1}\)</span> is called the inverse function for <span class="math inline">\(f\)</span>
<ul>
<li>Fact: <span class="math inline">\(f^{-1}\)</span> is a function iff <span class="math inline">\(f\)</span> is a <em>bijection</em> (1 to 1 and onto)</li>
</ul></li>
</ul></li>
<li>For some set <span class="math inline">\(\mathbb A\)</span> the image of <span class="math inline">\(\mathbb A\)</span> by <span class="math inline">\(f\)</span> is <span class="math inline">\(f(\mathbb A) = \{ f(x) : x \in \mathbb A \}\)</span>. We can also define the inverse of an image even when the function itself isn’t invertible: <span class="math inline">\(f^{-1}(\mathbb A)\)</span></li>
</ul>
<h2 id="combinatorics">Combinatorics<a href="#combinatorics" class="hanchor" ariaLabel="Anchor">&#8983;</a> </h2>
<ul>
<li><span class="math inline">\(|\mathbb A|\)</span> size (number of elements) of <span class="math inline">\(\mathbb A\)</span></li>
<li>Rule of addition:
<ul>
<li>If <span class="math inline">\(\mathbb A, \mathbb B \subseteq \mathbb X\)</span> and <span class="math inline">\(|\mathbb A|, |\mathbb B| \in \mathbb N\)</span> and <span class="math inline">\(\mathbb A \cap \mathbb B = \emptyset\)</span> then <span class="math inline">\(|\mathbb A \cup \mathbb B| = |\mathbb A| + |\mathbb B|\)</span></li>
<li>Can be generalized as: <span class="math display">\[
(\forall n ) \mathbb{A}_1, \mathbb{A}_2, ..., \mathbb{A}_n \in \mathbb{X} \land \\
|\mathbb{A}_1|, |\mathbb{A}_2|, ..., |\mathbb{A}_n| \in \mathbb{N} \implies \\
(\forall i, j \in \{1, 2, ..., n \})(i \neq j \implies \mathbb{A}_i \cap \mathbb{A}_j = \emptyset)
\]</span></li>
</ul></li>
<li>Rule of multiplication:
<ul>
<li><span class="math inline">\(\mathbb{A}, \mathbb{B} \subseteq \mathbb{X}, |\mathbb{A} \times \mathbb{B}| = |\mathbb{A}| \cdot |\mathbb{B}|\)</span></li>
<li>Can be generalized as: <span class="math display">\[
(\forall n ) \mathbb{A}_1, \mathbb{A}_2, ..., \mathbb{A}_n \in \mathbb{X} \land |\mathbb{A}_i| \in \mathbb{N} \implies \\
|\mathbb{A}_1 \times \mathbb{A}_2 \times ... \times \mathbb{A}_n| = |\mathbb{A}_1| \cdot |\mathbb{A}_2| \cdot ... \cdot |\mathbb{A_n}|
\]</span></li>
</ul></li>
</ul>
</div></div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js"
integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz"
crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
</div>
</body>
</html>
+215
View File
@@ -0,0 +1,215 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>University-notes :: abdulocracy&#39;s personal site</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://abdulocra.cy/university-notes/" />
<link rel="stylesheet" href="https://abdulocra.cy/assets/style.css">
<link rel="stylesheet" href="https://abdulocra.cy/assets/green.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://abdulocra.cy/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="https://abdulocra.cy/favicon.png">
<meta name="twitter:card" content="summary" />
<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:title" content="University-notes :: abdulocracy&#39;s personal site">
<meta property="og:description" content="" />
<meta property="og:url" content="https://abdulocra.cy/university-notes/" />
<meta property="og:site_name" content="University-notes" />
<meta property="og:image" content="https://abdulocra.cy/favicon.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
<link href="/university-notes/index.xml" rel="alternate" type="application/rss+xml" title="abdulocracy&#39;s personal site" />
</head>
<body class="green">
<div class="container center headings--one-size">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="/">
<div class="logo">
abdulocracy
</div>
</a>
</div>
<div class="menu-trigger">menu</div>
</div>
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
<ul class="menu__sub-inner">
<li class="menu__sub-inner-more-trigger">menu ▾</li>
<ul class="menu__sub-inner-more hidden">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</ul>
</ul>
<ul class="menu__inner menu__inner--mobile">
<li><a href="/about">about</a></li>
<li><a href="https://music.abdulocra.cy">music</a></li>
<li><a href="/university-notes">university notes</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="posts">
<div class="post on-list">
<h1 class="post-title">
<a href="https://abdulocra.cy/university-notes/eidma/">Introduction to Discrete Mathematics</a>
</h1>
<div class="post-meta">
<span class="post-date">
2019-11-20
</span>
</div>
<div class="post-content">
Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets. Propositional calculus Comes from the linguistic concept that things can be either true or false.
We should avoid variables when forming statements, as they may change the logical value.
(2=7) statement (x=5) not a statement In logic we do not use the equals sign, we use the equivalence sign (\equiv).
Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc.
</div>
<div>
<a class="read-more button"
href="/university-notes/eidma/">more →</a>
</div>
</div>
<div class="pagination">
<div class="pagination__buttons">
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright copyright--user">
<span>© Abdulkadir Furkan Şanlı 2020 :: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC
BY-ND</a> :: theme by <a href="https://twitter.com/panr">panr</a></span>
</div>
</footer>
<script src="https://abdulocra.cy/%20assets/main.js"></script>
<script src="https://abdulocra.cy/%20assets/prism.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js"
integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz"
crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
</div>
</body>
</html>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>University-notes on abdulocracy&#39;s personal site</title>
<link>https://abdulocra.cy/university-notes/</link>
<description>Recent content in University-notes on abdulocracy&#39;s personal site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Wed, 20 Nov 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://abdulocra.cy/university-notes/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Introduction to Discrete Mathematics</title>
<link>https://abdulocra.cy/university-notes/eidma/</link>
<pubDate>Wed, 20 Nov 2019 00:00:00 +0000</pubDate>
<guid>https://abdulocra.cy/university-notes/eidma/</guid>
<description>Mathematics without infinitely small, continuous mathematical objects. The mathematics of finite sets. Propositional calculus Comes from the linguistic concept that things can be either true or false.
We should avoid variables when forming statements, as they may change the logical value.
\(2=7\) statement \(x=5\) not a statement In logic we do not use the equals sign, we use the equivalence sign \(\equiv\).
Logical values (booleans) are denoted by either 0 or 1 (or t, f, etc.</description>
</item>
</channel>
</rss>
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>https://abdulocra.cy/university-notes/</title><link rel="canonical" href="https://abdulocra.cy/university-notes/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://abdulocra.cy/university-notes/" /></head></html>