mirror of
https://github.com/cotes2020/chirpy-starter.git
synced 2025-04-19 19:03:27 +10:00
2324 lines
33 KiB
HTML
2324 lines
33 KiB
HTML
<!doctype html>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- `site.alt_lang` can specify a language different from the UI -->
|
||
<html lang="en"
|
||
|
||
>
|
||
<!-- The Head -->
|
||
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f7f7">
|
||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1b1b1e">
|
||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||
<meta
|
||
name="viewport"
|
||
content="width=device-width, user-scalable=no initial-scale=1, shrink-to-fit=no, viewport-fit=cover"
|
||
>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||
<meta name="generator" content="Jekyll v4.3.2" />
|
||
<meta property="og:title" content="Mac M1 Run Diablo 4 - Links" />
|
||
<meta property="og:locale" content="en" />
|
||
<meta name="description" content="Resources that can help you get started with the Game Porting Tool Kit to run Diablo 4 on Mac M1 architecture." />
|
||
<meta property="og:description" content="Resources that can help you get started with the Game Porting Tool Kit to run Diablo 4 on Mac M1 architecture." />
|
||
<link rel="canonical" href="http://localhost:4000/posts/Mac-M1-Run-Diablo-4/" />
|
||
<meta property="og:url" content="http://localhost:4000/posts/Mac-M1-Run-Diablo-4/" />
|
||
<meta property="og:site_name" content="neo’s brain" />
|
||
<meta property="og:type" content="article" />
|
||
<meta property="article:published_time" content="2023-08-23T10:36:19-05:00" />
|
||
<meta name="twitter:card" content="summary" />
|
||
<meta property="twitter:title" content="Mac M1 Run Diablo 4 - Links" />
|
||
<script type="application/ld+json">
|
||
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-08-23T16:39:47-05:00","datePublished":"2023-08-23T10:36:19-05:00","description":"Resources that can help you get started with the Game Porting Tool Kit to run Diablo 4 on Mac M1 architecture.","headline":"Mac M1 Run Diablo 4 - Links","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/posts/Mac-M1-Run-Diablo-4/"},"url":"http://localhost:4000/posts/Mac-M1-Run-Diablo-4/"}</script>
|
||
<!-- End Jekyll SEO tag -->
|
||
|
||
|
||
|
||
<title>Mac M1 Run Diablo 4 - Links | neo's brain
|
||
</title>
|
||
|
||
<!--
|
||
The Favicons for Web, Android, Microsoft, and iOS (iPhone and iPad) Apps
|
||
Generated by: https://realfavicongenerator.net/
|
||
-->
|
||
|
||
|
||
|
||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicons/apple-touch-icon.png">
|
||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicons/favicon-32x32.png">
|
||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicons/favicon-16x16.png">
|
||
<link rel="manifest" href="/assets/img/favicons/site.webmanifest">
|
||
<link rel="shortcut icon" href="/assets/img/favicons/favicon.ico">
|
||
<meta name="apple-mobile-web-app-title" content="neo's brain">
|
||
<meta name="application-name" content="neo's brain">
|
||
<meta name="msapplication-TileColor" content="#da532c">
|
||
<meta name="msapplication-config" content="/assets/img/favicons/browserconfig.xml">
|
||
<meta name="theme-color" content="#ffffff">
|
||
|
||
|
||
|
||
|
||
<link rel="preconnect" href="https://fonts.googleapis.com" >
|
||
<link rel="dns-prefetch" href="https://fonts.googleapis.com" >
|
||
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link rel="dns-prefetch" href="https://fonts.gstatic.com" crossorigin>
|
||
|
||
<link rel="preconnect" href="https://fonts.googleapis.com" >
|
||
<link rel="dns-prefetch" href="https://fonts.googleapis.com" >
|
||
|
||
<link rel="preconnect" href="https://cdn.jsdelivr.net" >
|
||
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net" >
|
||
|
||
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato&family=Source+Sans+Pro:wght@400;600;700;900&display=swap">
|
||
|
||
|
||
<!-- GA -->
|
||
|
||
|
||
<!-- Bootstrap -->
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
|
||
|
||
<!-- Font Awesome -->
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.0/css/all.min.css">
|
||
|
||
<link rel="stylesheet" href="/assets/css/style.css">
|
||
|
||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tocbot@4.21.0/dist/tocbot.min.css">
|
||
|
||
|
||
|
||
<!-- Manific Popup -->
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/magnific-popup@1.1.0/dist/magnific-popup.min.css">
|
||
|
||
|
||
<!-- JavaScript -->
|
||
|
||
|
||
<!-- Switch the mode between dark and light. -->
|
||
|
||
<script type="text/javascript">
|
||
class ModeToggle {
|
||
static get MODE_KEY() {
|
||
return 'mode';
|
||
}
|
||
static get MODE_ATTR() {
|
||
return 'data-mode';
|
||
}
|
||
static get DARK_MODE() {
|
||
return 'dark';
|
||
}
|
||
static get LIGHT_MODE() {
|
||
return 'light';
|
||
}
|
||
static get ID() {
|
||
return 'mode-toggle';
|
||
}
|
||
|
||
constructor() {
|
||
if (this.hasMode) {
|
||
if (this.isDarkMode) {
|
||
if (!this.isSysDarkPrefer) {
|
||
this.setDark();
|
||
}
|
||
} else {
|
||
if (this.isSysDarkPrefer) {
|
||
this.setLight();
|
||
}
|
||
}
|
||
}
|
||
|
||
let self = this;
|
||
|
||
/* always follow the system prefers */
|
||
this.sysDarkPrefers.addEventListener('change', () => {
|
||
if (self.hasMode) {
|
||
if (self.isDarkMode) {
|
||
if (!self.isSysDarkPrefer) {
|
||
self.setDark();
|
||
}
|
||
} else {
|
||
if (self.isSysDarkPrefer) {
|
||
self.setLight();
|
||
}
|
||
}
|
||
|
||
self.clearMode();
|
||
}
|
||
|
||
self.notify();
|
||
});
|
||
} /* constructor() */
|
||
|
||
get sysDarkPrefers() {
|
||
return window.matchMedia('(prefers-color-scheme: dark)');
|
||
}
|
||
|
||
get isSysDarkPrefer() {
|
||
return this.sysDarkPrefers.matches;
|
||
}
|
||
|
||
get isDarkMode() {
|
||
return this.mode === ModeToggle.DARK_MODE;
|
||
}
|
||
|
||
get isLightMode() {
|
||
return this.mode === ModeToggle.LIGHT_MODE;
|
||
}
|
||
|
||
get hasMode() {
|
||
return this.mode != null;
|
||
}
|
||
|
||
get mode() {
|
||
return sessionStorage.getItem(ModeToggle.MODE_KEY);
|
||
}
|
||
|
||
/* get the current mode on screen */
|
||
get modeStatus() {
|
||
if (this.isDarkMode || (!this.hasMode && this.isSysDarkPrefer)) {
|
||
return ModeToggle.DARK_MODE;
|
||
} else {
|
||
return ModeToggle.LIGHT_MODE;
|
||
}
|
||
}
|
||
|
||
setDark() {
|
||
document.documentElement.setAttribute(ModeToggle.MODE_ATTR, ModeToggle.DARK_MODE);
|
||
sessionStorage.setItem(ModeToggle.MODE_KEY, ModeToggle.DARK_MODE);
|
||
}
|
||
|
||
setLight() {
|
||
document.documentElement.setAttribute(ModeToggle.MODE_ATTR, ModeToggle.LIGHT_MODE);
|
||
sessionStorage.setItem(ModeToggle.MODE_KEY, ModeToggle.LIGHT_MODE);
|
||
}
|
||
|
||
clearMode() {
|
||
document.documentElement.removeAttribute(ModeToggle.MODE_ATTR);
|
||
sessionStorage.removeItem(ModeToggle.MODE_KEY);
|
||
}
|
||
|
||
/* Notify another plugins that the theme mode has changed */
|
||
notify() {
|
||
window.postMessage(
|
||
{
|
||
direction: ModeToggle.ID,
|
||
message: this.modeStatus
|
||
},
|
||
'*'
|
||
);
|
||
}
|
||
|
||
flipMode() {
|
||
if (this.hasMode) {
|
||
if (this.isSysDarkPrefer) {
|
||
if (this.isLightMode) {
|
||
this.clearMode();
|
||
} else {
|
||
this.setLight();
|
||
}
|
||
} else {
|
||
if (this.isDarkMode) {
|
||
this.clearMode();
|
||
} else {
|
||
this.setDark();
|
||
}
|
||
}
|
||
} else {
|
||
if (this.isSysDarkPrefer) {
|
||
this.setLight();
|
||
} else {
|
||
this.setDark();
|
||
}
|
||
}
|
||
|
||
this.notify();
|
||
} /* flipMode() */
|
||
} /* ModeToggle */
|
||
|
||
const modeToggle = new ModeToggle();
|
||
</script>
|
||
|
||
|
||
|
||
<!-- A placeholder to allow defining custom metadata -->
|
||
|
||
</head>
|
||
|
||
|
||
<body>
|
||
<!-- The Side Bar -->
|
||
|
||
<div id="sidebar" class="d-flex flex-column align-items-end">
|
||
<div class="profile-wrapper">
|
||
<a href="/" id="avatar" class="rounded-circle">
|
||
|
||
</a>
|
||
|
||
<div class="site-title">
|
||
<a href="/">neo's brain</a>
|
||
</div>
|
||
<div class="site-subtitle fst-italic">just a bunch of technical write ups and notes.</div>
|
||
</div>
|
||
<!-- .profile-wrapper -->
|
||
|
||
<ul class="nav flex-column flex-grow-1 w-100 ps-0">
|
||
<!-- home -->
|
||
<li class="nav-item">
|
||
<a href="/" class="nav-link">
|
||
<i class="fa-fw fas fa-home"></i>
|
||
<span>HOME</span>
|
||
</a>
|
||
</li>
|
||
<!-- the real tabs -->
|
||
|
||
<li class="nav-item">
|
||
<a href="/categories/" class="nav-link">
|
||
<i class="fa-fw fas fa-stream"></i>
|
||
|
||
|
||
<span>CATEGORIES</span>
|
||
</a>
|
||
</li>
|
||
<!-- .nav-item -->
|
||
|
||
<li class="nav-item">
|
||
<a href="/tags/" class="nav-link">
|
||
<i class="fa-fw fas fa-tags"></i>
|
||
|
||
|
||
<span>TAGS</span>
|
||
</a>
|
||
</li>
|
||
<!-- .nav-item -->
|
||
|
||
<li class="nav-item">
|
||
<a href="/archives/" class="nav-link">
|
||
<i class="fa-fw fas fa-archive"></i>
|
||
|
||
|
||
<span>ARCHIVES</span>
|
||
</a>
|
||
</li>
|
||
<!-- .nav-item -->
|
||
|
||
<li class="nav-item">
|
||
<a href="/about/" class="nav-link">
|
||
<i class="fa-fw fas fa-info-circle"></i>
|
||
|
||
|
||
<span>ABOUT</span>
|
||
</a>
|
||
</li>
|
||
<!-- .nav-item -->
|
||
|
||
</ul>
|
||
<!-- ul.nav.flex-column -->
|
||
|
||
<div class="sidebar-bottom d-flex flex-wrap align-items-center w-100">
|
||
|
||
<button class="mode-toggle btn" aria-label="Switch Mode">
|
||
<i class="fas fa-adjust"></i>
|
||
</button>
|
||
|
||
|
||
<span class="icon-border"></span>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a
|
||
href="https://github.com/ericlikedis"
|
||
aria-label="github"
|
||
|
||
|
||
|
||
target="_blank"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rel="noopener noreferrer"
|
||
|
||
>
|
||
<i class="fab fa-github"></i>
|
||
</a>
|
||
|
||
|
||
|
||
|
||
|
||
<a
|
||
href="https://twitter.com/"
|
||
aria-label="twitter"
|
||
|
||
|
||
|
||
target="_blank"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rel="noopener noreferrer"
|
||
|
||
>
|
||
<i class="fab fa-twitter"></i>
|
||
</a>
|
||
|
||
|
||
|
||
|
||
|
||
<a
|
||
href="javascript:location.href = 'mailto:' + ['ereymundo2013','gmail.com'].join('@')"
|
||
aria-label="email"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
>
|
||
<i class="fas fa-envelope"></i>
|
||
</a>
|
||
|
||
|
||
|
||
|
||
|
||
<a
|
||
href="/feed.xml"
|
||
aria-label="rss"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
>
|
||
<i class="fas fa-rss"></i>
|
||
</a>
|
||
|
||
|
||
</div>
|
||
<!-- .sidebar-bottom -->
|
||
</div>
|
||
<!-- #sidebar -->
|
||
|
||
|
||
<div id="main-wrapper" class="d-flex justify-content-center">
|
||
<div id="main" class="container px-xxl-5">
|
||
<!-- The Top Bar -->
|
||
|
||
<div id="topbar-wrapper">
|
||
<div
|
||
id="topbar"
|
||
class="container d-flex align-items-center justify-content-between h-100"
|
||
>
|
||
<span id="breadcrumb">
|
||
|
||
|
||
|
||
|
||
|
||
<span>
|
||
<a href="/">
|
||
Home
|
||
</a>
|
||
</span>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<span>Mac M1 Run Diablo 4 - Links</span>
|
||
|
||
|
||
|
||
|
||
|
||
</span>
|
||
<!-- endof #breadcrumb -->
|
||
|
||
<i id="sidebar-trigger" class="fas fa-bars fa-fw"></i>
|
||
|
||
<div id="topbar-title">
|
||
Post
|
||
</div>
|
||
|
||
<i id="search-trigger" class="fas fa-search fa-fw"></i>
|
||
<span id="search-wrapper" class="align-items-center">
|
||
<i class="fas fa-search fa-fw"></i>
|
||
<input
|
||
class="form-control"
|
||
id="search-input"
|
||
type="search"
|
||
aria-label="search"
|
||
autocomplete="off"
|
||
placeholder="Search..."
|
||
>
|
||
</span>
|
||
<span id="search-cancel">Cancel</span>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="row">
|
||
<!-- core -->
|
||
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pe-xl-4">
|
||
|
||
|
||
<div class="post px-1 px-md-2">
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Refactor the HTML structure -->
|
||
|
||
|
||
|
||
<!--
|
||
In order to allow a wide table to scroll horizontally,
|
||
we suround the markdown table with `<div class="table-wrapper">` and `</div>`
|
||
-->
|
||
|
||
|
||
|
||
<!--
|
||
Fixed kramdown code highlight rendering:
|
||
https://github.com/penibelst/jekyll-compress-html/issues/101
|
||
https://github.com/penibelst/jekyll-compress-html/issues/71#issuecomment-188144901
|
||
-->
|
||
|
||
|
||
|
||
<!-- Change the icon of checkbox -->
|
||
|
||
|
||
<!-- images -->
|
||
|
||
|
||
|
||
|
||
<!-- Add header for code snippets -->
|
||
|
||
|
||
|
||
<!-- Create heading anchors -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- return -->
|
||
|
||
|
||
|
||
|
||
<h1 data-toc-skip>Mac M1 Run Diablo 4 - Links</h1>
|
||
|
||
<div class="post-meta text-muted">
|
||
<!-- published date -->
|
||
<span>
|
||
Posted
|
||
<!--
|
||
Date format snippet
|
||
See: ${JS_ROOT}/utils/locale-dateime.js
|
||
-->
|
||
|
||
|
||
|
||
|
||
|
||
<em
|
||
class=""
|
||
data-ts="1692804979"
|
||
data-df="ll"
|
||
|
||
data-bs-toggle="tooltip" data-bs-placement="bottom"
|
||
|
||
>
|
||
Aug 23, 2023
|
||
</em>
|
||
|
||
</span>
|
||
|
||
<!-- lastmod date -->
|
||
|
||
<span>
|
||
Updated
|
||
<!--
|
||
Date format snippet
|
||
See: ${JS_ROOT}/utils/locale-dateime.js
|
||
-->
|
||
|
||
|
||
|
||
|
||
|
||
<em
|
||
class=""
|
||
data-ts="1692826787"
|
||
data-df="ll"
|
||
|
||
data-bs-toggle="tooltip" data-bs-placement="bottom"
|
||
|
||
>
|
||
Aug 23, 2023
|
||
</em>
|
||
|
||
</span>
|
||
|
||
|
||
|
||
|
||
<div class="d-flex justify-content-between">
|
||
<!-- author(s) -->
|
||
<span>
|
||
|
||
|
||
By
|
||
|
||
<em>
|
||
|
||
<a href="https://github.com/username">Eric Reymundo</a>
|
||
|
||
</em>
|
||
</span>
|
||
|
||
<div>
|
||
<!-- read time -->
|
||
<!-- Calculate the post's reading time, and display the word count in tooltip -->
|
||
|
||
|
||
|
||
<!-- words per minute -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- return element -->
|
||
<span
|
||
class="readtime"
|
||
data-bs-toggle="tooltip"
|
||
data-bs-placement="bottom"
|
||
title="32 words"
|
||
>
|
||
<em>1 min</em> read</span>
|
||
|
||
</div>
|
||
|
||
</div> <!-- .d-flex -->
|
||
|
||
</div> <!-- .post-meta -->
|
||
|
||
<div class="post-content">
|
||
<blockquote class="prompt-info">
|
||
<p>Resources that can help you get started with the Game Porting Tool Kit to run Diablo 4 on Mac M1 architecture.</p>
|
||
</blockquote>
|
||
|
||
<h3 id="resources"><span class="me-2">Resources:</span><a href="#resources" class="anchor text-muted"><i class="fas fa-hashtag"></i></a></h3>
|
||
|
||
<p>https://www.outcoldman.com/en/archive/2023/06/07/playing-diablo-4-on-macos</p>
|
||
|
||
<p>https://vineethbharadwaj.medium.com/m1-mac-switching-terminal-between-x86-64-and-arm64-e45f324184d9</p>
|
||
|
||
<p>https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error</p>
|
||
|
||
<p>https://developer.apple.com/download/all/?q=Xcode</p>
|
||
|
||
<p>https://wiki.winehq.org/Wine_User’s_Guide#Using_Wine</p>
|
||
|
||
<p>https://forum.xojo.com/t/problems-with-ditto/32265</p>
|
||
|
||
<p>https://www.applegamingwiki.com/wiki/Game_Porting_Toolkit#Steam_login_black_screen</p>
|
||
|
||
<p>http://stream-recorder.com/forum/restart-wine-if-you-cant-close-process-t4997.html?s=6d49a94d7d9a590a42d133accc36ae88&</p>
|
||
|
||
<p>https://www.youtube.com/watch?v=5Nd-nR3-6lU&t=79s</p>
|
||
|
||
<p>https://www.youtube.com/watch?v=5Nd-nR3-6lU</p>
|
||
|
||
|
||
</div>
|
||
|
||
<div class="post-tail-wrapper text-muted">
|
||
|
||
<!-- categories -->
|
||
|
||
|
||
<!-- tags -->
|
||
|
||
<div class="post-tags">
|
||
<i class="fa fa-tags fa-fw me-1"></i>
|
||
|
||
<a href="/tags/terminal/"
|
||
class="post-tag no-text-decoration" >terminal</a>
|
||
|
||
<a href="/tags/diablo-4/"
|
||
class="post-tag no-text-decoration" >diablo 4</a>
|
||
|
||
<a href="/tags/apple-silicon/"
|
||
class="post-tag no-text-decoration" >apple silicon</a>
|
||
|
||
<a href="/tags/m1/"
|
||
class="post-tag no-text-decoration" >M1</a>
|
||
|
||
</div>
|
||
|
||
|
||
<div class="post-tail-bottom
|
||
d-flex justify-content-between align-items-center mt-3 pt-5 pb-2">
|
||
<div class="license-wrapper">
|
||
|
||
|
||
|
||
|
||
|
||
This post is licensed under
|
||
<a href="https://creativecommons.org/licenses/by/4.0/">
|
||
CC BY 4.0
|
||
</a>
|
||
by the author.
|
||
|
||
|
||
</div>
|
||
|
||
<!-- Post sharing snippet -->
|
||
|
||
<div class="share-wrapper">
|
||
<span class="share-label text-muted me-1">Share</span>
|
||
<span class="share-icons">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a
|
||
href="https://twitter.com/intent/tweet?text=Mac%20M1%20Run%20Diablo%204%20-%20Links%20-%20neo's%20brain&url=http%3A%2F%2Flocalhost%3A4000%2Fposts%2FMac-M1-Run-Diablo-4%2F"
|
||
data-bs-toggle="tooltip"
|
||
data-bs-placement="top"
|
||
title="Twitter"
|
||
target="_blank"
|
||
rel="noopener"
|
||
aria-label="Twitter"
|
||
>
|
||
<i class="fa-fw fab fa-twitter"></i>
|
||
</a>
|
||
|
||
|
||
<a
|
||
href="https://www.facebook.com/sharer/sharer.php?title=Mac%20M1%20Run%20Diablo%204%20-%20Links%20-%20neo's%20brain&u=http%3A%2F%2Flocalhost%3A4000%2Fposts%2FMac-M1-Run-Diablo-4%2F"
|
||
data-bs-toggle="tooltip"
|
||
data-bs-placement="top"
|
||
title="Facebook"
|
||
target="_blank"
|
||
rel="noopener"
|
||
aria-label="Facebook"
|
||
>
|
||
<i class="fa-fw fab fa-facebook-square"></i>
|
||
</a>
|
||
|
||
|
||
<a
|
||
href="https://t.me/share/url?url=http%3A%2F%2Flocalhost%3A4000%2Fposts%2FMac-M1-Run-Diablo-4%2F&text=Mac%20M1%20Run%20Diablo%204%20-%20Links%20-%20neo's%20brain"
|
||
data-bs-toggle="tooltip"
|
||
data-bs-placement="top"
|
||
title="Telegram"
|
||
target="_blank"
|
||
rel="noopener"
|
||
aria-label="Telegram"
|
||
>
|
||
<i class="fa-fw fab fa-telegram"></i>
|
||
</a>
|
||
|
||
|
||
<i
|
||
id="copy-link"
|
||
class="fa-fw fas fa-link small"
|
||
data-bs-toggle="tooltip"
|
||
data-bs-placement="top"
|
||
title="Copy link"
|
||
data-title-succeed="Link copied successfully!"
|
||
>
|
||
</i>
|
||
</span>
|
||
</div>
|
||
|
||
|
||
</div><!-- .post-tail-bottom -->
|
||
|
||
</div><!-- div.post-tail-wrapper -->
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<!-- #core-wrapper -->
|
||
|
||
<!-- panel -->
|
||
<div id="panel-wrapper" class="col-xl-3 ps-2 text-muted">
|
||
<div class="access">
|
||
<!-- Get the last 5 posts from lastmod list. -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div id="access-lastmod" class="post">
|
||
<div class="panel-heading">Recently Updated</div>
|
||
<ul class="post-content list-unstyled ps-0 pb-1 ms-1 mt-2">
|
||
|
||
|
||
|
||
|
||
<li class="text-truncate lh-lg">
|
||
<a href="/posts/Mac-M1-Run-Diablo-4/">Mac M1 Run Diablo 4 - Links</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
<li class="text-truncate lh-lg">
|
||
<a href="/posts/text-and-typography/">Text and Typography</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
<li class="text-truncate lh-lg">
|
||
<a href="/posts/Flaws.cloud-AWS/">Flaws.cloud walkthrough</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
<li class="text-truncate lh-lg">
|
||
<a href="/posts/M1-Mac-How-to-switch-the-Terminal-between-x86_64-and-arm64/">M1 Mac - How to Switch the Terminal between x86_64 and arm64</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
<li class="text-truncate lh-lg">
|
||
<a href="/posts/Admonitions-Documentation/">Admonitions Documentation</a>
|
||
</li>
|
||
|
||
</ul>
|
||
</div>
|
||
<!-- #access-lastmod -->
|
||
|
||
|
||
<!-- The trending tags list -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div id="access-tags">
|
||
<div class="panel-heading">Trending Tags</div>
|
||
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/cybersecurity/">cybersecurity</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/diablo-4/">diablo 4</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/docs/">docs</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/terminal/">terminal</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/diablo/">diablo</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/m1/">M1</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/apple-silicon/">apple silicon</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/cheatsheets/">cheatsheets</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/cloud/">cloud</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/gcih/">GCIH</a>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div id="toc-wrapper" class="ps-0 pe-4 mb-5">
|
||
<div class="panel-heading ps-3 pt-2 mb-2">Contents</div>
|
||
<nav id="toc"></nav>
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<!-- tail -->
|
||
|
||
<div class="row">
|
||
<div id="tail-wrapper" class="col-12 col-lg-11 col-xl-9 px-3 pe-xl-4 mt-5">
|
||
|
||
|
||
<!--
|
||
Recommend the other 3 posts according to the tags and categories of the current post,
|
||
if the number is not enough, use the other latest posts to supplement.
|
||
-->
|
||
|
||
<!-- The total size of related posts -->
|
||
|
||
|
||
<!-- An random integer that bigger than 0 -->
|
||
|
||
|
||
<!-- Equals to TAG_SCORE / {max_categories_hierarchy} -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Fill with the other newlest posts -->
|
||
|
||
|
||
|
||
|
||
|
||
<div id="related-posts" class="mb-2 mb-sm-4">
|
||
<h3 class="pt-2 mb-4 ms-1" data-toc-skip>
|
||
Further Reading
|
||
</h3>
|
||
<div class="row row-cols-1 row-cols-md-2 row-cols-xl-3 g-4 mb-4">
|
||
|
||
|
||
|
||
<div class="col">
|
||
<a href="/posts/M1-Mac-How-to-switch-the-Terminal-between-x86_64-and-arm64/" class="card post-preview h-100">
|
||
<div class="card-body">
|
||
<!--
|
||
Date format snippet
|
||
See: ${JS_ROOT}/utils/locale-dateime.js
|
||
-->
|
||
|
||
|
||
|
||
|
||
|
||
<em
|
||
class="small"
|
||
data-ts="1692804974"
|
||
data-df="ll"
|
||
|
||
>
|
||
Aug 23, 2023
|
||
</em>
|
||
|
||
<h4 class="pt-0 my-2" data-toc-skip>M1 Mac - How to Switch the Terminal between x86_64 and arm64</h4>
|
||
<div class="text-muted small">
|
||
<p>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
How to Switch the Terminal between x86_64 and arm64
|
||
https://vineethbharadwaj.medium.com/m1-mac-switching-terminal-between-x86-64-and-arm64-e45f324184d9
|
||
|
||
Here is a simple writeup on how I switch bet...
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</a>
|
||
</div>
|
||
|
||
|
||
|
||
<div class="col">
|
||
<a href="/posts/Diablo-4-Helltide-Events/" class="card post-preview h-100">
|
||
<div class="card-body">
|
||
<!--
|
||
Date format snippet
|
||
See: ${JS_ROOT}/utils/locale-dateime.js
|
||
-->
|
||
|
||
|
||
|
||
|
||
|
||
<em
|
||
class="small"
|
||
data-ts="1692804963"
|
||
data-df="ll"
|
||
|
||
>
|
||
Aug 23, 2023
|
||
</em>
|
||
|
||
<h4 class="pt-0 my-2" data-toc-skip>Diablo 4 HellTide Events</h4>
|
||
<div class="text-muted small">
|
||
<p>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Diablo 4 HellTide Events
|
||
|
||
When you guys hit World Tier 3, do helltide events everytime you can, they’re stupidly important because they’re the only source of Forgotten Souls and you need a lot of t...
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</a>
|
||
</div>
|
||
|
||
|
||
|
||
<div class="col">
|
||
<a href="/posts/Diablo-4-Shadow-Rogue-Build/" class="card post-preview h-100">
|
||
<div class="card-body">
|
||
<!--
|
||
Date format snippet
|
||
See: ${JS_ROOT}/utils/locale-dateime.js
|
||
-->
|
||
|
||
|
||
|
||
|
||
|
||
<em
|
||
class="small"
|
||
data-ts="1692804968"
|
||
data-df="ll"
|
||
|
||
>
|
||
Aug 23, 2023
|
||
</em>
|
||
|
||
<h4 class="pt-0 my-2" data-toc-skip>Diablo 4 - Shadow Rouge Build</h4>
|
||
<div class="text-muted small">
|
||
<p>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
This is a beginner friendly build.
|
||
|
||
|
||
Skill Tree
|
||
|
||
https://d4builds.gg/builds/a175bae2-7adf-4155-a347-509d4efbb86c/
|
||
|
||
Skill Tree Guide
|
||
|
||
https://fextralife.com/diablo-4-shadow-rogue-build-twisting-blad...
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</a>
|
||
</div>
|
||
|
||
</div>
|
||
<!-- .card-deck -->
|
||
</div>
|
||
<!-- #related-posts -->
|
||
|
||
|
||
|
||
|
||
<!-- Navigation buttons at the bottom of the post. -->
|
||
|
||
<div class="post-navigation d-flex justify-content-between">
|
||
|
||
<a
|
||
href="/posts/M1-Mac-How-to-switch-the-Terminal-between-x86_64-and-arm64/"
|
||
class="btn btn-outline-primary"
|
||
prompt="Older"
|
||
>
|
||
<p>M1 Mac - How to Switch the Terminal between x86_64 and arm64</p>
|
||
</a>
|
||
|
||
|
||
|
||
<a
|
||
href="/posts/Building-a-Custom-Malware-Analysis-Lab-Environment/"
|
||
class="btn btn-outline-primary"
|
||
prompt="Newer"
|
||
>
|
||
<p>Building a Custom Malware Analysis Lab Enviornment</p>
|
||
</a>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<!-- The comments switcher -->
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<!-- The Search results -->
|
||
|
||
<div id="search-result-wrapper" class="d-flex justify-content-center unloaded">
|
||
<div class="col-11 post-content">
|
||
<div id="search-hints">
|
||
<!-- The trending tags list -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div id="access-tags">
|
||
<div class="panel-heading">Trending Tags</div>
|
||
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/cybersecurity/">cybersecurity</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/diablo-4/">diablo 4</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/docs/">docs</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/terminal/">terminal</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/diablo/">diablo</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/m1/">M1</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/apple-silicon/">apple silicon</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/cheatsheets/">cheatsheets</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/cloud/">cloud</a>
|
||
|
||
|
||
<a class="post-tag btn btn-outline-primary" href="/tags/gcih/">GCIH</a>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
<div id="search-results" class="d-flex flex-wrap justify-content-center text-muted mt-3"></div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<!-- The Footer -->
|
||
|
||
<footer>
|
||
<div class="container px-lg-4">
|
||
<div class="d-flex justify-content-center align-items-center text-muted mx-md-3">
|
||
<p>Using the <a href="https://jekyllrb.com" target="_blank" rel="noopener">Jekyll</a> theme <a href="https://github.com/cotes2020/jekyll-theme-chirpy" target="_blank" rel="noopener">Chirpy</a>
|
||
</p>
|
||
|
||
<p>©
|
||
2023
|
||
<a href="https://github.com/username">Eric Reymundo</a>.
|
||
|
||
<span
|
||
data-bs-toggle="tooltip"
|
||
data-bs-placement="top"
|
||
title="Except where otherwise noted, the blog posts on this site are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License by the author."
|
||
>Some rights reserved.</span>
|
||
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
|
||
|
||
<div id="mask"></div>
|
||
|
||
<button id="back-to-top" aria-label="back-to-top" class="btn btn-lg btn-box-shadow">
|
||
<i class="fas fa-angle-up"></i>
|
||
</button>
|
||
|
||
|
||
<div
|
||
id="notification"
|
||
class="toast"
|
||
role="alert"
|
||
aria-live="assertive"
|
||
aria-atomic="true"
|
||
data-bs-animation="true"
|
||
data-bs-autohide="false"
|
||
>
|
||
<div class="toast-header">
|
||
<button
|
||
type="button"
|
||
class="btn-close ms-auto"
|
||
data-bs-dismiss="toast"
|
||
aria-label="Close"
|
||
></button>
|
||
</div>
|
||
<div class="toast-body text-center pt-0">
|
||
<p class="px-2 mb-3">A new version of content is available.</p>
|
||
<button type="button" class="btn btn-primary" aria-label="Update">
|
||
Update
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<!-- JS selector for site. -->
|
||
|
||
<!-- commons -->
|
||
|
||
|
||
|
||
<!-- layout specified -->
|
||
|
||
|
||
|
||
|
||
|
||
<!-- image lazy-loading & popup & clipboard -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script src="https://cdn.jsdelivr.net/combine/npm/jquery@3.7.0/dist/jquery.min.js,npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js,npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js,npm/lazysizes@5.3.2/lazysizes.min.js,npm/magnific-popup@1.1.0/dist/jquery.magnific-popup.min.js,npm/clipboard@2.0.11/dist/clipboard.min.js,npm/dayjs@1.11.7/dayjs.min.js,npm/dayjs@1.11.7/locale/en.min.js,npm/dayjs@1.11.7/plugin/relativeTime.min.js,npm/dayjs@1.11.7/plugin/localizedFormat.min.js,npm/tocbot@4.21.0/dist/tocbot.min.js"></script>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script defer src="/assets/js/dist/post.min.js"></script>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!--
|
||
Jekyll Simple Search loader
|
||
See: <https://github.com/christian-fei/Simple-Jekyll-Search>
|
||
-->
|
||
|
||
|
||
|
||
|
||
|
||
<script>
|
||
/* Note: dependent library will be loaded in `js-selector.html` */
|
||
SimpleJekyllSearch({
|
||
searchInput: document.getElementById('search-input'),
|
||
resultsContainer: document.getElementById('search-results'),
|
||
json: '/assets/js/data/search.json',
|
||
searchResultTemplate: '<div class="px-1 px-sm-2 px-lg-4 px-xl-0"> <a href="{url}">{title}</a> <div class="post-meta d-flex flex-column flex-sm-row text-muted mt-1 mb-1"> {categories} {tags} </div> <p>{snippet}</p></div>',
|
||
noResultsText: '<p class="mt-5"></p>',
|
||
templateMiddleware: function(prop, value, template) {
|
||
if (prop === 'categories') {
|
||
if (value === '') {
|
||
return `${value}`;
|
||
} else {
|
||
return `<div class="me-sm-4"><i class="far fa-folder fa-fw"></i>${value}</div>`;
|
||
}
|
||
}
|
||
|
||
if (prop === 'tags') {
|
||
if (value === '') {
|
||
return `${value}`;
|
||
} else {
|
||
return `<div><i class="fa fa-tag fa-fw"></i>${value}</div>`;
|
||
}
|
||
}
|
||
}
|
||
});
|
||
</script>
|
||
|
||
</body>
|
||
</html>
|
||
|