aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/404.html16
-rw-r--r--docs/categories/index.html18
-rw-r--r--docs/categories/index.xml4
-rw-r--r--docs/categories/page/1/index.html2
-rw-r--r--docs/index.html36
-rw-r--r--docs/index.xml40
-rw-r--r--docs/page/1/index.html2
-rw-r--r--docs/posts/cpp-you-can-use-keywords-in-attributes/index.html16
-rw-r--r--docs/posts/index.html36
-rw-r--r--docs/posts/index.xml40
-rw-r--r--docs/posts/my-first-post/index.html16
-rw-r--r--docs/posts/page/1/index.html2
-rw-r--r--docs/posts/phperkaigi-2021/index.html16
-rw-r--r--docs/posts/python-unbound-local-error/index.html16
-rw-r--r--docs/posts/ruby-detect-running-implementation/index.html16
-rw-r--r--docs/posts/ruby-then-keyword-and-case-in/index.html16
-rw-r--r--docs/posts/rust-where-are-primitive-types-from/index.html16
-rw-r--r--docs/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html16
-rw-r--r--docs/posts/vim-swap-order-of-selected-lines/index.html16
-rw-r--r--docs/sitemap.xml26
-rw-r--r--docs/tags/index.html97
-rw-r--r--docs/tags/index.xml10
-rw-r--r--docs/tags/page/1/index.html1
23 files changed, 291 insertions, 183 deletions
diff --git a/docs/404.html b/docs/404.html
index c4ccc90..73e5ea2 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -10,12 +10,12 @@
<meta name="description" content="">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -73,20 +73,20 @@
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
<div class="not-found">404</div></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/categories/index.html b/docs/categories/index.html
index 26fe617..f43d450 100644
--- a/docs/categories/index.html
+++ b/docs/categories/index.html
@@ -10,15 +10,15 @@
<meta name="description" content="">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
- <link rel="alternate" type="application/rss+xml" href="https://nsfisis.github.io/categories/index.xml" title="REPL: Rest-Eat-Program Loop" />
+ <link rel="alternate" type="application/rss+xml" href="https://blog.nsfisis.dev/categories/index.xml" title="REPL: Rest-Eat-Program Loop" />
<script>
@@ -74,7 +74,7 @@
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -82,13 +82,13 @@
<header class="page-header"><h1>Categories</h1></header>
</main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/categories/index.xml b/docs/categories/index.xml
index 46eea4b..1b1cd21 100644
--- a/docs/categories/index.xml
+++ b/docs/categories/index.xml
@@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on REPL: Rest-Eat-Program Loop</title>
- <link>https://nsfisis.github.io/categories/</link>
+ <link>https://blog.nsfisis.dev/categories/</link>
<description>Recent content in Categories on REPL: Rest-Eat-Program Loop</description>
<generator>Hugo -- gohugo.io</generator>
- <language>ja-JP</language><atom:link href="https://nsfisis.github.io/categories/index.xml" rel="self" type="application/rss+xml" />
+ <language>ja-JP</language><atom:link href="https://blog.nsfisis.dev/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
diff --git a/docs/categories/page/1/index.html b/docs/categories/page/1/index.html
index bf06eed..1f6f78f 100644
--- a/docs/categories/page/1/index.html
+++ b/docs/categories/page/1/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html><head><title>https://nsfisis.github.io/categories/</title><link rel="canonical" href="https://nsfisis.github.io/categories/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://nsfisis.github.io/categories/" /></head></html> \ No newline at end of file
+<!DOCTYPE html><html><head><title>https://blog.nsfisis.dev/categories/</title><link rel="canonical" href="https://blog.nsfisis.dev/categories/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.nsfisis.dev/categories/" /></head></html> \ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 8e18578..6c7deb3 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -10,15 +10,15 @@
<meta name="description" content="">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
- <link rel="alternate" type="application/rss+xml" href="https://nsfisis.github.io/index.xml" title="REPL: Rest-Eat-Program Loop" />
+ <link rel="alternate" type="application/rss+xml" href="https://blog.nsfisis.dev/index.xml" title="REPL: Rest-Eat-Program Loop" />
<script>
@@ -74,7 +74,7 @@
</script>
<header class="header">
<nav class="nav">
- <h1 class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></h1>
+ <h1 class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></h1>
</nav>
</header>
<main class="main">
@@ -96,7 +96,7 @@ https://github.com/rust-lang/rust/tree/511ed9f2356af365ad8affe046b3dd33f7ac3c98
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/rust-where-are-primitive-types-from/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/rust-where-are-primitive-types-from/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -112,7 +112,7 @@ if cond then puts &#34;Y&#34; else puts &#34;N&#34; end このキーワードが
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/ruby-then-keyword-and-case-in/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/ruby-then-keyword-and-case-in/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -126,7 +126,7 @@ if cond then puts &#34;Y&#34; else puts &#34;N&#34; end このキーワードが
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/cpp-you-can-use-keywords-in-attributes/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/cpp-you-can-use-keywords-in-attributes/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -145,7 +145,7 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/ruby-detect-running-implementation/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/ruby-detect-running-implementation/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -164,7 +164,7 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/vim-swap-order-of-selected-lines/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/vim-swap-order-of-selected-lines/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -186,7 +186,7 @@ https://github.com/vim/vim/blob/8e6be34338f13a6a625f19bcef82019c9adc65f2/src/aut
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -204,7 +204,7 @@ def f(): x = 0 def g(): x &#43;= 1 g() f() 関数 g から 関数 f のスコー
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/python-unbound-local-error/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/python-unbound-local-error/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -228,7 +228,7 @@ AWS Lambda のカスタムランタイムで PHP を動かす
<footer class="entry-footer">
<time>March 30, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/phperkaigi-2021/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/phperkaigi-2021/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -240,16 +240,16 @@ AWS Lambda のカスタムランタイムで PHP を動かす
<footer class="entry-footer">
<time>March 5, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/my-first-post/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/my-first-post/"></a>
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/index.xml b/docs/index.xml
index 2b7a17c..de29a03 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -2,17 +2,17 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>REPL: Rest-Eat-Program Loop</title>
- <link>https://nsfisis.github.io/</link>
+ <link>https://blog.nsfisis.dev/</link>
<description>Recent content on REPL: Rest-Eat-Program Loop</description>
<generator>Hugo -- gohugo.io</generator>
<language>ja-JP</language>
- <lastBuildDate>Wed, 31 Mar 2021 01:36:49 +0900</lastBuildDate><atom:link href="https://nsfisis.github.io/index.xml" rel="self" type="application/rss+xml" />
+ <lastBuildDate>Wed, 31 Mar 2021 01:36:49 +0900</lastBuildDate><atom:link href="https://blog.nsfisis.dev/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Rust のプリミティブ型はどこからやって来るか</title>
- <link>https://nsfisis.github.io/posts/rust-where-are-primitive-types-from/</link>
+ <link>https://blog.nsfisis.dev/posts/rust-where-are-primitive-types-from/</link>
<pubDate>Sat, 02 Oct 2021 09:39:27 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/rust-where-are-primitive-types-from/</guid>
+ <guid>https://blog.nsfisis.dev/posts/rust-where-are-primitive-types-from/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/9a429432258bbcd6c565
前置き Rust において、プリミティブ型の名前は予約語でない。したがって、次のコードは合法である。
#![allow(non_camel_case_types)] #![allow(dead_code)] struct bool; struct char; struct i8; struct i16; struct i32; struct i64; struct i128; struct isize; struct u8; struct u16; struct u32; struct u64; struct u128; struct usize; struct f32; struct f64; struct str; では、普段単に bool と書いたとき、この bool は一体どこから来ているのか。rustc のソースを追ってみた。
@@ -25,10 +25,10 @@ https://github.com/rust-lang/rust/tree/511ed9f2356af365ad8affe046b3dd33f7ac3c98
<item>
<title>[Ruby] then キーワードと case in</title>
- <link>https://nsfisis.github.io/posts/ruby-then-keyword-and-case-in/</link>
+ <link>https://blog.nsfisis.dev/posts/ruby-then-keyword-and-case-in/</link>
<pubDate>Sat, 02 Oct 2021 09:38:50 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/ruby-then-keyword-and-case-in/</guid>
+ <guid>https://blog.nsfisis.dev/posts/ruby-then-keyword-and-case-in/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/787a8cf888a304497223
TL; DR case - in によるパターンマッチング構文でも、case - when と同じように then が使える (場合によっては使う必要がある)。
then とは 使われることは稀だが、Ruby では then がキーワードになっている。次のように使う:
@@ -38,10 +38,10 @@ if cond then puts &amp;#34;Y&amp;#34; else puts &amp;#34;N&amp;#34; end この
<item>
<title>[C&#43;&#43;] 属性構文の属性名にはキーワードが使える [[void]] [[for]]</title>
- <link>https://nsfisis.github.io/posts/cpp-you-can-use-keywords-in-attributes/</link>
+ <link>https://blog.nsfisis.dev/posts/cpp-you-can-use-keywords-in-attributes/</link>
<pubDate>Sat, 02 Oct 2021 09:38:30 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/cpp-you-can-use-keywords-in-attributes/</guid>
+ <guid>https://blog.nsfisis.dev/posts/cpp-you-can-use-keywords-in-attributes/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/94090937bcf860cfa93b
タイトル落ち。まずはこのコードを見て欲しい。
#include &amp;lt;iostream&amp;gt; [[alignas]] [[alignof]] [[and]] [[and_eq]] [[asm]] [[auto]] [[bitand]] [[bitor]] [[bool]] [[break]] [[case]] [[catch]] [[char]] [[char16_t]] [[char32_t]] [[class]] [[compl]] [[const]] [[const_cast]] [[constexpr]] [[continue]] [[decltype]] [[default]] [[delete]] [[do]] [[double]] [[dynamic_cast]] [[else]] [[enum]] [[explicit]] [[export]] [[extern]] [[false]] [[final]] [[float]] [[for]] [[friend]] [[goto]] [[if]] [[inline]] [[int]] [[long]] [[mutable]] [[namespace]] [[new]] [[noexcept]] [[not]] [[not_eq]] [[nullptr]] [[operator]] [[or]] [[or_eq]] [[override]] [[private]] [[protected]] [[public]] [[register]] [[reinterpret_cast]] [[return]] [[short]] [[signed]] [[sizeof]] [[static]] [[static_assert]] [[static_cast]] [[struct]] [[switch]] [[template]] [[this]] [[thread_local]] [[throw]] [[true]] [[try]] [[typedef]] [[typeid]] [[typename]] [[union]] [[unsigned]] [[virtual]] [[void]] [[volatile]] [[wchar_t]] [[while]] [[xor]] [[xor_eq]] // [[using]] int main() { std::cout &amp;lt;&amp;lt; &amp;#34;Hello, World!</description>
@@ -49,10 +49,10 @@ if cond then puts &amp;#34;Y&amp;#34; else puts &amp;#34;N&amp;#34; end この
<item>
<title>[Ruby] 自身を実行している処理系の種類を判定する</title>
- <link>https://nsfisis.github.io/posts/ruby-detect-running-implementation/</link>
+ <link>https://blog.nsfisis.dev/posts/ruby-detect-running-implementation/</link>
<pubDate>Sat, 02 Oct 2021 09:37:50 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/ruby-detect-running-implementation/</guid>
+ <guid>https://blog.nsfisis.dev/posts/ruby-detect-running-implementation/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/74d7ffeeebc51b20d791
Ruby という言語には複数の実装があるが、それらをスクリプト上からどのようにして programmatically に見分ければよいだろうか。
Object クラスに定義されている RUBY_ENGINE という定数がこの用途に使える。
@@ -65,10 +65,10 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<item>
<title>Vimで選択した行の順番を入れ替える</title>
- <link>https://nsfisis.github.io/posts/vim-swap-order-of-selected-lines/</link>
+ <link>https://blog.nsfisis.dev/posts/vim-swap-order-of-selected-lines/</link>
<pubDate>Sat, 02 Oct 2021 09:37:25 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/vim-swap-order-of-selected-lines/</guid>
+ <guid>https://blog.nsfisis.dev/posts/vim-swap-order-of-selected-lines/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/4fefb361d9a693803520
バージョン情報 :version の一部
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 26 2020 11:30:30) macOS version Included patches: 1-148 Huge version without GUI.
@@ -81,10 +81,10 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<item>
<title>[Vim] autocmd events の BufWrite/BufWritePre の違い</title>
- <link>https://nsfisis.github.io/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</link>
+ <link>https://blog.nsfisis.dev/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</link>
<pubDate>Sat, 02 Oct 2021 09:37:12 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</guid>
+ <guid>https://blog.nsfisis.dev/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/79ab4db8564032de0b25
TL; DR 違いはない。ただのエイリアス。
調査記録 Vim の autocmd events には似通った名前のものがいくつかある。大抵は :help に説明があるが、この記事のタイトルにある2つを含めた以下のイベントには、その違いについて説明がない。
@@ -100,10 +100,10 @@ https://github.com/vim/vim/blob/8e6be34338f13a6a625f19bcef82019c9adc65f2/src/aut
<item>
<title>[Python] クロージャとUnboundLocalError: local variable &#39;x&#39; referenced before assignment</title>
- <link>https://nsfisis.github.io/posts/python-unbound-local-error/</link>
+ <link>https://blog.nsfisis.dev/posts/python-unbound-local-error/</link>
<pubDate>Sat, 02 Oct 2021 09:32:37 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/python-unbound-local-error/</guid>
+ <guid>https://blog.nsfisis.dev/posts/python-unbound-local-error/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/5d733703afcb35bbf399
本記事は Python 3.7.6 の動作結果を元にして書かれている。
Python でクロージャを作ろうと、次のようなコードを書いた。
@@ -115,10 +115,10 @@ def f(): x = 0 def g(): x += 1 g() f() 関数 g から 関数 f のスコープ
<item>
<title>PHPerKaigi 2021</title>
- <link>https://nsfisis.github.io/posts/phperkaigi-2021/</link>
+ <link>https://blog.nsfisis.dev/posts/phperkaigi-2021/</link>
<pubDate>Tue, 30 Mar 2021 23:22:40 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/phperkaigi-2021/</guid>
+ <guid>https://blog.nsfisis.dev/posts/phperkaigi-2021/</guid>
<description>PHPerKaigi 2021 参加レポ 2021/03/26 から 2021/03/28 にかけて開催された、PHPerKaigi 2021 に一般参加者として参加した。 弊社デジタルサーカス株式会社 (今年1月から勤務) はダイヤモンドスポンサーとなっており、スポンサー枠のチケットを使わせていただいた。
このようなカンファレンスには初めて参加するのでかねてより心待ちにしていたのだが、生憎2日目から体調を崩してしまい、この記事も途中までとなっている。まだ見ていないセッションも多いが、ひとまず現時点での参加レポを書いておく。
発表はトラック A、B に分かれていたのだが、今回はすべて A トラックを視聴している (切り替えるのが面倒だっただけ)。
@@ -136,10 +136,10 @@ AWS Lambda のカスタムランタイムで PHP を動かす
<item>
<title>My First Post</title>
- <link>https://nsfisis.github.io/posts/my-first-post/</link>
+ <link>https://blog.nsfisis.dev/posts/my-first-post/</link>
<pubDate>Fri, 05 Mar 2021 23:38:21 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/my-first-post/</guid>
+ <guid>https://blog.nsfisis.dev/posts/my-first-post/</guid>
<description>Test Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</description>
</item>
diff --git a/docs/page/1/index.html b/docs/page/1/index.html
index 30ea60d..e0486f7 100644
--- a/docs/page/1/index.html
+++ b/docs/page/1/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html><head><title>https://nsfisis.github.io/</title><link rel="canonical" href="https://nsfisis.github.io/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://nsfisis.github.io/" /></head></html> \ No newline at end of file
+<!DOCTYPE html><html><head><title>https://blog.nsfisis.dev/</title><link rel="canonical" href="https://blog.nsfisis.dev/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.nsfisis.dev/" /></head></html> \ No newline at end of file
diff --git a/docs/posts/cpp-you-can-use-keywords-in-attributes/index.html b/docs/posts/cpp-you-can-use-keywords-in-attributes/index.html
index e53832b..874ddcb 100644
--- a/docs/posts/cpp-you-can-use-keywords-in-attributes/index.html
+++ b/docs/posts/cpp-you-can-use-keywords-in-attributes/index.html
@@ -12,12 +12,12 @@
#include &lt;iostream&gt; [[alignas]] [[alignof]] [[and]] [[and_eq]] [[asm]] [[auto]] [[bitand]] [[bitor]] [[bool]] [[break]] [[case]] [[catch]] [[char]] [[char16_t]] [[char32_t]] [[class]] [[compl]] [[const]] [[const_cast]] [[constexpr]] [[continue]] [[decltype]] [[default]] [[delete]] [[do]] [[double]] [[dynamic_cast]] [[else]] [[enum]] [[explicit]] [[export]] [[extern]] [[false]] [[final]] [[float]] [[for]] [[friend]] [[goto]] [[if]] [[inline]] [[int]] [[long]] [[mutable]] [[namespace]] [[new]] [[noexcept]] [[not]] [[not_eq]] [[nullptr]] [[operator]] [[or]] [[or_eq]] [[override]] [[private]] [[protected]] [[public]] [[register]] [[reinterpret_cast]] [[return]] [[short]] [[signed]] [[sizeof]] [[static]] [[static_assert]] [[static_cast]] [[struct]] [[switch]] [[template]] [[this]] [[thread_local]] [[throw]] [[true]] [[try]] [[typedef]] [[typeid]] [[typename]] [[union]] [[unsigned]] [[virtual]] [[void]] [[volatile]] [[wchar_t]] [[while]] [[xor]] [[xor_eq]] // [[using]] int main() { std::cout &lt;&lt; &#34;Hello, World!">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -75,7 +75,7 @@
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -159,13 +159,13 @@ $ clang++ &ndash;std=c++17 hoge.cpp</p>
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/index.html b/docs/posts/index.html
index f93dcb2..ddf68dc 100644
--- a/docs/posts/index.html
+++ b/docs/posts/index.html
@@ -10,15 +10,15 @@
<meta name="description" content="">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
- <link rel="alternate" type="application/rss+xml" href="https://nsfisis.github.io/posts/index.xml" title="REPL: Rest-Eat-Program Loop" />
+ <link rel="alternate" type="application/rss+xml" href="https://blog.nsfisis.dev/posts/index.xml" title="REPL: Rest-Eat-Program Loop" />
<script>
@@ -74,7 +74,7 @@
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -98,7 +98,7 @@ https://github.com/rust-lang/rust/tree/511ed9f2356af365ad8affe046b3dd33f7ac3c98
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/rust-where-are-primitive-types-from/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/rust-where-are-primitive-types-from/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -114,7 +114,7 @@ if cond then puts &#34;Y&#34; else puts &#34;N&#34; end このキーワードが
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/ruby-then-keyword-and-case-in/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/ruby-then-keyword-and-case-in/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -128,7 +128,7 @@ if cond then puts &#34;Y&#34; else puts &#34;N&#34; end このキーワードが
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/cpp-you-can-use-keywords-in-attributes/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/cpp-you-can-use-keywords-in-attributes/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -147,7 +147,7 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/ruby-detect-running-implementation/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/ruby-detect-running-implementation/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -166,7 +166,7 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/vim-swap-order-of-selected-lines/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/vim-swap-order-of-selected-lines/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -188,7 +188,7 @@ https://github.com/vim/vim/blob/8e6be34338f13a6a625f19bcef82019c9adc65f2/src/aut
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -206,7 +206,7 @@ def f(): x = 0 def g(): x &#43;= 1 g() f() 関数 g から 関数 f のスコー
<footer class="entry-footer">
<time>October 2, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/python-unbound-local-error/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/python-unbound-local-error/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -230,7 +230,7 @@ AWS Lambda のカスタムランタイムで PHP を動かす
<footer class="entry-footer">
<time>March 30, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/phperkaigi-2021/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/phperkaigi-2021/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
@@ -242,16 +242,16 @@ AWS Lambda のカスタムランタイムで PHP を動かす
<footer class="entry-footer">
<time>March 5, 2021</time>
</footer>
- <a class="entry-link" href="https://nsfisis.github.io/posts/my-first-post/"></a>
+ <a class="entry-link" href="https://blog.nsfisis.dev/posts/my-first-post/"></a>
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/index.xml b/docs/posts/index.xml
index c836e68..68eefcd 100644
--- a/docs/posts/index.xml
+++ b/docs/posts/index.xml
@@ -2,17 +2,17 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on REPL: Rest-Eat-Program Loop</title>
- <link>https://nsfisis.github.io/posts/</link>
+ <link>https://blog.nsfisis.dev/posts/</link>
<description>Recent content in Posts on REPL: Rest-Eat-Program Loop</description>
<generator>Hugo -- gohugo.io</generator>
<language>ja-JP</language>
- <lastBuildDate>Sat, 02 Oct 2021 09:39:27 +0900</lastBuildDate><atom:link href="https://nsfisis.github.io/posts/index.xml" rel="self" type="application/rss+xml" />
+ <lastBuildDate>Sat, 02 Oct 2021 09:39:27 +0900</lastBuildDate><atom:link href="https://blog.nsfisis.dev/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Rust のプリミティブ型はどこからやって来るか</title>
- <link>https://nsfisis.github.io/posts/rust-where-are-primitive-types-from/</link>
+ <link>https://blog.nsfisis.dev/posts/rust-where-are-primitive-types-from/</link>
<pubDate>Sat, 02 Oct 2021 09:39:27 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/rust-where-are-primitive-types-from/</guid>
+ <guid>https://blog.nsfisis.dev/posts/rust-where-are-primitive-types-from/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/9a429432258bbcd6c565
前置き Rust において、プリミティブ型の名前は予約語でない。したがって、次のコードは合法である。
#![allow(non_camel_case_types)] #![allow(dead_code)] struct bool; struct char; struct i8; struct i16; struct i32; struct i64; struct i128; struct isize; struct u8; struct u16; struct u32; struct u64; struct u128; struct usize; struct f32; struct f64; struct str; では、普段単に bool と書いたとき、この bool は一体どこから来ているのか。rustc のソースを追ってみた。
@@ -25,10 +25,10 @@ https://github.com/rust-lang/rust/tree/511ed9f2356af365ad8affe046b3dd33f7ac3c98
<item>
<title>[Ruby] then キーワードと case in</title>
- <link>https://nsfisis.github.io/posts/ruby-then-keyword-and-case-in/</link>
+ <link>https://blog.nsfisis.dev/posts/ruby-then-keyword-and-case-in/</link>
<pubDate>Sat, 02 Oct 2021 09:38:50 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/ruby-then-keyword-and-case-in/</guid>
+ <guid>https://blog.nsfisis.dev/posts/ruby-then-keyword-and-case-in/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/787a8cf888a304497223
TL; DR case - in によるパターンマッチング構文でも、case - when と同じように then が使える (場合によっては使う必要がある)。
then とは 使われることは稀だが、Ruby では then がキーワードになっている。次のように使う:
@@ -38,10 +38,10 @@ if cond then puts &amp;#34;Y&amp;#34; else puts &amp;#34;N&amp;#34; end この
<item>
<title>[C&#43;&#43;] 属性構文の属性名にはキーワードが使える [[void]] [[for]]</title>
- <link>https://nsfisis.github.io/posts/cpp-you-can-use-keywords-in-attributes/</link>
+ <link>https://blog.nsfisis.dev/posts/cpp-you-can-use-keywords-in-attributes/</link>
<pubDate>Sat, 02 Oct 2021 09:38:30 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/cpp-you-can-use-keywords-in-attributes/</guid>
+ <guid>https://blog.nsfisis.dev/posts/cpp-you-can-use-keywords-in-attributes/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/94090937bcf860cfa93b
タイトル落ち。まずはこのコードを見て欲しい。
#include &amp;lt;iostream&amp;gt; [[alignas]] [[alignof]] [[and]] [[and_eq]] [[asm]] [[auto]] [[bitand]] [[bitor]] [[bool]] [[break]] [[case]] [[catch]] [[char]] [[char16_t]] [[char32_t]] [[class]] [[compl]] [[const]] [[const_cast]] [[constexpr]] [[continue]] [[decltype]] [[default]] [[delete]] [[do]] [[double]] [[dynamic_cast]] [[else]] [[enum]] [[explicit]] [[export]] [[extern]] [[false]] [[final]] [[float]] [[for]] [[friend]] [[goto]] [[if]] [[inline]] [[int]] [[long]] [[mutable]] [[namespace]] [[new]] [[noexcept]] [[not]] [[not_eq]] [[nullptr]] [[operator]] [[or]] [[or_eq]] [[override]] [[private]] [[protected]] [[public]] [[register]] [[reinterpret_cast]] [[return]] [[short]] [[signed]] [[sizeof]] [[static]] [[static_assert]] [[static_cast]] [[struct]] [[switch]] [[template]] [[this]] [[thread_local]] [[throw]] [[true]] [[try]] [[typedef]] [[typeid]] [[typename]] [[union]] [[unsigned]] [[virtual]] [[void]] [[volatile]] [[wchar_t]] [[while]] [[xor]] [[xor_eq]] // [[using]] int main() { std::cout &amp;lt;&amp;lt; &amp;#34;Hello, World!</description>
@@ -49,10 +49,10 @@ if cond then puts &amp;#34;Y&amp;#34; else puts &amp;#34;N&amp;#34; end この
<item>
<title>[Ruby] 自身を実行している処理系の種類を判定する</title>
- <link>https://nsfisis.github.io/posts/ruby-detect-running-implementation/</link>
+ <link>https://blog.nsfisis.dev/posts/ruby-detect-running-implementation/</link>
<pubDate>Sat, 02 Oct 2021 09:37:50 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/ruby-detect-running-implementation/</guid>
+ <guid>https://blog.nsfisis.dev/posts/ruby-detect-running-implementation/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/74d7ffeeebc51b20d791
Ruby という言語には複数の実装があるが、それらをスクリプト上からどのようにして programmatically に見分ければよいだろうか。
Object クラスに定義されている RUBY_ENGINE という定数がこの用途に使える。
@@ -65,10 +65,10 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<item>
<title>Vimで選択した行の順番を入れ替える</title>
- <link>https://nsfisis.github.io/posts/vim-swap-order-of-selected-lines/</link>
+ <link>https://blog.nsfisis.dev/posts/vim-swap-order-of-selected-lines/</link>
<pubDate>Sat, 02 Oct 2021 09:37:25 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/vim-swap-order-of-selected-lines/</guid>
+ <guid>https://blog.nsfisis.dev/posts/vim-swap-order-of-selected-lines/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/4fefb361d9a693803520
バージョン情報 :version の一部
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 26 2020 11:30:30) macOS version Included patches: 1-148 Huge version without GUI.
@@ -81,10 +81,10 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
<item>
<title>[Vim] autocmd events の BufWrite/BufWritePre の違い</title>
- <link>https://nsfisis.github.io/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</link>
+ <link>https://blog.nsfisis.dev/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</link>
<pubDate>Sat, 02 Oct 2021 09:37:12 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</guid>
+ <guid>https://blog.nsfisis.dev/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/79ab4db8564032de0b25
TL; DR 違いはない。ただのエイリアス。
調査記録 Vim の autocmd events には似通った名前のものがいくつかある。大抵は :help に説明があるが、この記事のタイトルにある2つを含めた以下のイベントには、その違いについて説明がない。
@@ -100,10 +100,10 @@ https://github.com/vim/vim/blob/8e6be34338f13a6a625f19bcef82019c9adc65f2/src/aut
<item>
<title>[Python] クロージャとUnboundLocalError: local variable &#39;x&#39; referenced before assignment</title>
- <link>https://nsfisis.github.io/posts/python-unbound-local-error/</link>
+ <link>https://blog.nsfisis.dev/posts/python-unbound-local-error/</link>
<pubDate>Sat, 02 Oct 2021 09:32:37 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/python-unbound-local-error/</guid>
+ <guid>https://blog.nsfisis.dev/posts/python-unbound-local-error/</guid>
<description>この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/5d733703afcb35bbf399
本記事は Python 3.7.6 の動作結果を元にして書かれている。
Python でクロージャを作ろうと、次のようなコードを書いた。
@@ -115,10 +115,10 @@ def f(): x = 0 def g(): x += 1 g() f() 関数 g から 関数 f のスコープ
<item>
<title>PHPerKaigi 2021</title>
- <link>https://nsfisis.github.io/posts/phperkaigi-2021/</link>
+ <link>https://blog.nsfisis.dev/posts/phperkaigi-2021/</link>
<pubDate>Tue, 30 Mar 2021 23:22:40 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/phperkaigi-2021/</guid>
+ <guid>https://blog.nsfisis.dev/posts/phperkaigi-2021/</guid>
<description>PHPerKaigi 2021 参加レポ 2021/03/26 から 2021/03/28 にかけて開催された、PHPerKaigi 2021 に一般参加者として参加した。 弊社デジタルサーカス株式会社 (今年1月から勤務) はダイヤモンドスポンサーとなっており、スポンサー枠のチケットを使わせていただいた。
このようなカンファレンスには初めて参加するのでかねてより心待ちにしていたのだが、生憎2日目から体調を崩してしまい、この記事も途中までとなっている。まだ見ていないセッションも多いが、ひとまず現時点での参加レポを書いておく。
発表はトラック A、B に分かれていたのだが、今回はすべて A トラックを視聴している (切り替えるのが面倒だっただけ)。
@@ -136,10 +136,10 @@ AWS Lambda のカスタムランタイムで PHP を動かす
<item>
<title>My First Post</title>
- <link>https://nsfisis.github.io/posts/my-first-post/</link>
+ <link>https://blog.nsfisis.dev/posts/my-first-post/</link>
<pubDate>Fri, 05 Mar 2021 23:38:21 +0900</pubDate>
- <guid>https://nsfisis.github.io/posts/my-first-post/</guid>
+ <guid>https://blog.nsfisis.dev/posts/my-first-post/</guid>
<description>Test Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</description>
</item>
diff --git a/docs/posts/my-first-post/index.html b/docs/posts/my-first-post/index.html
index 14671d3..5e12685 100644
--- a/docs/posts/my-first-post/index.html
+++ b/docs/posts/my-first-post/index.html
@@ -10,12 +10,12 @@
<meta name="description" content="Test Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -73,7 +73,7 @@
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -90,13 +90,13 @@
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/page/1/index.html b/docs/posts/page/1/index.html
index f92417f..e866bbc 100644
--- a/docs/posts/page/1/index.html
+++ b/docs/posts/page/1/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html><head><title>https://nsfisis.github.io/posts/</title><link rel="canonical" href="https://nsfisis.github.io/posts/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://nsfisis.github.io/posts/" /></head></html> \ No newline at end of file
+<!DOCTYPE html><html><head><title>https://blog.nsfisis.dev/posts/</title><link rel="canonical" href="https://blog.nsfisis.dev/posts/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.nsfisis.dev/posts/" /></head></html> \ No newline at end of file
diff --git a/docs/posts/phperkaigi-2021/index.html b/docs/posts/phperkaigi-2021/index.html
index 1f2806c..977be03 100644
--- a/docs/posts/phperkaigi-2021/index.html
+++ b/docs/posts/phperkaigi-2021/index.html
@@ -22,12 +22,12 @@ AWS Lambda のカスタムランタイムで PHP を動かす
今は Laravel がルーティングしている Laravel Livewire を Lambda に載せられないか? デプロイ方法は? バッチ処理は? (Lambda は 15分の制限)">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -85,7 +85,7 @@ AWS Lambda のカスタムランタイムで PHP を動かす
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -571,13 +571,13 @@ Nginx などで相互に gRPC と gRPC-Web で変換</p>
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/python-unbound-local-error/index.html b/docs/posts/python-unbound-local-error/index.html
index e3a142c..227164a 100644
--- a/docs/posts/python-unbound-local-error/index.html
+++ b/docs/posts/python-unbound-local-error/index.html
@@ -16,12 +16,12 @@ def f(): x = 0 def g(): x &#43;= 1 g() f() 関数 g から 関数 f のスコー
# 注: var は正しい Python の文法ではない。上記参照のこと def f(): var x # f の local変数 &#39;x&#39; を宣言 x = 0 # x に 0 を代入 def g(): # f の内部関数 g を定義 var x # g の local変数 &#39;x&#39; を宣言 # たまたま f にも同じ名前の変数があるが、それとは別の変数 x &#43;= 1 # x に 1 を加算 (x = x &#43; 1 の糖衣構文) # 加算する前の値を参照しようとするが、まだ代入されていないためエラー g() 当初の意図を表現するには、次のように書けばよい。">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -79,7 +79,7 @@ def f(): x = 0 def g(): x &#43;= 1 g() f() 関数 g から 関数 f のスコー
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -131,13 +131,13 @@ f()
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/ruby-detect-running-implementation/index.html b/docs/posts/ruby-detect-running-implementation/index.html
index 8367a96..f4642b5 100644
--- a/docs/posts/ruby-detect-running-implementation/index.html
+++ b/docs/posts/ruby-detect-running-implementation/index.html
@@ -17,12 +17,12 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
RUBY_ENGINE Implementation &lt;undefined&gt; MRI &lt; 1.">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -80,7 +80,7 @@ What values for RUBY_ENGINE correspond to which Ruby implementations? より引
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -161,13 +161,13 @@ jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/ruby-then-keyword-and-case-in/index.html b/docs/posts/ruby-then-keyword-and-case-in/index.html
index 75639bf..f055f34 100644
--- a/docs/posts/ruby-then-keyword-and-case-in/index.html
+++ b/docs/posts/ruby-then-keyword-and-case-in/index.html
@@ -14,12 +14,12 @@ if cond then puts &#34;Y&#34; else puts &#34;N&#34; end このキーワードが
# Example: if x then a end unless x then a end begin a rescue then b end case x when p then a end なぜ普段は書かなくてもよいのか 普通 Ruby のコードで then を書くことはない。なぜか。次のコードを実行してみるとわかる。">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -77,7 +77,7 @@ if cond then puts &#34;Y&#34; else puts &#34;N&#34; end このキーワードが
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -227,13 +227,13 @@ C系の <code>if</code> 後に来る <code>(</code>/<code>)</code> や、Python
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/rust-where-are-primitive-types-from/index.html b/docs/posts/rust-where-are-primitive-types-from/index.html
index d05d19b..ab5e557 100644
--- a/docs/posts/rust-where-are-primitive-types-from/index.html
+++ b/docs/posts/rust-where-are-primitive-types-from/index.html
@@ -17,12 +17,12 @@ https://github.com/rust-lang/rust/tree/511ed9f2356af365ad8affe046b3dd33f7ac3c98
大雑把な構造としては、compiler フォルダ以下に rustc_* という名前のクレートが数十個入っている。これがどうやら rustc コマンドの実装部のようだ。">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -80,7 +80,7 @@ https://github.com/rust-lang/rust/tree/511ed9f2356af365ad8affe046b3dd33f7ac3c98
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -218,13 +218,13 @@ rustc_resolve/src/lib.rs: table.insert(sym::i128, Int(IntTy::I128));
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/docs/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
index 670fa20..082c7d1 100644
--- a/docs/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
+++ b/docs/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
@@ -20,12 +20,12 @@ https://github.com/vim/vim/blob/8e6be34338f13a6a625f19bcef82019c9adc65f2/src/aut
{&#34;BufRead&#34;, EVENT_BUFREADPOST}, {&#34;BufReadCmd&#34;, EVENT_BUFREADCMD}, {&#34;BufReadPost&#34;, EVENT_BUFREADPOST}, https://github.com/vim/vim/blob/8e6be34338f13a6a625f19bcef82019c9adc65f2/src/autocmd.c#L103-L105">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -83,7 +83,7 @@ https://github.com/vim/vim/blob/8e6be34338f13a6a625f19bcef82019c9adc65f2/src/aut
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -171,13 +171,13 @@ FileEncoding Obsolete. It still works and is equivalent
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/posts/vim-swap-order-of-selected-lines/index.html b/docs/posts/vim-swap-order-of-selected-lines/index.html
index 03b0a46..b290e21 100644
--- a/docs/posts/vim-swap-order-of-selected-lines/index.html
+++ b/docs/posts/vim-swap-order-of-selected-lines/index.html
@@ -17,12 +17,12 @@
:global コマンドは :[range]global/{pattern}/[command] のように使い、[range] で指定された範囲の行のうち、{pattern} で指定された検索パターンにマッチする行に対して、順番に [command] で指定された Ex コマンドを呼び出す。">
<meta name="author" content="">
- <link href="https://nsfisis.github.io/an-old-hope.min.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/style.css" rel="stylesheet">
- <link href="https://nsfisis.github.io/custom.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
- <link rel="apple-touch-icon" href="https://nsfisis.github.io/apple-touch-icon.png">
- <link rel="icon" href="https://nsfisis.github.io/favicon.ico">
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
<meta name="generator" content="Hugo 0.88.1" />
@@ -80,7 +80,7 @@
</script>
<header class="header">
<nav class="nav">
- <p class="logo"><a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></p>
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
</nav>
</header>
<main class="main">
@@ -184,13 +184,13 @@ executing autocommands |autocmd-searchpat|.
</article></main>
<footer class="footer">
- <span>&copy; 2021 <a href="https://nsfisis.github.io">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
<span>&middot;</span>
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
-<script src="https://nsfisis.github.io/highlight.min.js"></script>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 54f41b5..26952e6 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -2,41 +2,41 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
- <loc>https://nsfisis.github.io/posts/</loc>
+ <loc>https://blog.nsfisis.dev/posts/</loc>
<lastmod>2021-10-02T09:39:27+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/rust-where-are-primitive-types-from/</loc>
+ <loc>https://blog.nsfisis.dev/posts/rust-where-are-primitive-types-from/</loc>
<lastmod>2021-10-02T09:39:27+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/ruby-then-keyword-and-case-in/</loc>
+ <loc>https://blog.nsfisis.dev/posts/ruby-then-keyword-and-case-in/</loc>
<lastmod>2021-10-02T09:38:50+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/cpp-you-can-use-keywords-in-attributes/</loc>
+ <loc>https://blog.nsfisis.dev/posts/cpp-you-can-use-keywords-in-attributes/</loc>
<lastmod>2021-10-02T09:38:30+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/ruby-detect-running-implementation/</loc>
+ <loc>https://blog.nsfisis.dev/posts/ruby-detect-running-implementation/</loc>
<lastmod>2021-10-02T09:37:50+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/vim-swap-order-of-selected-lines/</loc>
+ <loc>https://blog.nsfisis.dev/posts/vim-swap-order-of-selected-lines/</loc>
<lastmod>2021-10-02T09:37:25+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</loc>
+ <loc>https://blog.nsfisis.dev/posts/vim-difference-between-autocmd-bufwrite-and-bufwritepre/</loc>
<lastmod>2021-10-02T09:37:12+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/python-unbound-local-error/</loc>
+ <loc>https://blog.nsfisis.dev/posts/python-unbound-local-error/</loc>
<lastmod>2021-10-02T09:32:37+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/</loc>
+ <loc>https://blog.nsfisis.dev/</loc>
<lastmod>2021-03-31T01:36:49+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/phperkaigi-2021/</loc>
+ <loc>https://blog.nsfisis.dev/posts/phperkaigi-2021/</loc>
<lastmod>2021-03-30T23:22:40+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/posts/my-first-post/</loc>
+ <loc>https://blog.nsfisis.dev/posts/my-first-post/</loc>
<lastmod>2021-03-05T23:38:21+09:00</lastmod>
</url><url>
- <loc>https://nsfisis.github.io/categories/</loc>
+ <loc>https://blog.nsfisis.dev/categories/</loc>
</url><url>
- <loc>https://nsfisis.github.io/tags/</loc>
+ <loc>https://blog.nsfisis.dev/tags/</loc>
</url>
</urlset>
diff --git a/docs/tags/index.html b/docs/tags/index.html
new file mode 100644
index 0000000..bb38c76
--- /dev/null
+++ b/docs/tags/index.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html lang="ja-JP">
+ <head>
+ <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">
+
+ <title>Tags - REPL: Rest-Eat-Program Loop</title>
+
+ <meta name="description" content="">
+ <meta name="author" content="">
+
+ <link href="https://blog.nsfisis.dev/an-old-hope.min.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/style.css" rel="stylesheet">
+ <link href="https://blog.nsfisis.dev/custom.css" rel="stylesheet">
+
+ <link rel="apple-touch-icon" href="https://blog.nsfisis.dev/apple-touch-icon.png">
+ <link rel="icon" href="https://blog.nsfisis.dev/favicon.ico">
+ <meta name="generator" content="Hugo 0.88.1" />
+
+ <link rel="alternate" type="application/rss+xml" href="https://blog.nsfisis.dev/tags/index.xml" title="REPL: Rest-Eat-Program Loop" />
+
+
+ <script>
+ function setTheme() {
+ if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
+ document.body.classList.add('dark');
+ return;
+ }
+
+ const time = new Date();
+ const prev = localStorage.getItem('date');
+ const date = String(time.getMonth() + 1) + '.' + String(time.getDate());
+
+ const now = time.getTime();
+ let sunrise;
+ let sunset;
+
+ function setBodyClass() {
+ if (now > sunrise && now < sunset) return;
+ document.body.classList.add('dark');
+ }
+
+ if (date !== prev) {
+ fetch('https://api.ipgeolocation.io/astronomy?apiKey=5ed37d85103e4defa5df4c5298ed5215')
+ .then((res) => res.json())
+ .then((data) => {
+ sunrise = data.sunrise.split(':').map(Number);
+ sunset = data.sunset.split(':').map(Number);
+ })
+ .catch(() => {
+ sunrise = [7, 0];
+ sunset = [19, 0];
+ })
+ .finally(() => {
+ sunrise = time.setHours(sunrise[0], sunrise[1], 0);
+ sunset = time.setHours(sunset[0], sunset[1], 0);
+ setBodyClass();
+ localStorage.setItem('sunrise', sunrise);
+ localStorage.setItem('sunset', sunset);
+ });
+ localStorage.setItem('date', date);
+ } else {
+ sunrise = Number(localStorage.getItem('sunrise'));
+ sunset = Number(localStorage.getItem('sunset'));
+ setBodyClass();
+ }
+ }
+ </script>
+ </head>
+ <body class="list">
+ <script>
+ setTheme();
+ </script>
+ <header class="header">
+ <nav class="nav">
+ <p class="logo"><a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></p>
+ </nav>
+ </header>
+ <main class="main">
+
+<header class="page-header"><h1>Tags</h1></header>
+</main>
+<footer class="footer">
+ <span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>
+ <span>&middot;</span>
+ <span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
+ <span>&middot;</span>
+ <span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
+</footer>
+<script src="https://blog.nsfisis.dev/highlight.min.js"></script>
+<script>
+ hljs.initHighlightingOnLoad();
+</script>
+</body>
+</html>
+
diff --git a/docs/tags/index.xml b/docs/tags/index.xml
new file mode 100644
index 0000000..f2ae147
--- /dev/null
+++ b/docs/tags/index.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <title>Tags on REPL: Rest-Eat-Program Loop</title>
+ <link>https://blog.nsfisis.dev/tags/</link>
+ <description>Recent content in Tags on REPL: Rest-Eat-Program Loop</description>
+ <generator>Hugo -- gohugo.io</generator>
+ <language>ja-JP</language><atom:link href="https://blog.nsfisis.dev/tags/index.xml" rel="self" type="application/rss+xml" />
+ </channel>
+</rss>
diff --git a/docs/tags/page/1/index.html b/docs/tags/page/1/index.html
new file mode 100644
index 0000000..71c6610
--- /dev/null
+++ b/docs/tags/page/1/index.html
@@ -0,0 +1 @@
+<!DOCTYPE html><html><head><title>https://blog.nsfisis.dev/tags/</title><link rel="canonical" href="https://blog.nsfisis.dev/tags/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.nsfisis.dev/tags/" /></head></html> \ No newline at end of file