Steam deck
Ubuntuが使えそう。
Archは触ったことなくて。
https://qiita.com/wakin/items/bfcc019cc5a3353d14ae
Archは触ったことなくて。
https://qiita.com/wakin/items/bfcc019cc5a3353d14ae
Steam Deckは開発環境になるのか
Steam Deckを買いました。ゲームもやってますが、それと同じくらいWebアプリの開発機としても使いたいなと思っています。 一度VSCodeやDockerのインストールに挑戦はしたんですが、Arch Linuxに慣れていない点や、...wakin (Qiita)
snapのmidori、馬鹿かよ。
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.227" (uid=1000 pid=235269 comm="/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNet" label="snap.midori.midori (enforce)") interface="org.gtk.GLib.PACRunner" member="Lookup" error name="(unset)" requested_reply="0" destination=":1.157" (uid=1000 pid=215406 comm="/usr/libexec/glib-pacrunner " label="unconfined")
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.227" (uid=1000 pid=235269 comm="/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNet" label="snap.midori.midori (enforce)") interface="org.gtk.GLib.PACRunner" member="Lookup" error name="(unset)" requested_reply="0" destination=":1.157" (uid=1000 pid=215406 comm="/usr/libexec/glib-pacrunner " label="unconfined")
Tor
しさぶりにTorの世界を覗いたら、Hostingサービスあるのな笑。
http://fhostingineiwjg6cppciac2bemu42nwsupvvisihnczinok362qfrqd.onion/
http://fhostingineiwjg6cppciac2bemu42nwsupvvisihnczinok362qfrqd.onion/
APIなしtwitter投稿
https://self-development.info/twitter-api%E3%82%92%E4%BD%BF%E3%82%8F%E3%81%9A%E3%81%ABpython%E3%81%A7%E8%87%AA%E5%8B%95%E3%83%84%E3%82%A4%E3%83%BC%E3%83%88%E3%82%92%E5%AE%9F%E7%8F%BE/
https://www.nishishi.com/blog/2020/07/twitter_no_api.html
https://www.nishishi.com/blog/2020/07/twitter_no_api.html
Twitter APIを使わずにPythonで自動ツイートを実現
Twitter APIを使わずにPythonで自動ツイートが可能です。これにより、Twitter APIの面倒な利用申請や、厳し過ぎる利用制限ともサヨナラできます。この記事では、Seleniumを使ってTwitterへのログインから、ツイートまでを自動化する方法を解説しています。…self_development (ジコログ)
apt update
apt autoremove
apt-add-repository 'deb http://cz.archive.ubuntu.com/ubuntu focal main'
apt install libtinfo6
apt autoremove
apt-add-repository 'deb http://cz.archive.ubuntu.com/ubuntu focal main'
apt install libtinfo6
これもか。
root@kazuna-1:/home/ubuntu# apt install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
certbot : Depends: python3-certbot (= 0.27.0-1~ubuntu18.04.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
certbot : Depends: python3-certbot (= 0.27.0-1~ubuntu18.04.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-certbot : Depends: python3-zope.component but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-zope.component
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-zope.component : Depends: python3-zope.hookable but it is not going tobe installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-zope.hookable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-zope.hookable : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.8.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 920 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-certbot : Depends: python3-zope.component but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-zope.component
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-zope.component : Depends: python3-zope.hookable but it is not going tobe installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-zope.hookable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-zope.hookable : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.8.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 920 not upgraded.
これだけで動いた。
変にいじらない。
あと少しURIが変
OK
https://localhost-kazuna-1.paiza-user-free.cloud:4000/main/friends
NG
https://kazuna-1.paiza-user-free.cloud/
GCEも18.04が良いかも。
変にいじらない。
あと少しURIが変
OK
https://localhost-kazuna-1.paiza-user-free.cloud:4000/main/friends
NG
https://kazuna-1.paiza-user-free.cloud/
GCEも18.04が良いかも。
オレオレPL
Installing on Linux using OTP releases
https://docs-develop.pleroma.social/backend/installation/otp_en/
https://35.197.57.185
35.197.57.185
SSL 1.1.1
wget from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/
dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.21_amd64.deb
dpkg -i libssl-dev_1.1.1-1ubuntu2.1~18.04.21_amd64.deb
生IPでは取れないのか
certbot -v certonly --standalone --preferred-challenges http -d 35.197.57.185
Requested name 35.197.57.185 is an IP address. The Let's Encrypt certificate authority will not issue certificates for a bare IP address.
#オレオレ
#秘密鍵を作成
openssl genrsa -out /etc/oreore.key 2048
# CSRを作成
openssl req -new -key /etc/oreore/server.key -out /etc/oreore/server.csr
# CRT(有効期限10年)を作成
openssl x509 -days 3650 -req -signkey /etc/oreore/server.key -in /etc/oreore/server.csr -out /etc/oreore/server.crt
vi /etc/nginx/sites-enabled/pleroma.conf
# ssl_trusted_certificate /etc/letsencrypt/live/example.tld/chain.pem;
ssl_certificate /etc/oreore/server.crt;
ssl_certificate_key /etc/oreore/server.key;
Installing on Linux using OTP releases
https://docs-develop.pleroma.social/backend/installation/otp_en/
https://35.197.57.185
35.197.57.185
SSL 1.1.1
wget from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/
dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.21_amd64.deb
dpkg -i libssl-dev_1.1.1-1ubuntu2.1~18.04.21_amd64.deb
生IPでは取れないのか
certbot -v certonly --standalone --preferred-challenges http -d 35.197.57.185
Requested name 35.197.57.185 is an IP address. The Let's Encrypt certificate authority will not issue certificates for a bare IP address.
#オレオレ
#秘密鍵を作成
openssl genrsa -out /etc/oreore.key 2048
# CSRを作成
openssl req -new -key /etc/oreore/server.key -out /etc/oreore/server.csr
# CRT(有効期限10年)を作成
openssl x509 -days 3650 -req -signkey /etc/oreore/server.key -in /etc/oreore/server.csr -out /etc/oreore/server.crt
vi /etc/nginx/sites-enabled/pleroma.conf
# ssl_trusted_certificate /etc/letsencrypt/live/example.tld/chain.pem;
ssl_certificate /etc/oreore/server.crt;
ssl_certificate_key /etc/oreore/server.key;
kazuna