Skip to content

blog #2292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 45 commits into from
Closed

blog #2292

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4f94686
chore: test
xmoonanx Nov 24, 2024
8de04a0
Create jekyll.yml
xmoonanx Nov 24, 2024
6fa6bce
chore: custom
xmoonanx Nov 24, 2024
1cc8eda
chore: custom
xmoonanx Nov 24, 2024
7e9d49b
chore: fix authors
xmoonanx Nov 24, 2024
9f88d0e
chore: fix parsers
xmoonanx Nov 24, 2024
80ba6b9
chore: fix parsers
xmoonanx Nov 24, 2024
be8a1a2
chore: favicon
xmoonanx Nov 24, 2024
667874e
chore: google
xmoonanx Nov 24, 2024
8abe837
chore: custom&markdowning
xmoonanx Nov 25, 2024
192cf2e
fix: toc
xmoonanx Nov 28, 2024
1b6a981
docs: markdown 문법
xmoonanx Nov 29, 2024
8b2466f
build: comments by utterances
xmoonanx Nov 29, 2024
ebb03a5
fix: fix utterances
xmoonanx Nov 29, 2024
c720dc6
build: google search
xmoonanx Nov 29, 2024
e5864bf
chore: del sitemap
xmoonanx Nov 29, 2024
e2596bb
chore: sitemap
xmoonanx Nov 29, 2024
07bb440
build: google ad
xmoonanx Nov 30, 2024
b70371d
docs: 배열
xmoonanx Dec 20, 2024
2ac4b92
fix: 배열
xmoonanx Dec 20, 2024
2798ab4
fix: 배열
xmoonanx Dec 20, 2024
3e4abc8
fix: 배열
xmoonanx Dec 20, 2024
376f987
fix: 배열
xmoonanx Dec 20, 2024
d1efa5f
fix: 배열
xmoonanx Jan 2, 2025
c9fbf84
fix: jekyll
xmoonanx Jan 2, 2025
2cf087a
fix: jekyll
xmoonanx Jan 2, 2025
f0837d4
fix: jekyll
xmoonanx Jan 2, 2025
7c4c864
fix: jekyll
xmoonanx Jan 2, 2025
b77dd43
fix: jekyll
xmoonanx Jan 2, 2025
23d39de
Update jekyll.yml
xmoonanx Jan 2, 2025
2428248
fix: cs
xmoonanx Jan 2, 2025
e3dfbe3
fix: cs
xmoonanx Jan 2, 2025
566e36e
fix: cs
xmoonanx Jan 2, 2025
655ff77
fix: cs
xmoonanx Jan 2, 2025
b0b3b5a
docs: 연결 리스트
xmoonanx Feb 17, 2025
4522458
docs: OS(1)
xmoonanx Mar 8, 2025
55dc043
fix: OS(1)
xmoonanx Mar 8, 2025
3944a1f
docs: OS(1-1)
xmoonanx Mar 8, 2025
d0adee0
docs: Linked-list
xmoonanx Mar 8, 2025
2599c5f
fix: os
xmoonanx Mar 8, 2025
a05ba46
fix: os
xmoonanx Mar 8, 2025
d21152e
fix: os(1)
xmoonanx Mar 10, 2025
df8a90a
fix: os(1-1)
xmoonanx Mar 11, 2025
bf2c1e0
fix: os(1-1)
xmoonanx Mar 11, 2025
b4028b1
fix: os(1-1)
xmoonanx Mar 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
ruby-version: 3.1
bundler-cache: true

- uses: actions/setup-node@v4
Expand Down
68 changes: 68 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: "3.1" # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems

- name: Install Dependencies
run: bundle install

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ package-lock.json
!.vscode/tasks.json

# Misc
_sass/dist
assets/js/dist
#sass/dist
#assets/js/dist
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ platforms :mingw, :x64_mingw, :mswin, :jruby do
end

gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]

gem 'csv'
gem 'base64'
33 changes: 17 additions & 16 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,44 @@ theme: jekyll-theme-chirpy
lang: en

# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
timezone: Asia/Shanghai
timezone: Asia/Seoul

# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ↓ --------------------------

title: Chirpy # the main title
title: xmoonanx # the main title

tagline: A text-focused Jekyll theme # it will display as the subtitle
tagline: 무난하지 않게 # it will display as the subtitle

description: >- # used by seo meta and the atom feed
A minimal, responsive and feature-rich Jekyll theme for technical writing.
xmoonanx's Tech Blog.

# Fill in the protocol & hostname for your site.
# E.g. 'https://username.github.io', note that it does not end with a '/'.
url: ""
url: "https://xmoonanx.github.io"

github:
username: github_username # change to your GitHub username
username: xmoonanx # change to your GitHub username

twitter:
username: twitter_username # change to your Twitter username
#twitter:
# username: twitter_username # change to your Twitter username

social:
# Change to your full name.
# It will be displayed as the default author of the posts and the copyright owner in the Footer
name: your_full_name
email: example@domain.com # change to your email address
name: xmoonanx
email: xmoonanx@gmail.com # change to your email address
links:
# The first element serves as the copyright owner's link
- https://twitter.com/username # change to your Twitter homepage
- https://github.com/username # change to your GitHub homepage
#- https://twitter.com/username # change to your Twitter homepage
- https://github.com/xmoonanx # change to your GitHub homepage
# Uncomment below to add more social links
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username

# Site Verification Settings
webmaster_verifications:
google: # fill in your Google verification code
google: tIuVwz5rp4B_ky-MQyWTCnjf55LfrFDtKdPthSc3dbg # fill in your Google verification code
bing: # fill in your Bing verification code
alexa: # fill in your Alexa verification code
yandex: # fill in your Yandex verification code
Expand Down Expand Up @@ -88,17 +88,17 @@ pageviews:
# light — Use the light color scheme
# dark — Use the dark color scheme
#
theme_mode: # [light | dark]
theme_mode: dark # [light | dark]

# The CDN endpoint for media resources.
# Notice that once it is assigned, the CDN url
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
#
# e.g. 'https://cdn.com'
cdn: "https://chirpy-img.netlify.app"
#cdn: "https://chirpy-img.netlify.app"

# the avatar on sidebar, support local or CORS resources
avatar: "/commons/avatar.jpg"
avatar: "/assets/img/favicons/favicon.ico"

# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
# It can be overridden by a customized `page.image` in front matter.
Expand Down Expand Up @@ -155,6 +155,7 @@ baseurl: ""
# ------------ The following options are not recommended to be modified ------------------

kramdown:
input: GFM
footnote_backlink: "↩︎"
syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
Expand Down
14 changes: 4 additions & 10 deletions _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
# name: {full name}
# twitter: {twitter_of_author}
# url: {homepage_of_author}
# -------------------------------------

cotes:
name: Cotes Chung
twitter: cotes2020
url: https://github.com/cotes2020/
# ------------------------------------

sille_bille:
name: Dinesh Prasanth Moluguwan Krishnamoorthy
twitter: dinesh_MKD
url: https://github.com/SilleBille/
xmoonanx:
name: xmoonanx
url: https://github.com/xmoonanx
4 changes: 2 additions & 2 deletions _data/contact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
- type: github
icon: "fab fa-github"

- type: twitter
icon: "fa-brands fa-x-twitter"
#- type: twitter
# icon: "fa-brands fa-x-twitter"

- type: email
icon: "fas fa-envelope"
Expand Down
93 changes: 56 additions & 37 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
layout: compress
---

<!doctype html>
<!DOCTYPE html>

{% include origin-type.html %}

{% include lang.html %}

{% if site.theme_mode %}
{% capture prefer_mode %}data-mode="{{ site.theme_mode }}"{% endcapture %}
{% endif %}
{% include origin-type.html %} {% include lang.html %} {% if site.theme_mode %}
{% capture prefer_mode %}data-mode="{{ site.theme_mode }}"{% endcapture %} {%
endif %}

<!-- `site.alt_lang` can specify a language different from the UI -->
<html lang="{{ page.lang | default: site.alt_lang | default: site.lang }}" {{ prefer_mode }}>
<html
lang="{{ page.lang | default: site.alt_lang | default: site.lang }}"
{{
prefer_mode
}}
>
{% include head.html %}

<body>
Expand All @@ -24,63 +25,81 @@
{% include topbar.html lang=lang %}

<div class="row flex-grow-1">
<main aria-label="Main Content" class="col-12 col-lg-11 col-xl-9 px-md-4">
{% if layout.refactor or layout.layout == 'default' %}
{% include refactor-content.html content=content lang=lang %}
{% else %}
{{ content }}
{% endif %}
<main
aria-label="Main Content"
class="col-12 col-lg-11 col-xl-9 px-md-4"
>
{% if layout.refactor or layout.layout == 'default' %} {% include
refactor-content.html content=content lang=lang %} {% else %} {{
content }} {% endif %}
</main>

<!-- panel -->
<aside aria-label="Panel" id="panel-wrapper" class="col-xl-3 ps-2 mb-5 text-muted">
<aside
aria-label="Panel"
id="panel-wrapper"
class="col-xl-3 ps-2 mb-5 text-muted"
>
<div class="access">
{% include_cached update-list.html lang=lang %}
{% include_cached trending-tags.html lang=lang %}
{% include_cached update-list.html lang=lang %} {% include_cached
trending-tags.html lang=lang %}
</div>

{% for _include in layout.panel_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} lang=lang %}
{% endfor %}
<!-- google ad -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4781177221016819"
crossorigin="anonymous"
></script>
<!-- display -->
<ins
class="adsbygoogle"
style="display: block"
data-ad-client="ca-pub-4781177221016819"
data-ad-slot="7667153941"
data-ad-format="auto"
data-full-width-responsive="true"
></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
{% for _include in layout.panel_includes %} {% assign _include_path
= _include | append: '.html' %} {% include {{ _include_path }}
lang=lang %} {% endfor %}
</aside>
</div>

<div class="row">
<!-- tail -->
<div id="tail-wrapper" class="col-12 col-lg-11 col-xl-9 px-md-4">
{% for _include in layout.tail_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} lang=lang %}
{% endfor %}

{% include_cached footer.html lang=lang %}
{% for _include in layout.tail_includes %} {% assign _include_path =
_include | append: '.html' %} {% include {{ _include_path }}
lang=lang %} {% endfor %} {% include_cached footer.html lang=lang %}
</div>
</div>

{% include_cached search-results.html lang=lang %}
</div>

<aside aria-label="Scroll to Top">
<button id="back-to-top" type="button" class="btn btn-lg btn-box-shadow">
<button
id="back-to-top"
type="button"
class="btn btn-lg btn-box-shadow"
>
<i class="fas fa-angle-up"></i>
</button>
</aside>
</div>

<div id="mask" class="d-none position-fixed w-100 h-100 z-1"></div>

{% if site.pwa.enabled %}
{% include_cached notification.html lang=lang %}
{% if site.pwa.enabled %} {% include_cached notification.html lang=lang %}
{% endif %}

<!-- Embedded scripts -->

{% for _include in layout.script_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} %}
{% endfor %}

{% for _include in layout.script_includes %} {% assign _include_path =
_include | append: '.html' %} {% include {{ _include_path }} %} {% endfor %}
{% include_cached search-loader.html lang=lang %}
</body>
</html>
Loading
Loading