Skip to content
Snippets Groups Projects
Commit 83e8cfc1 authored by Alfex4936's avatar Alfex4936
Browse files

Footer

parent c5498284
No related branches found
No related tags found
No related merge requests found
Pipeline #5497 passed
Showing
with 635 additions and 7 deletions
<!DOCTYPE html>
<html lang="ko">
<head>
<title>Rust 튜토리얼 - 자기주도프로젝트</title>
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Rust, Programming, Learning">
<meta name="description" content="Rust tutorial website based on tour_of_rust">
<meta name="theme-color" content="#ff6801"/>
<meta http-equiv="Cache-Control" content="max-age=3600">
<link rel="stylesheet" href="tour.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="/manifest" href="./site.webmanifest">
<script src="//unpkg.com/@highlightjs/cdn-assets@11.7.0/highlight.min.js"></script>
<script src="./tour.js" defer></script>
<!-- <script>hljs.highlightAll();</script> -->
<script src="./highlight.badge.min.js"></script>
</head>
<body>
<div class="tour">
<div class="header">
<span class="title"><a href="index.html">Rust 튜토리얼</a></span>
<span class="nav">
<span class="toc"><a href="TOC_ko.html">목차</a></span>
</div>
<div class="page">
<h1>Hey</h1>
<p>CSW</p>
<div class="bottomnav">
<span class="back"><a href="chapter_5_ko.html" rel="prev">❮ 이전</a></span>
<span class="next"><a href="chapter_6_ko.html" rel="next">다음 ❯</a></span>
</div>
</div>
<div class="code"><center><img src="/ferris_lofi.png" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
// Select the widget's text element using its XPath
const xpath = '/html/body/main/div/div/div[1]/div[1]/div/button[1]/div';
const widgetText = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Change the text content of the element
widgetText.textContent = "New Text";
});
</script> -->
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightElement(pres[i]);
}
var options = {
loadDelay: 0,
copyIconClass: "far fa-clipboard",
checkIconClass: "fa fa-check text-success",
blogURL: "http://rust-study.ajousw.kr/"
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="ko">
<head>
<title>Rust 튜토리얼 - 자기주도프로젝트</title>
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Rust, Programming, Learning">
<meta name="description" content="Rust tutorial website based on tour_of_rust">
<meta name="theme-color" content="#ff6801"/>
<meta http-equiv="Cache-Control" content="max-age=3600">
<link rel="stylesheet" href="tour.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="/manifest" href="./site.webmanifest">
<script src="//unpkg.com/@highlightjs/cdn-assets@11.7.0/highlight.min.js"></script>
<script src="./tour.js" defer></script>
<!-- <script>hljs.highlightAll();</script> -->
<script src="./highlight.badge.min.js"></script>
</head>
<body>
<div class="tour">
<div class="header">
<span class="title"><a href="index.html">Rust 튜토리얼</a></span>
<span class="nav">
<span class="toc"><a href="TOC_ko.html">목차</a></span>
</div>
<div class="page">
<h1>Hey</h1>
<p>CSW</p>
<div class="bottomnav">
<span class="back"><a href="chapter_6_ko.html" rel="prev">❮ 이전</a></span>
</div>
</div>
<div class="code"><center><img src="/ferris_lofi.png" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
// Select the widget's text element using its XPath
const xpath = '/html/body/main/div/div/div[1]/div[1]/div/button[1]/div';
const widgetText = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Change the text content of the element
widgetText.textContent = "New Text";
});
</script> -->
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightElement(pres[i]);
}
var options = {
loadDelay: 0,
copyIconClass: "far fa-clipboard",
checkIconClass: "fa fa-check text-success",
blogURL: "http://rust-study.ajousw.kr/"
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
......@@ -51,8 +51,20 @@
<li><a href="12_ko.html">Arrays</a></li>
<li><a href="13_ko.html">Functions</a></li>
<li><a href="14_ko.html">Multiple Return Values</a></li>
<li><a href="15_ko.html">Returning Nothing</a></li>
<li><a href="16_ko.html">Chapter 1 - 마무리</a></li>
<li><a href="15_ko.html">Struct and Enum</a></li>
<li><a href="16_ko.html">Returning Nothing</a></li>
<li><a href="17_ko.html">Error handling</a></li>
<li><a href="18_ko.html">Chapter 1 - 마무리</a></li>
</ul><h3><a href="chapter_2_ko.html">Chapter 2 - Ownership</a></h3><ul>
<li><a href="20_ko.html">Hey</a></li>
</ul><h3><a href="chapter_3_ko.html">Chapter 3 - Generic, Trait</a></h3><ul>
<li><a href="22_ko.html">Hey</a></li>
</ul><h3><a href="chapter_4_ko.html">Chapter 4 - Advanced</a></h3><ul>
<li><a href="24_ko.html">Hey</a></li>
</ul><h3><a href="chapter_5_ko.html">Chapter 5 - Module</a></h3><ul>
<li><a href="26_ko.html">Hey</a></li>
</ul><h3><a href="chapter_6_ko.html">Chapter 6 - Web Framework</a></h3><ul>
<li><a href="28_ko.html">Hey</a></li>
</ul>
</div>
</div>
......
docs/ajou.webp

3.1 KiB

......@@ -44,7 +44,7 @@
<span class="next"><a href="06_ko.html" rel="next">다음 ❯</a></span>
</div>
</div>
<div class="code"><center><img src="/ferris_lofi.png" alt="Mascot Ferris" width="300" height="236"></center></div>
<div class="code"><center><img src="/ferris_lofi.png" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
......@@ -70,5 +70,9 @@
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="ko">
<head>
<title>Rust 튜토리얼 - 자기주도프로젝트</title>
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Rust, Programming, Learning">
<meta name="description" content="Rust tutorial website based on tour_of_rust">
<meta name="theme-color" content="#ff6801"/>
<meta http-equiv="Cache-Control" content="max-age=3600">
<link rel="stylesheet" href="tour.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="/manifest" href="./site.webmanifest">
<script src="//unpkg.com/@highlightjs/cdn-assets@11.7.0/highlight.min.js"></script>
<script src="./tour.js" defer></script>
<!-- <script>hljs.highlightAll();</script> -->
<script src="./highlight.badge.min.js"></script>
</head>
<body>
<div class="tour">
<div class="header">
<span class="title"><a href="index.html">Rust 튜토리얼</a></span>
<span class="nav">
<span class="toc"><a href="TOC_ko.html">목차</a></span>
</div>
<div class="page">
<h1>Chapter 2 - Ownership</h1>
<p>소유권, 빌리기, borrow checker</p>
<div class="bottomnav">
<span class="back"><a href="18_ko.html" rel="prev">❮ 이전</a></span>
<span class="next"><a href="20_ko.html" rel="next">다음 ❯</a></span>
</div>
</div>
<div class="code"><center><img src="/ajou.webp" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
// Select the widget's text element using its XPath
const xpath = '/html/body/main/div/div/div[1]/div[1]/div/button[1]/div';
const widgetText = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Change the text content of the element
widgetText.textContent = "New Text";
});
</script> -->
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightElement(pres[i]);
}
var options = {
loadDelay: 0,
copyIconClass: "far fa-clipboard",
checkIconClass: "fa fa-check text-success",
blogURL: "http://rust-study.ajousw.kr/"
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="ko">
<head>
<title>Rust 튜토리얼 - 자기주도프로젝트</title>
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Rust, Programming, Learning">
<meta name="description" content="Rust tutorial website based on tour_of_rust">
<meta name="theme-color" content="#ff6801"/>
<meta http-equiv="Cache-Control" content="max-age=3600">
<link rel="stylesheet" href="tour.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="/manifest" href="./site.webmanifest">
<script src="//unpkg.com/@highlightjs/cdn-assets@11.7.0/highlight.min.js"></script>
<script src="./tour.js" defer></script>
<!-- <script>hljs.highlightAll();</script> -->
<script src="./highlight.badge.min.js"></script>
</head>
<body>
<div class="tour">
<div class="header">
<span class="title"><a href="index.html">Rust 튜토리얼</a></span>
<span class="nav">
<span class="toc"><a href="TOC_ko.html">목차</a></span>
</div>
<div class="page">
<h1>Chapter 3 - Generic, Trait</h1>
<p>OOP</p>
<div class="bottomnav">
<span class="back"><a href="20_ko.html" rel="prev">❮ 이전</a></span>
<span class="next"><a href="22_ko.html" rel="next">다음 ❯</a></span>
</div>
</div>
<div class="code"><center><img src="/ajou.webp" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
// Select the widget's text element using its XPath
const xpath = '/html/body/main/div/div/div[1]/div[1]/div/button[1]/div';
const widgetText = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Change the text content of the element
widgetText.textContent = "New Text";
});
</script> -->
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightElement(pres[i]);
}
var options = {
loadDelay: 0,
copyIconClass: "far fa-clipboard",
checkIconClass: "fa fa-check text-success",
blogURL: "http://rust-study.ajousw.kr/"
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="ko">
<head>
<title>Rust 튜토리얼 - 자기주도프로젝트</title>
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Rust, Programming, Learning">
<meta name="description" content="Rust tutorial website based on tour_of_rust">
<meta name="theme-color" content="#ff6801"/>
<meta http-equiv="Cache-Control" content="max-age=3600">
<link rel="stylesheet" href="tour.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="/manifest" href="./site.webmanifest">
<script src="//unpkg.com/@highlightjs/cdn-assets@11.7.0/highlight.min.js"></script>
<script src="./tour.js" defer></script>
<!-- <script>hljs.highlightAll();</script> -->
<script src="./highlight.badge.min.js"></script>
</head>
<body>
<div class="tour">
<div class="header">
<span class="title"><a href="index.html">Rust 튜토리얼</a></span>
<span class="nav">
<span class="toc"><a href="TOC_ko.html">목차</a></span>
</div>
<div class="page">
<h1>Chapter 4 - Advanced</h1>
<p>Concurrency, Macro, Unsafe</p>
<div class="bottomnav">
<span class="back"><a href="22_ko.html" rel="prev">❮ 이전</a></span>
<span class="next"><a href="24_ko.html" rel="next">다음 ❯</a></span>
</div>
</div>
<div class="code"><center><img src="/ajou.webp" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
// Select the widget's text element using its XPath
const xpath = '/html/body/main/div/div/div[1]/div[1]/div/button[1]/div';
const widgetText = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Change the text content of the element
widgetText.textContent = "New Text";
});
</script> -->
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightElement(pres[i]);
}
var options = {
loadDelay: 0,
copyIconClass: "far fa-clipboard",
checkIconClass: "fa fa-check text-success",
blogURL: "http://rust-study.ajousw.kr/"
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="ko">
<head>
<title>Rust 튜토리얼 - 자기주도프로젝트</title>
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Rust, Programming, Learning">
<meta name="description" content="Rust tutorial website based on tour_of_rust">
<meta name="theme-color" content="#ff6801"/>
<meta http-equiv="Cache-Control" content="max-age=3600">
<link rel="stylesheet" href="tour.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="/manifest" href="./site.webmanifest">
<script src="//unpkg.com/@highlightjs/cdn-assets@11.7.0/highlight.min.js"></script>
<script src="./tour.js" defer></script>
<!-- <script>hljs.highlightAll();</script> -->
<script src="./highlight.badge.min.js"></script>
</head>
<body>
<div class="tour">
<div class="header">
<span class="title"><a href="index.html">Rust 튜토리얼</a></span>
<span class="nav">
<span class="toc"><a href="TOC_ko.html">목차</a></span>
</div>
<div class="page">
<h1>Chapter 5 - Module</h1>
<p>모듈 사용</p>
<p>간단한 모듈 제작 및 업로드</p>
<div class="bottomnav">
<span class="back"><a href="24_ko.html" rel="prev">❮ 이전</a></span>
<span class="next"><a href="26_ko.html" rel="next">다음 ❯</a></span>
</div>
</div>
<div class="code"><center><img src="/ajou.webp" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
// Select the widget's text element using its XPath
const xpath = '/html/body/main/div/div/div[1]/div[1]/div/button[1]/div';
const widgetText = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Change the text content of the element
widgetText.textContent = "New Text";
});
</script> -->
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightElement(pres[i]);
}
var options = {
loadDelay: 0,
copyIconClass: "far fa-clipboard",
checkIconClass: "fa fa-check text-success",
blogURL: "http://rust-study.ajousw.kr/"
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="ko">
<head>
<title>Rust 튜토리얼 - 자기주도프로젝트</title>
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Rust, Programming, Learning">
<meta name="description" content="Rust tutorial website based on tour_of_rust">
<meta name="theme-color" content="#ff6801"/>
<meta http-equiv="Cache-Control" content="max-age=3600">
<link rel="stylesheet" href="tour.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/night-owl.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="/manifest" href="./site.webmanifest">
<script src="//unpkg.com/@highlightjs/cdn-assets@11.7.0/highlight.min.js"></script>
<script src="./tour.js" defer></script>
<!-- <script>hljs.highlightAll();</script> -->
<script src="./highlight.badge.min.js"></script>
</head>
<body>
<div class="tour">
<div class="header">
<span class="title"><a href="index.html">Rust 튜토리얼</a></span>
<span class="nav">
<span class="toc"><a href="TOC_ko.html">목차</a></span>
</div>
<div class="page">
<h1>Chapter 6 - Web Framework</h1>
<p>웹 프레임워크 actix-rs 소개</p>
<p>간단 카카오톡 챗봇 제작</p>
<div class="bottomnav">
<span class="back"><a href="26_ko.html" rel="prev">❮ 이전</a></span>
<span class="next"><a href="28_ko.html" rel="next">다음 ❯</a></span>
</div>
</div>
<div class="code"><center><img src="/ajou.webp" alt="Rust Tutorial" width="300" height="100%"></center></div>
</div>
<!-- <script>
document.addEventListener("DOMContentLoaded", function() {
// Select the widget's text element using its XPath
const xpath = '/html/body/main/div/div/div[1]/div[1]/div/button[1]/div';
const widgetText = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Change the text content of the element
widgetText.textContent = "New Text";
});
</script> -->
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightElement(pres[i]);
}
var options = {
loadDelay: 0,
copyIconClass: "far fa-clipboard",
checkIconClass: "fa fa-check text-success",
blogURL: "http://rust-study.ajousw.kr/"
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
......@@ -85,5 +85,9 @@
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>
\ No newline at end of file
......@@ -13,7 +13,7 @@ app.add_middleware(
)
app.mount("/", StaticFiles(directory="docs", html=True), name="static")
app.mount("/", StaticFiles(directory="docs", html=True), name="docs")
if __name__ == "__main__":
# standalone
......
......@@ -158,6 +158,7 @@ function template(
title,
code,
content,
source,
index,
isLast,
words,
......@@ -223,7 +224,7 @@ function template(
? `<div class="code">
<iframe id="rust-playground" width="100%" src="${code}" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals" title="Rust Playground" loading="lazy"></iframe>
</div>`
: '<div class="code"><center><img src="/ferris_lofi.png" alt="Mascot Ferris" width="300" height="236"></center></div>'
: `<div class="code"><center><img src="${source}" alt="Rust Tutorial" width="300" height="100%"></center></div>`
}
</div>
<!-- <script>
......@@ -250,6 +251,10 @@ function template(
};
window.highlightJsBadge(options);
</script>
<footer>
<p>아주대학교 Software Tool Time - Rust 튜토리얼 (Basic)</p>
</footer>
</body>
</html>`;
}
......@@ -260,7 +265,6 @@ languages.forEach(lang => {
const langLessons = lessons.pages.filter(x => {
return true;
});
const betaLessons = lessons.pages.filter(() => true);
langLessons.forEach((lesson, i) => {
let fileName = getFileName(lang, i, false, lesson?.chapter);
......@@ -272,6 +276,7 @@ languages.forEach(lang => {
lesson.ko.title
}`;
let lessonContent = converter.makeHtml(lesson.ko.content_markdown);
let lessonImage = lesson.ko.source;
let lessonCode = lesson.ko.code;
if (lesson[lang]) {
let targetLang = lang;
......@@ -302,6 +307,7 @@ languages.forEach(lang => {
lessonTitle,
lessonCode,
lessonContent,
lessonImage,
c,
i === langLessons.length - 1,
words,
......
......@@ -144,6 +144,8 @@
</div>
- title: >-
Chapter 0 - 마무리
source: >-
/ferris_lofi.png
content_markdown: |
Rust 소스코드는 `.rs` 확장자를 가집니다.
......
- title: Chapter 1 - The Basics
source: >-
/ferris_lofi.png
content_markdown: >
무슨 언어를 배우든 똑같이 기본부터 살펴보겠습니다. (변수, 함수, 클래스 등)
......@@ -195,7 +197,14 @@
Rust는 여러 형식의 destructuring을 지원합니다.
우리는 더 많은 형태로 볼 것이며, 이를 통해 데이터 구조의 하위 요소를 직관적으로 추출할 수 있습니다.
- title: Struct and Enum
code: >-
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&code=fn%20swap(x%3A%20i32%2C%20y%3A%20i32)%20-%3E%20(i32%2C%20i32)%20%7B%0A%20%20%20%20return%20(y%2C%20x)%3B%0A%7D%0A%0Afn%20main()%20%7B%0A%20%20%20%20%2F%2F%20return%20a%20tuple%20of%20return%20values%0A%20%20%20%20let%20result%20%3D%20swap(123%2C%20321)%3B%0A%20%20%20%20println!(%22%7B%7D%20%7B%7D%22%2C%20result.0%2C%20result.1)%3B%0A%0A%20%20%20%20%2F%2F%20destructure%20the%20tuple%20into%20two%20variables%20names%0A%20%20%20%20let%20(a%2C%20b)%20%3D%20swap(result.0%2C%20result.1)%3B%0A%20%20%20%20println!(%22%7B%7D%20%7B%7D%22%2C%20a%2C%20b)%3B%0A%7D%0A
content_markdown: >
Struct, Enum
- title: Returning Nothing
code: >-
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&code=fn%20make_nothing()%20-%3E%20()%20%7B%0A%20%20%20%20return%20()%3B%0A%7D%0A%0A%2F%2F%20the%20return%20type%20is%20implied%20as%20()%0Afn%20make_nothing2()%20%7B%0A%20%20%20%20%2F%2F%20this%20function%20will%20return%20()%20if%20nothing%20is%20specified%20to%20return%0A%7D%0A%0Afn%20main()%20%7B%0A%20%20%20%20let%20a%20%3D%20make_nothing()%3B%0A%20%20%20%20let%20b%20%3D%20make_nothing2()%3B%0A%0A%20%20%20%20%2F%2F%20Printing%20a%20debug%20string%20for%20a%20and%20b%0A%20%20%20%20%2F%2F%20Because%20it's%20hard%20to%20print%20nothingness%0A%20%20%20%20println!(%22The%20value%20of%20a%3A%20%7B%3A%3F%7D%22%2C%20a)%3B%0A%20%20%20%20println!(%22The%20value%20of%20b%3A%20%7B%3A%3F%7D%22%2C%20b)%3B%0A%7D%0A
content_markdown: >
함수에 대해 반환 유형이 지정되어 있지 않으면, *unit*이라고도 하는 빈 튜플을 반환합니다.
......@@ -204,17 +213,25 @@
`()`을 사용하는 것은 드문 경우이지만 충분히 자주 출현하기 때문에 무슨 일이 일어나는지 알아둘 가치가 있습니다.
- title: Error handling
code: >-
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&code=fn%20make_nothing()%20-%3E%20()%20%7B%0A%20%20%20%20return%20()%3B%0A%7D%0A%0A%2F%2F%20the%20return%20type%20is%20implied%20as%20()%0Afn%20make_nothing2()%20%7B%0A%20%20%20%20%2F%2F%20this%20function%20will%20return%20()%20if%20nothing%20is%20specified%20to%20return%0A%7D%0A%0Afn%20main()%20%7B%0A%20%20%20%20let%20a%20%3D%20make_nothing()%3B%0A%20%20%20%20let%20b%20%3D%20make_nothing2()%3B%0A%0A%20%20%20%20%2F%2F%20Printing%20a%20debug%20string%20for%20a%20and%20b%0A%20%20%20%20%2F%2F%20Because%20it's%20hard%20to%20print%20nothingness%0A%20%20%20%20println!(%22The%20value%20of%20a%3A%20%7B%3A%3F%7D%22%2C%20a)%3B%0A%20%20%20%20println!(%22The%20value%20of%20b%3A%20%7B%3A%3F%7D%22%2C%20b)%3B%0A%7D%0A
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&code=fn%20swap(x%3A%20i32%2C%20y%3A%20i32)%20-%3E%20(i32%2C%20i32)%20%7B%0A%20%20%20%20return%20(y%2C%20x)%3B%0A%7D%0A%0Afn%20main()%20%7B%0A%20%20%20%20%2F%2F%20return%20a%20tuple%20of%20return%20values%0A%20%20%20%20let%20result%20%3D%20swap(123%2C%20321)%3B%0A%20%20%20%20println!(%22%7B%7D%20%7B%7D%22%2C%20result.0%2C%20result.1)%3B%0A%0A%20%20%20%20%2F%2F%20destructure%20the%20tuple%20into%20two%20variables%20names%0A%20%20%20%20let%20(a%2C%20b)%20%3D%20swap(result.0%2C%20result.1)%3B%0A%20%20%20%20println!(%22%7B%7D%20%7B%7D%22%2C%20a%2C%20b)%3B%0A%7D%0A
content_markdown: >
Error handling
- title: Chapter 1 - 마무리
source: >-
/ferris_lofi.png
content_markdown: >
Rust의 기초는 그렇게 나쁘지 않죠?
시스템 프로그래밍 언어로서, Rust는 메모리 내 값을 매우 신경쓰며,
수정이 가능한지 불가능한지 여부, 그리고 수학 연산이 의도한 대로 수행되는지 확인합니다.
참고:
* [Youtube: Rust Cast - Rust의 기본 숫자 유형에 대한 더 깊은 이해](https://www.youtube.com/watch?v=n5TRBkbystY)
......
- title: Chapter 2 - Ownership
source: >-
/ajou.webp
content_markdown: >
소유권, 빌리기, borrow checker
- title: Hey
source: >-
/ferris_lofi.png
content_markdown: >
CSW
- title: Chapter 3 - Generic, Trait
source: >-
/ajou.webp
content_markdown: >
OOP
- title: Hey
source: >-
/ferris_lofi.png
content_markdown: >
CSW
- title: Chapter 4 - Advanced
source: >-
/ajou.webp
content_markdown: >
Concurrency, Macro, Unsafe
- title: Hey
source: >-
/ferris_lofi.png
content_markdown: >
CSW
- title: Chapter 5 - Module
source: >-
/ajou.webp
content_markdown: >
모듈 사용
간단한 모듈 제작 및 업로드
- title: Hey
source: >-
/ferris_lofi.png
content_markdown: >
CSW
- title: Chapter 6 - Web Framework
source: >-
/ajou.webp
content_markdown: >
웹 프레임워크 actix-rs 소개
간단 카카오톡 챗봇 제작
- title: Hey
source: >-
/ferris_lofi.png
content_markdown: >
CSW
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment