Skip to content

Commit

Permalink
add new post:rstudio-basic.md & modify Hugo-Advanced.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abwildan committed Jun 16, 2024
1 parent 0463c54 commit 9a0f8b8
Show file tree
Hide file tree
Showing 54 changed files with 2,256 additions and 51 deletions.
25 changes: 25 additions & 0 deletions content/post/Hugo-Advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,31 @@ markup:
lineNos: true
```
### Tips 17: Mengatur Layout Tabel
Kita bisa men-*setting* layout tabel sehingga nanti rata kanan-kiri-nya bisa disesuaikan, seperti berikut:
```shell
| Nomor | Nama | Alamat |
|:--------:|-------------------:|:------------------------| <-- Perhatikan posisi titik duanya
| 1 | Asep Gunawan | Jl. Mangga 2, Bandung |
| 2 | Bambang Susanto | Jl. Haji 9, Jakarta |
| 3 | Cyntia Maharani | Jl. Kemanamana 1, Bali |
```

Berikut adalah alignment setiap kolom dari potongan kode di atas:
- kolom **Nomor**: rata tengah
- kolom **Nama**: rata kanan
- kolom **Alamat**: rata kiri

Hasilnya, sepert ini:

| Nomor | Nama | Alamat |
|:--------:|-------------------:|:------------------------|
| 1 | Asep Gunawan | Jl. Mangga 2, Bandung |
| 2 | Bambang Susanto | Jl. Haji 9, Jakarta |
| 3 | Cyntia Maharani | Jl. Kemanamana 1, Bali |

Kalau sudah selesai, jangan lupa commit ke repo lokal dan push ke Github:

```shell
Expand Down
344 changes: 344 additions & 0 deletions content/post/rstudio-basic.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions public/archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,20 @@ <h1>
<div class="archive-year">
<h2 class="archive-year-header" id="2024">
<a class="archive-header-link" href="#2024">2024</a>
<sup class="archive-count">&nbsp;17</sup>
<sup class="archive-count">&nbsp;18</sup>
</h2>
<div class="archive-month">
<h3 class="archive-month-header" id="2024-June">
<a class="archive-header-link" href="#2024-June">June</a>
<sup class="archive-count">&nbsp;4</sup>
<sup class="archive-count">&nbsp;5</sup>
</h3>
<div class="archive-posts">
<div class="archive-entry">
<h3 class="archive-entry-title entry-hint-parent">RStudio Basic: From Installation to Data Visualization
</h3>
<div class="archive-meta"><span title='2024-06-13 11:56:25 -0400 EDT'>June 13, 2024</span>&nbsp;·&nbsp;11 min&nbsp;·&nbsp;Wildan</div>
<a class="entry-link" aria-label="post link to RStudio Basic: From Installation to Data Visualization" href="http://localhost:1313/post/rstudio-basic/"></a>
</div>
<div class="archive-entry">
<h3 class="archive-entry-title entry-hint-parent">Cool Terminal Tools You Should Know
</h3>
Expand Down
3 changes: 3 additions & 0 deletions public/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ <h1>Categories</h1>
<li>
<a href="http://localhost:1313/categories/rofi/">rofi <sup><strong><sup>1</sup></strong></sup> </a>
</li>
<li>
<a href="http://localhost:1313/categories/rstudio/">Rstudio <sup><strong><sup>1</sup></strong></sup> </a>
</li>
<li>
<a href="http://localhost:1313/categories/scihub/">scihub <sup><strong><sup>1</sup></strong></sup> </a>
</li>
Expand Down
9 changes: 8 additions & 1 deletion public/categories/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
<description>Recent content in Categories on Wildan&#39;s Workspace</description>
<generator>Hugo -- 0.127.0</generator>
<language>en-US</language>
<lastBuildDate>Sun, 09 Jun 2024 16:59:47 +0700</lastBuildDate>
<lastBuildDate>Thu, 13 Jun 2024 11:56:25 -0400</lastBuildDate>
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Rstudio</title>
<link>http://localhost:1313/categories/rstudio/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/categories/rstudio/</guid>
<description></description>
</item>
<item>
<title>Linux</title>
<link>http://localhost:1313/categories/linux/</link>
Expand Down
221 changes: 221 additions & 0 deletions public/categories/rstudio/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
<!DOCTYPE html>
<html lang="en" dir="auto">

<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="noindex, nofollow">
<title>Rstudio | Wildan&#39;s Workspace</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="Wildan">
<link rel="canonical" href="http://localhost:1313/categories/rstudio/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.b609c58d5c11bb90b1a54e04005d74ad1ddf22165eb79f5533967e57df9c3b50.css" integrity="sha256-tgnFjVwRu5CxpU4EAF10rR3fIhZet59VM5Z&#43;V9&#43;cO1A=" rel="preload stylesheet" as="style">
<link rel="icon" href="http://localhost:1313/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/categories/rstudio/index.xml">
<link rel="alternate" hreflang="en" href="http://localhost:1313/categories/rstudio/">
<noscript>
<style>
#theme-toggle,
.top-link {
display: none;
}

</style>
<style>
@media (prefers-color-scheme: dark) {
:root {
--theme: rgb(29, 30, 32);
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
--tertiary: rgb(65, 66, 68);
--content: rgb(196, 196, 197);
--code-block-bg: rgb(46, 46, 51);
--code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51);
}

.list {
background: var(--theme);
}

.list:not(.dark)::-webkit-scrollbar-track {
background: 0 0;
}

.list:not(.dark)::-webkit-scrollbar-thumb {
border-color: var(--theme);
}
}

</style>
</noscript>
</head>

<body class="list" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
} else if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark');
}

</script>

<header class="header">
<nav class="nav">
<div class="logo">
<a href="http://localhost:1313/" accesskey="h" title="Wildan&#39;s Workspace (Alt + H)">Wildan&#39;s Workspace</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</button>
</div>
</div>
<ul id="menu">
<li>
<a href="http://localhost:1313/" title="Home">
<span>Home</span>
</a>
</li>
<li>
<a href="http://localhost:1313/post/" title="Tutorial">
<span>Tutorial</span>
</a>
</li>
<li>
<a href="http://localhost:1313/opinion/" title="Opinion">
<span>Opinion</span>
</a>
</li>
<li>
<a href="http://localhost:1313/search/" title="Search (Alt &#43; /)" accesskey=/>
<span>Search</span>
</a>
</li>
</ul>
</nav>
</header>
<main class="main">
<header class="page-header"><div class="breadcrumbs"><a href="http://localhost:1313/">Home</a>&nbsp;»&nbsp;<a href="http://localhost:1313/categories/">Categories</a></div>
<h1>
Rstudio
</h1>
</header>

<article class="post-entry tag-entry">
<figure class="entry-cover"><img loading="lazy" src="http://localhost:1313/rstudio-basic/cover.png" alt="Rstudio">
</figure>
<header class="entry-header">
<h2 class="entry-hint-parent">RStudio Basic: From Installation to Data Visualization
</h2>
</header>
<div class="entry-content">
<p>Hola!
RStudio menurut saya adalah software keren untuk mengolah data menggunakan bahasa R. Jadi, saya memutuskan untuk membahasnya di artikel ini. Tapi, sebagaimana judulnya, saya hanya akan memberikan overview tentang RStudio secara singkat.
Beberapa hal yang akan saya bahas dari Rstudio di artikel ini terbagi ke dalam 6 bagian:
What is R &amp; RStudio? Why R &amp; RStudio1 R &amp; RStudio Installation RStudio Interface Introduction Installing Packages (tidyverse &amp; palmerpenguins) Playing with Data 1....</p>
</div>
<footer class="entry-footer"><span title='2024-06-13 11:56:25 -0400 EDT'>June 13, 2024</span>&nbsp;·&nbsp;11 min&nbsp;·&nbsp;Wildan</footer>
<a class="entry-link" aria-label="post link to RStudio Basic: From Installation to Data Visualization" href="http://localhost:1313/post/rstudio-basic/"></a>
</article>
</main>

<footer class="footer">
<span>&copy; 2024 <a href="http://localhost:1313/">Wildan&#39;s Workspace</a></span> ·

<span>
Powered by
<a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
<a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a>
</span>
</footer>
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
<path d="M12 6H0l6-6z" />
</svg>
</a>

<script>
let menu = document.getElementById('menu')
if (menu) {
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
menu.onscroll = function () {
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
}
}

document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
var id = this.getAttribute("href").substr(1);
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
behavior: "smooth"
});
} else {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
}
if (id === "top") {
history.replaceState(null, null, " ");
} else {
history.pushState(null, null, `#${id}`);
}
});
});

</script>
<script>
var mybutton = document.getElementById("top-link");
window.onscroll = function () {
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
mybutton.style.visibility = "visible";
mybutton.style.opacity = "1";
} else {
mybutton.style.visibility = "hidden";
mybutton.style.opacity = "0";
}
};

</script>
<script>
document.getElementById("theme-toggle").addEventListener("click", () => {
if (document.body.className.includes("dark")) {
document.body.classList.remove('dark');
localStorage.setItem("pref-theme", 'light');
} else {
document.body.classList.add('dark');
localStorage.setItem("pref-theme", 'dark');
}
})

</script>
</body>

</html>
22 changes: 22 additions & 0 deletions public/categories/rstudio/index.xml
Original file line number Diff line number Diff line change
@@ -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" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Rstudio on Wildan&#39;s Workspace</title>
<link>http://localhost:1313/categories/rstudio/</link>
<description>Recent content in Rstudio on Wildan&#39;s Workspace</description>
<generator>Hugo -- 0.127.0</generator>
<language>en-US</language>
<lastBuildDate>Thu, 13 Jun 2024 11:56:25 -0400</lastBuildDate>
<atom:link href="http://localhost:1313/categories/rstudio/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>RStudio Basic: From Installation to Data Visualization</title>
<link>http://localhost:1313/post/rstudio-basic/</link>
<pubDate>Thu, 13 Jun 2024 11:56:25 -0400</pubDate>
<guid>http://localhost:1313/post/rstudio-basic/</guid>
<description>Hola!
RStudio menurut saya adalah software keren untuk mengolah data menggunakan bahasa R. Jadi, saya memutuskan untuk membahasnya di artikel ini. Tapi, sebagaimana judulnya, saya hanya akan memberikan overview tentang RStudio secara singkat.
Beberapa hal yang akan saya bahas dari Rstudio di artikel ini terbagi ke dalam 6 bagian:
What is R &amp;amp; RStudio? Why R &amp;amp; RStudio1 R &amp;amp; RStudio Installation RStudio Interface Introduction Installing Packages (tidyverse &amp;amp; palmerpenguins) Playing with Data 1.</description>
</item>
</channel>
</rss>
10 changes: 10 additions & 0 deletions public/categories/rstudio/page/1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>http://localhost:1313/categories/rstudio/</title>
<link rel="canonical" href="http://localhost:1313/categories/rstudio/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/categories/rstudio/">
</head>
</html>
2 changes: 1 addition & 1 deletion public/index.json

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@
<description>Recent content on Wildan&#39;s Workspace</description>
<generator>Hugo -- 0.127.0</generator>
<language>en-US</language>
<lastBuildDate>Sun, 09 Jun 2024 16:59:47 +0700</lastBuildDate>
<lastBuildDate>Thu, 13 Jun 2024 11:56:25 -0400</lastBuildDate>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>RStudio Basic: From Installation to Data Visualization</title>
<link>http://localhost:1313/post/rstudio-basic/</link>
<pubDate>Thu, 13 Jun 2024 11:56:25 -0400</pubDate>
<guid>http://localhost:1313/post/rstudio-basic/</guid>
<description>Hola!
RStudio menurut saya adalah software keren untuk mengolah data menggunakan bahasa R. Jadi, saya memutuskan untuk membahasnya di artikel ini. Tapi, sebagaimana judulnya, saya hanya akan memberikan overview tentang RStudio secara singkat.
Beberapa hal yang akan saya bahas dari Rstudio di artikel ini terbagi ke dalam 6 bagian:
What is R &amp;amp; RStudio? Why R &amp;amp; RStudio1 R &amp;amp; RStudio Installation RStudio Interface Introduction Installing Packages (tidyverse &amp;amp; palmerpenguins) Playing with Data 1.</description>
</item>
<item>
<title>Cool Terminal Tools You Should Know</title>
<link>http://localhost:1313/post/cooltools/</link>
Expand Down
5 changes: 5 additions & 0 deletions public/post/cooltools/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,11 @@ <h3 id="9-mapscii">9. mapscii<a hidden class="anchor" aria-hidden="true" href="#
<li><a href="http://localhost:1313/tags/linux/">Linux</a></li>
</ul>
<nav class="paginav">
<a class="prev" href="http://localhost:1313/post/rstudio-basic/">
<span class="title">« Prev</span>
<br>
<span>RStudio Basic: From Installation to Data Visualization</span>
</a>
<a class="next" href="http://localhost:1313/post/ncmpcpp/">
<span class="title">Next »</span>
<br>
Expand Down
Loading

0 comments on commit 9a0f8b8

Please sign in to comment.