Skip to content

Commit 0210240

Browse files
committed
feat: add ga tracking id to _config.yml
1 parent 597e3da commit 0210240

15 files changed

+161
-166
lines changed

_config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ descriptions:
4545

4646
disqus_shortname: bits-bytes-nn
4747

48+
ga_tracking_id: G-MRH9Z5ETSQ
49+
4850
social:
4951
- name: Facebook
5052
icon: facebook
@@ -55,8 +57,8 @@ social:
5557

5658
- name: GitHub
5759
icon: github
58-
username: aldente0630
59-
url: https://github.com/aldente0630
60+
username: bits-bytes-nn
61+
url: https://github.com/bits-bytes-nn
6062
desc: Fork me on GitHub
6163
share: true
6264

_layouts/archive.html

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@
22
layout: default
33
---
44
<div class="wrapper">
5-
<div class="page">
5+
<div class="page">
6+
<header class="post-header">
7+
<h1 class="post-title">Posts in "{{ page.title | capitalize }}"</h1>
8+
</header>
69

7-
<header class="post-header">
8-
<h1 class="post-title">Posts in "{{ page.title | capitalize }}"</h1>
9-
</header>
10+
{% include page_divider.html %}
1011

11-
{% include page_divider.html %}
12-
13-
<article class="post-content">
14-
<ul class="posts-list">
15-
{% for post in page.posts %}
16-
<li><strong><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></strong><span class="post-date"> - {{ post.date | date: "%B %-d, %Y" }}</span></li>
17-
{% endfor %}
18-
</ul>
19-
</article>
20-
21-
</div>
12+
<article class="post-content">
13+
<ul class="posts-list">
14+
{% for post in page.posts %}
15+
<li>
16+
<strong>
17+
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
18+
</strong>
19+
<span class="post-date"> - {{ post.date | date: "%B %-d, %Y" }}</span>
20+
</li>
21+
{% endfor %}
22+
</ul>
23+
</article>
24+
</div>
2225
</div>
23-
<br>

_layouts/default.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="ko">
33

44
{% include head.html %}
55

66
<body>
7-
87
{% include header.html %}
98

10-
<div class="page-content">
11-
{{ content }}
12-
</div>
9+
<main class="page-content">
10+
{{ content }}
11+
</main>
1312

1413
{% include footer.html %}
15-
1614
</body>
1715

1816
</html>

_layouts/page.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
layout: default
33
---
44
<div class="wrapper">
5-
<div class="page">
5+
<div class="page">
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
</header>
69

7-
<header class="post-header">
8-
<h1 class="post-title">{{ page.title }}</h1>
9-
</header>
10+
{% include page_divider.html %}
1011

11-
{% include page_divider.html %}
12-
13-
<article class="post-content">
14-
{{ content }}
15-
</article>
16-
17-
</div>
12+
<article class="post-content">
13+
{{ content }}
14+
</article>
15+
</div>
1816
</div>

_layouts/post.html

Lines changed: 116 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -2,141 +2,130 @@
22
layout: default
33
---
44
<div class="post">
5-
6-
<div class="post-header-container {% if page.cover %}has-cover{% endif %}" {% if page.cover %}style="background-image: url({{ page.cover | prepend: site.baseurl }});"{% endif %}>
7-
<div class="scrim {% if page.cover %}has-cover{% endif %}">
8-
<header class="post-header">
9-
<h1 class="title">{{ page.title }}</h1>
10-
<p class="info">by <strong>{{ page.author }}</strong></p>
11-
</header>
5+
<div class="post-header-container {% if page.cover %}has-cover{% endif %}" {% if page.cover %}style="background-image: url({{ page.cover | prepend: site.baseurl }});"{% endif %}>
6+
<div class="scrim {% if page.cover %}has-cover{% endif %}">
7+
<header class="post-header">
8+
<h1 class="title">{{ page.title }}</h1>
9+
<p class="info">by <strong>{{ page.author }}</strong></p>
10+
</header>
11+
</div>
1212
</div>
13-
</div>
1413

15-
<div class="wrapper">
14+
<div class="wrapper">
15+
{% unless page.cover %} {% include page_divider.html %} {% endunless %}
1616

17-
{% unless page.cover %} {% include page_divider.html %} {% endunless %}
17+
<section class="post-meta">
18+
<div class="post-date">{{ page.date | date: "%B %-d, %Y" }}</div>
19+
<div class="post-categories">
20+
{% if page.categories.size > 0 %}in
21+
{% for cat in page.categories %}
22+
{% if site.jekyll-archives %}
23+
<a href="{{ site.baseurl }}/category/{{ cat }}">{{ cat | capitalize }}</a>{% if forloop.last == false %}, {% endif %}
24+
{% else %}
25+
<a href="{{ site.baseurl }}/posts/#{{ cat }}">{{ cat | capitalize }}</a>{% if forloop.last == false %}, {% endif %}
26+
{% endif %}
27+
{% endfor %}
28+
{% endif %}
29+
</div>
30+
</section>
1831

19-
<section class="post-meta">
20-
<div class="post-date">{{ page.date | date: "%B %-d, %Y" }}</div>
21-
<div class="post-categories">
22-
{% if page.categories.size > 0 %}in {% for cat in page.categories %}
23-
{% if site.jekyll-archives %}
24-
<a href="{{ site.baseurl }}/category/{{ cat }}">{{ cat | capitalize }}</a>{% if forloop.last == false %}, {% endif %}
25-
{% else %}
26-
<a href="{{ site.baseurl }}/posts/#{{ cat }}">{{ cat | capitalize }}</a>{% if forloop.last == false %}, {% endif %}
27-
{% endif %}
28-
{% endfor %}{% endif %}
29-
</div>
30-
</section>
32+
<article class="post-content">
33+
{{ content }}
34+
</article>
3135

32-
<article class="post-content">
33-
{{ content }}
34-
</article>
36+
{% if site.jekyll-archives and page.tags.size > 0 %}
37+
<section class="tags">
38+
<strong>Tags:</strong>
39+
{% for tag in page.tags %}
40+
<a href="{{ site.baseurl }}/tag/{{ tag }}">{{ tag }}</a>{% if forloop.last == false %},&nbsp;{% endif %}
41+
{% endfor %}
42+
</section>
43+
{% endif %}
3544

36-
{% if site.jekyll-archives %}
37-
{% if page.tags.size > 0 %}
38-
<section class="tags">
39-
<strong>Tags:</strong> {% for tag in page.tags %}<a href="{{ site.baseurl }}/tag/{{ tag }}">{{ tag }}</a>{% if forloop.last == false %},&nbsp;{% endif %}{% endfor %}
40-
</section>
41-
{% endif %}
42-
{% endif %}
45+
<section class="rss">
46+
<p class="rss-subscribe text"><strong>Subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></strong></p>
47+
</section>
4348

44-
<section class="rss">
45-
<p class="rss-subscribe text"><strong>Subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></strong></p>
46-
</section>
49+
<section class="share">
50+
<span>Share: </span>
51+
{% for social in site.social %}
52+
{% capture full_url %}{{ site.url }}{{ site.baseurl }}{{ page.url }}{% endcapture %}
53+
{% if social.name == "Twitter" and social.share == true %}
54+
<a href="//twitter.com/share?text={{ page.title | cgi_escape }}&url={{ full_url | cgi_escape}}&via={{social.username}}" onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
55+
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
56+
</a>
57+
{% endif %}
58+
{% if social.name == "Facebook" and social.share == true %}
59+
<a href="//www.facebook.com/sharer.php?t={{ page.title | cgi_escape }}&u={{ full_url | cgi_escape}}" onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
60+
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
61+
</a>
62+
{% endif %}
63+
{% if social.name == "LinkedIn" and social.share == true %}
64+
<a href="//www.linkedin.com/shareArticle?mini=true&url={{ full_url | cgi_escape}}" onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
65+
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
66+
</a>
67+
{% endif %}
68+
{% if social.name == "Pinterest" and social.share == true %}
69+
<a href="//www.pinterest.com/pin/create/button/?description={{ page.title | cgi_escape }}&url={{ full_url | cgi_escape}}&media={{ site.url }}{% if page.cover %}{{ page.cover | prepend: site.baseurl }}{% elsif site.cover %}{{ site.cover | prepend: site.baseurl }}{% else %}{{ site.logo | prepend: site.baseurl }}{% endif %}" onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
70+
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
71+
</a>
72+
{% endif %}
73+
{% if social.name == "Reddit" and social.share == true %}
74+
<a href="//www.reddit.com/submit" onclick="window.location = '//www.reddit.com/submit?url=' + encodeURIComponent('{{ full_url }}') + '&title={{page.title}}'; return false">
75+
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
76+
</a>
77+
{% endif %}
78+
{% if social.name == "Hacker News" and social.share == true %}
79+
<a href="//news.ycombinator.com/submitlink" onclick="window.location = '//news.ycombinator.com/submitlink?u=' + encodeURIComponent('{{ full_url }}') + '&t={{page.title}}'; return false">
80+
<i class="fa fa-{{ social.icon | remove_first: '-square' }} fa-lg"></i>
81+
</a>
82+
{% endif %}
83+
{% endfor %}
84+
</section>
4785

48-
<section class="share">
49-
<span>Share: </span>
50-
{% for social in site.social %}
51-
{% capture full_url %}{{ site.url }}{{ site.baseurl }}{{ page.url }}{% endcapture %}
52-
{% if social.name == "Twitter" and social.share == true %}
53-
<a href="//twitter.com/share?text={{ page.title | cgi_escape }}&url={{ full_url | cgi_escape}}&via={{social.username}}"
54-
onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
55-
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
56-
</a>
57-
{% endif %}
58-
{% if social.name == "Facebook" and social.share == true %}
59-
<a href="//www.facebook.com/sharer.php?t={{ page.title | cgi_escape }}&u={{ full_url | cgi_escape}}"
60-
onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
61-
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
62-
</a>
63-
{% endif %}
64-
{% if social.name == "Google+" and social.share == true %}
65-
<a href="//plus.google.com/share?title={{ page.title | cgi_escape }}&url={{ full_url | cgi_escape}}"
66-
onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
67-
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
68-
</a>
69-
{% endif %}
70-
{% if social.name == "LinkedIn" and social.share == true %}
71-
<a href="//www.linkedin.com/shareArticle?mini=true&url={{ full_url | cgi_escape}}"
72-
onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
73-
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
74-
</a>
86+
{% if site.inter_post_navigation == true %}
87+
<section class="post-navigation">
88+
<span class="prev-post">
89+
{% if page.previous.url %}
90+
<a href="{{page.previous.url | prepend: site.baseurl}}">
91+
<span class="fa-stack fa-lg">
92+
<i class="fa fa-square fa-stack-2x"></i>
93+
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
94+
</span>
95+
<span class="page-number">{{page.previous.title}}</span>
96+
</a>
97+
{% endif %}
98+
</span>
99+
<span class="next-post">
100+
{% if page.next.url %}
101+
<a href="{{page.next.url | prepend: site.baseurl}}">
102+
<span class="page-number">{{page.next.title}}</span>
103+
<span class="fa-stack fa-lg">
104+
<i class="fa fa-square fa-stack-2x"></i>
105+
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
106+
</span>
107+
</a>
108+
{% endif %}
109+
</span>
110+
</section>
75111
{% endif %}
76-
{% if social.name == "Pinterest" and social.share == true %}
77-
<a href="//www.pinterest.com/pin/create/button/?description={{ page.title | cgi_escape }}&url={{ full_url | cgi_escape}}&media={{ site.url }}{% if page.cover %}{{ page.cover | prepend: site.baseurl }}{% elsif site.cover %}{{ site.cover | prepend: site.baseurl }}{% else %}{{ site.logo | prepend: site.baseurl }}{% endif %}"
78-
onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;">
79-
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
80-
</a>
81-
{% endif %}
82-
{% if social.name == "Reddit" and social.share == true %}
83-
<a href="//www.reddit.com/submit" onclick="window.location = '//www.reddit.com/submit?url=' + encodeURIComponent('{{ full_url }}') + '&title={{page.title}}'; return false">
84-
<i class="fa fa-{{ social.icon | remove_first: '-square' }}-square fa-lg"></i>
85-
</a>
86-
{% endif %}
87-
{% if social.name == "Hacker News" and social.share == true %}
88-
<a href="//news.ycombinator.com/submitlink" onclick="window.location = '//news.ycombinator.com/submitlink?u=' + encodeURIComponent('{{ full_url }}') + '&t={{page.title}}'; return false">
89-
<i class="fa fa-{{ social.icon | remove_first: '-square' }} fa-lg"></i>
90-
</a>
91-
{% endif %}
92-
{% endfor %}
93-
</section>
94-
{% if site.inter_post_navigation == true %}
95-
<section class="post-navigation">
96-
<span class="prev-post">
97-
{% if page.previous.url %}
98-
<a href="{{page.previous.url | prepend: site.baseurl}}">
99-
<span class="fa-stack fa-lg">
100-
<i class="fa fa-square fa-stack-2x"></i>
101-
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
102-
</span>
103-
<span class="page-number">{{page.previous.title}}</span>
104-
</a>
105-
{% endif %}
106-
</span>
107-
<span class="next-post">
108-
{% if page.next.url %}
109-
<a href="{{page.next.url | prepend: site.baseurl}}">
110-
<span class="page-number">{{page.next.title}}</span>
111-
<span class="fa-stack fa-lg">
112-
<i class="fa fa-square fa-stack-2x"></i>
113-
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
114-
</span>
115-
</a>
116-
{% endif %}
117-
</span>
118-
</section>
119-
{% endif %}
120-
121-
{% if site.disqus_shortname %}
122-
{% unless page.disqus_disabled %}
123-
<section class="disqus">
124-
<div id="disqus_thread"></div>
125-
<script type="text/javascript">
126-
var disqus_shortname = '{{ site.disqus_shortname }}';
127112

128-
/* * * DON'T EDIT BELOW THIS LINE * * */
129-
(function() {
130-
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
131-
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
132-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
133-
})();
134-
</script>
135-
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
136-
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
137-
</section>
138-
{% endunless %}
139-
{% endif %}
140-
141-
</div>
113+
{% if site.disqus_shortname %}
114+
{% unless page.disqus_disabled %}
115+
<section class="disqus">
116+
<div id="disqus_thread"></div>
117+
<script type="text/javascript">
118+
var disqus_shortname = '{{ site.disqus_shortname }}';
119+
(function() {
120+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
121+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
122+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
123+
})();
124+
</script>
125+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
126+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
127+
</section>
128+
{% endunless %}
129+
{% endif %}
130+
</div>
142131
</div>

_posts/2025-01-17-deepseek-coder-when-the-large-language-model-meets-programming-the-rise-of-code-intelligence.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
layout: post
33
title: "DeepSeek-Coder: When the Large Language Model Meets Programming - The Rise of Code Intelligence"
44
date: 2024-01-25 14:17:53
5-
author: "DeepSeek-AI"
5+
author: "DeepSeek AI"
66
categories: "Language-Models"
77
tags: ["Open-Foundation-Language-Models", "Open-Source-Foundation-Language-Models", "Efficient-Transformer-Architecture", "Grouped-Query-Attention", "Rotary-Positional-Embeddings", "Fill-in-the-Middle-Code-Completion", "Cross-File-Code-Completion", "Scaling-Laws-for-Large-Language-Models", "Optimal-Model/Data-Scaling-Up-Allocation"]
88
use_math: true
9+
cover: "/assets/images/language-models.webp"
910
---
1011
### TL;DR
1112
#### 이 연구를 시작하게 된 배경과 동기는 무엇입니까?

_posts/2025-01-17-deepseek-llm-scaling-open-source-language-models-with-longtermism.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
layout: post
33
title: "DeepSeek LLM: Scaling Open-Source Language Models with Longtermism"
44
date: 2024-01-05 18:59:13
5-
author: "DeepSeek-AI"
5+
author: "DeepSeek AI"
66
categories: "Language-Models"
77
tags: ["Scaling-Laws-for-Large-Language-Models", "Optimal-Model/Data-Scaling-Up-Allocation", "Multi-Step-Learning-Rate-Scheduler", "Grouped-Query-Attention", "SwiGLU-Activation-Function", "Rotary-Positional-Embeddings", "Supervised-Fine-Tuning", "Direct-Preference-Optimization", "Open-Foundation-and-Fine-Tuned-Chat-Models"]
88
use_math: true
9+
cover: "/assets/images/language-models.webp"
910
---
1011
### TL;DR
1112
#### 이 연구를 시작하게 된 배경과 동기는 무엇입니까?

0 commit comments

Comments
 (0)