roppong blog

2020年08月の投稿 4件

2020年08月18日

[python3]ヒアドキュメントのTextwrap.dedent() が効かない

テクノロジーrandom eye catch image

Jump to heading 事象

ヒアドキュメントの余計なインデントを無効化するために、Textwrap.dedent()を使用したが、
想定どおりに無効化されない。

Jump to heading 実行環境

root@f939e639fd93:~# python --version
Python 3.8.5

Jump to heading 期待する動作

test.py

def write_profile():
    profile_file_name = 'profile.txt'

    my_profile = """My name is {my_name}.
        I'm {age} ...
2020年08月04日(更新日:2020年08月10日)

wgetをすると「失敗しました: 接続を拒否されました」となる

テクノロジーrandom eye catch image

Jump to heading 事象

gitのバージョンをRPMではなく手動で上げたかったので、下記手順を試みる
https://qiita.com/sirone/items/2e233ab9697a030f1335
しかし、wgetをするところでつまずいた。

[root@5ab5b555f345 conf]# wget https://www.kernel.org/pub/software/scm/git/git-2.2.0.tar.gz
--2020-08-05 05:32:10--  https://www.kernel.org/pub/software/scm/git/git-2.2.0...
2020年08月04日

Bitbucketからcloneすると501になる

テクノロジーrandom eye catch image

Jump to heading 事象


[roppong@5ab5b555f345 roppongi]$ git clone https://atlassian.hogehoge.com/stash/scm/hogehoge/hogehoge.git
Initialized empty Git repository in /home/roppong/dev/hoge/roppongi/hogehoge/.git/
error: The requested URL returned error: 501  while accessing https://atlassian.hogehoge.com/st...
2020年08月02日(更新日:2021年02月17日)

YouTube「物理哲学講座」 INU久保教授は何者なのか

未分類eye catch image professor Kubo

「物理哲学講座」、「キリスト教哲学講座」、「仏教哲学講座」、「詩と唄の講座」などのYouTubeチャンネルを持つ、INU久保徳(本名かは不明)氏、またチャンネルや動画について気になったので調べてみました。

  • 1