このコミットが含まれているのは:
守矢諏訪子 2023-05-18 21:33:45 +09:00
コミット aa60227f87
5個のファイルの変更312行の追加71行の削除

ファイルの表示

@ -3,7 +3,7 @@
<id>gemini://technicalsuwako.moe</id>
<title>テクニカル諏訪子</title>
<updated>2023-05-12T00:00:00Z</updated>
<updated>2023-05-13T00:00:00Z</updated>
<author><name>テクニカル諏訪子</name></author>
<link href="gemini://technicalsuwako.moe" rel="alternate"></link>
@ -11,6 +11,106 @@
<entry>
<id>blog/urloli-210.gmi</id>
<author><name>凛</name></author>
<title type="html">【】URLロリ 2.1.0登場</title>
<published>2023-05-13T00:00:00Z</published>
<category term="jp"></category>
<category term="blog"></category>
<category term="ウエブ開発"></category>
<category term=""></category>
<category term="urloli"></category>
<category term="urlロリ"></category>
<link href="gemini://technicalsuwako.moe/blog/urloli-210.gmi" rel="alternate"></link>
<content type="html">
&lt;p&gt;URLロリ は2.1.0にバージョンアップしました!!&lt;/p&gt;
&lt;h2 id=&#34;url&#34;&gt;URLロリって何?&lt;/h2&gt;
&lt;p&gt;URLロリはクッソ小さいURL短縮作成ソフトだわ〜♡&lt;/p&gt;
&lt;h2 id=&#34;heading&#34;&gt;変更&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;ローカライズは関数化&lt;/li&gt;
&lt;li&gt;API機能性&lt;/li&gt;
&lt;li&gt;サーバーのソースコードを短くに&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;api&#34;&gt;APIについて&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://urlo.li/api&#34;&gt;/api&lt;/a&gt;&lt;br /&gt;
インスタンスURL及びバージョンを確認(GET)&lt;/p&gt;
&lt;h3 id=&#34;heading-1&#34;&gt;例の結果&lt;/h3&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;{
&amp;#34;url&amp;#34;: &amp;#34;https://urlo.li&amp;#34;,
&amp;#34;version&amp;#34;: &amp;#34;2.1.0&amp;#34;
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href=&#34;https://urlo.li/api/lolify&#34;&gt;/api/lolify&lt;/a&gt;&lt;br /&gt;
URLを短縮する(既に存在する場合、短縮済みURLを表示) (POST)&lt;/p&gt;
&lt;h3 id=&#34;heading-2&#34;&gt;必須のパラメートル&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;url&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;heading-3&#34;&gt;例の結果&lt;/h3&gt;
&lt;p&gt;既に存在する場合&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;curl -d url=gemini://technicalsuwako.moe https://urlo.li/api/lolify
{
&amp;#34;code&amp;#34;: 200,
&amp;#34;error&amp;#34;: &amp;#34;&amp;#34;,
&amp;#34;url&amp;#34;: &amp;#34;https://urlo.li/yoWJx&amp;#34;,
&amp;#34;origin&amp;#34;: &amp;#34;gemini://technicalsuwako.moe&amp;#34;,
&amp;#34;isnew&amp;#34;: false
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;新しく追加された場合&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;curl -d url=gemini://technicalsuwako.moe/about https://urlo.li/api/lolify
{
&amp;#34;code&amp;#34;: 200,
&amp;#34;error&amp;#34;: &amp;#34;&amp;#34;,
&amp;#34;url&amp;#34;: &amp;#34;https://urlo.li/fiW3B&amp;#34;,
&amp;#34;origin&amp;#34;: &amp;#34;gemini://technicalsuwako.moe/about&amp;#34;,
&amp;#34;isnew&amp;#34;: true
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;エラーの場合&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;curl -d url=technicalsuwako.moe https://urlo.li/api/lolify
{
&amp;#34;code&amp;#34;: 400,
&amp;#34;error&amp;#34;: &amp;#34;URLは「http://」又は「https://」で始めます。&amp;#34;,
&amp;#34;url&amp;#34;: &amp;#34;&amp;#34;,
&amp;#34;origin&amp;#34;: &amp;#34;&amp;#34;,
&amp;#34;isnew&amp;#34;: false
}%
&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;curl -d url=gemini://technicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moe https://urlo.li/api/lolify
{
&amp;#34;code&amp;#34;: 400,
&amp;#34;error&amp;#34;: &amp;#34;URLは500文字以内です。&amp;#34;,
&amp;#34;url&amp;#34;: &amp;#34;&amp;#34;,
&amp;#34;origin&amp;#34;: &amp;#34;&amp;#34;,
&amp;#34;isnew&amp;#34;: false
}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;heading-4&#34;&gt;ソースコード&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://gitler.moe/suwako/urloli&#34;&gt;Gitler&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;heading-5&#34;&gt;公式インスタンス&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://urlo.li/&#34;&gt;https://urlo.li/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;heading-6&#34;&gt;ダウンロード&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://gitler.moe/suwako/urloli/releases&#34;&gt;リリースページ&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;heading-7&#34;&gt;会話&lt;/h2&gt;
&lt;h3 id=&#34;xmpp&#34;&gt;XMPP&lt;/h3&gt;
&lt;p&gt;&lt;a href=&#34;xmpp:urloli@chat.xmpp.076.ne.jp?join&#34;&gt;xmpp:urloli@chat.xmpp.076.ne.jp?join&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;irc&#34;&gt;IRC&lt;/h3&gt;
&lt;p&gt;irc.076.ne.jp/6697&lt;br /&gt;
#urloli&lt;/p&gt;
&lt;p&gt;以上&lt;/p&gt;
</content>
</entry>
<entry>
<id>blog/urloli-202.gmi</id>
<author><name>凛</name></author>
@ -231,75 +331,5 @@ TorとI2Pは今週中設置します。&lt;/p&gt;
</content>
</entry>
<entry>
<id>blog/openbsd-zsh-udivdi3-syusei.gmi</id>
<author><name>凛</name></author>
<title type="html">【OpenBSD】更新後「zsh: undefined symbol &#39;_udivdi3&#39;」というエラーの修正する方法</title>
<published>2023-04-19T00:00:00Z</published>
<category term="jp"></category>
<category term="blog"></category>
<category term="bsd"></category>
<category term="openbsd"></category>
<link href="gemini://technicalsuwako.moe/blog/openbsd-zsh-udivdi3-syusei.gmi" rel="alternate"></link>
<content type="html">
&lt;p&gt;OpenBSD 7.3は公開されましたので、直ぐ全てのサーバー(64-bit)を更新しました。&lt;br /&gt;
それは問題無しで出来ました。&lt;br /&gt;
でも、ThinkPad T43(32-bit)で下記のエラーが発生しました&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;ssh 192.168.0.123
Last login: Tue Apr 18 22:32:51 2023
OpenBSD 7.3 (GENERIC) #660: Sat Mar 25 11:17:44 MDT 2023
Welcome to OpenBSD: The proactively secure Unix-like operating system.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code. With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
Cannot open X display!
xmodmap: unable to open display &amp;#39;&amp;#39;
-zsh:-zsh: undefined symbol &amp;#39;__udivdi3&amp;#39;
ld.so: -zsh: lazy binding failed!
Connection to 192.168.0.123 closed.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;これのせいで、ノートでもttyでログイン出来なくなったり、端末を開かなくなった。&lt;br /&gt;
1週間後、やっと修正する方法を見つけました。&lt;/p&gt;
&lt;p&gt;まずは再起動して、起動画面で「boot -s」を入力して下さい。&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;Using drive 0, partition 3.
Loading…
probing : pc0 apm pci mem[632K 1533M a20=on]
disk: fd0 hd0+
&amp;gt;&amp;gt; OpenBSD/i386 BOOT 3.44
boot&amp;gt; boot -s
Enter pathname of shell or RETURN for sh: sh
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;それでシングルユーザーモードに起動します。&lt;br /&gt;
しかし、シングルユーザーモードは読み取り専用モードですので、まずはディスクをマウントするのは必要となります。&lt;br /&gt;
それ後で、ルートユーザーのシェルはshに交換しましょう。&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;mount -a
chsh -s /bin/sh root
reboot
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;今はいつでも通りに起動して、CTRL+Alt+F2を押して、rootアカウントにログインして下さい。&lt;br /&gt;
パッケージを更新しましょう。&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;pkg_add -ui
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;その後でzshに戻してはOKです。&lt;/p&gt;
&lt;pre&gt;&lt;code lang=&#34;&#34;&gt;chsh -s /usr/local/bin/zsh root
&lt;span style=&#34;color:#a2f&#34;&gt;exit&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;CTRL+Alt+F5を押したら、GUI系ログイン画面に帰ります。&lt;br /&gt;
ここから普通にパソコンを使えます。&lt;/p&gt;
&lt;p&gt;以上&lt;/p&gt;
</content>
</entry>
</feed>

ファイルの表示

@ -2,6 +2,7 @@
# 記事一覧
=> /blog/urloli-210.gmi 2023年05月13日 【】URLロリ 2.1.0登場
=> /blog/urloli-202.gmi 2023年05月12日 【】URLロリ 2.0.2登場
=> /blog/urloli-201.gmi 2023年05月10日 【】URLロリ 2.0.1登場
=> /blog/urloli-200.gmi 2023年05月10日 【】URLロリ 2.0.0登場

104
gemini/blog/urloli-210.gmi ノーマルファイル
ファイルの表示

@ -0,0 +1,104 @@
=> /blog.gmi ブログ一覧へ
#【】URLロリ 2.1.0登場
投稿日2023-05-12
URLロリ は2.1.0にバージョンアップしました!!
## URLロリって何?
URLロリはクッソ小さいURL短縮作成ソフトだわ〜♡
## 変更
* ローカライズは関数化
* API機能性
* サーバーのソースコードを短くに
## APIについて
=> https://urlo.li/api /api
インスタンスURL及びバージョンを確認(GET)
### 例の結果
```
{
"url": "https://urlo.li",
"version": "2.1.0"
}
```
=> https://urlo.li/api/lolify /api/lolify
URLを短縮する(既に存在する場合、短縮済みURLを表示) (POST)
### 必須のパラメートル
* url
### 例の結果
既に存在する場合
```
curl -d url=https://technicalsuwako.moe https://urlo.li/api/lolify
{
"code": 200,
"error": "",
"url": "https://urlo.li/yoWJx",
"origin": "https://technicalsuwako.moe",
"isnew": false
}
```
新しく追加された場合
```
curl -d url=https://technicalsuwako.moe/about https://urlo.li/api/lolify
{
"code": 200,
"error": "",
"url": "https://urlo.li/fiW3B",
"origin": "https://technicalsuwako.moe/about",
"isnew": true
}
```
エラーの場合
```
curl -d url=technicalsuwako.moe https://urlo.li/api/lolify
{
"code": 400,
"error": "URLは「http://」又は「https://」で始めます。",
"url": "",
"origin": "",
"isnew": false
}%
```
```
curl -d url=https://technicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moe https://urlo.li/api/lolify
{
"code": 400,
"error": "URLは500文字以内です。",
"url": "",
"origin": "",
"isnew": false
}
```
## ソースコード
=> https://gitler.moe/suwako/urloli Gitler
## 公式インスタンス
=> https://urlo.li/
## ダウンロード
=> https://gitler.moe/suwako/urloli/releases リリースページ
## 会話
### XMPP
=> xmpp:urloli@chat.xmpp.076.ne.jp?join
### IRC
irc.076.ne.jp/6697
\#urloli
以上

ファイルの表示

@ -3,6 +3,7 @@
# avatar = https://076.moe/static/suwako.png
# description = テクニカル諏訪子様のtwtxtフィード
# link = ホームページ gemini://technicalsuwako.moe
2023-05-13T00:00:00Z09:00 【】URLロリ 2.1.0登場 - gemini://technicalsuwako.moe/blog/blog/urloli-210.gmi
2023-05-12T00:00:00Z09:00 【】URLロリ 2.0.2登場 - gemini://technicalsuwako.moe/blog/blog/urloli-202.gmi
2023-05-10T17:45:00Z09:00 【】URLロリ 2.0.1登場 - gemini://technicalsuwako.moe/blog/blog/urloli-201.gmi
2023-05-10T00:00:00Z09:00 【】URLロリ 2.0.0登場 - gemini://technicalsuwako.moe/blog/blog/urloli-200.gmi

105
src/blog/urloli-210/index.md ノーマルファイル
ファイルの表示

@ -0,0 +1,105 @@
title: 【】URLロリ 2.1.0登場
author: 凛
date: 2023-05-13
tags: jp,blog,ウエブ開発,,urloli,urlロリ
----
URLロリ は2.1.0にバージョンアップしました!!
## URLロリって何?
URLロリはクッソ小さいURL短縮作成ソフトだわ〜♡
## 変更
* ローカライズは関数化
* API機能性
* サーバーのソースコードを短くに
## APIについて
[/api](https://urlo.li/api)\
インスタンスURL及びバージョンを確認(GET)
### 例の結果
```
{
"url": "https://urlo.li",
"version": "2.1.0"
}
```
[/api/lolify](https://urlo.li/api/lolify)\
URLを短縮する(既に存在する場合、短縮済みURLを表示) (POST)
### 必須のパラメートル
* url
### 例の結果
既に存在する場合
```
curl -d url=https://technicalsuwako.moe https://urlo.li/api/lolify
{
"code": 200,
"error": "",
"url": "https://urlo.li/yoWJx",
"origin": "https://technicalsuwako.moe",
"isnew": false
}
```
新しく追加された場合
```
curl -d url=https://technicalsuwako.moe/about https://urlo.li/api/lolify
{
"code": 200,
"error": "",
"url": "https://urlo.li/fiW3B",
"origin": "https://technicalsuwako.moe/about",
"isnew": true
}
```
エラーの場合
```
curl -d url=technicalsuwako.moe https://urlo.li/api/lolify
{
"code": 400,
"error": "URLは「http://」又は「https://」で始めます。",
"url": "",
"origin": "",
"isnew": false
}%
```
```
curl -d url=https://technicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moetechnicalsuwako.moe https://urlo.li/api/lolify
{
"code": 400,
"error": "URLは500文字以内です。",
"url": "",
"origin": "",
"isnew": false
}
```
## ソースコード
[Gitler](https://gitler.moe/suwako/urloli)
## 公式インスタンス
[https://urlo.li/](https://urlo.li/)
## ダウンロード
[リリースページ](https://gitler.moe/suwako/urloli/releases)
## 会話
### XMPP
[xmpp:urloli@chat.xmpp.076.ne.jp?join](xmpp:urloli@chat.xmpp.076.ne.jp?join)
### IRC
irc.076.ne.jp/6697\
#urloli
以上