沉冰浮水

沉冰浮水

做最终到的事,成为最终成为的人!
github
bilibili
mastodon
zhihu
douban

[True Ramblings] 2021/09/20 ~ 2021/09/26

title: [True · Ramblings] 2021/09/20 ~ 2021/09/26
date: 2021-09-27 15:33:39
tags:

  • Rain Collection
  • Ramblings
  • Indecisive
    categories:
  • Miscellaneous
    id: 137
    alias: 20100305270

2021-09-20 10:42#

Today is Monday, which is a good time to test the newly written mdLint plugin. https://marketplace.visualstudio.com/items?itemName=wdssmq.mdlint "- I used to procrastinate until Thursday or something -"

2021-09-20 10:51#

Continuing from the previous entry, although there is still room for improvement;

2021-09-23 08:55#

Many problems can indeed be dealt with, but it seems that something is always missing. For example, the previous company also sent a box, but it was too big and the earphones ended up disappearing in the washing machine! This time, there was an unexpected improvement in the box issue because I didn't know if the box they sent would be suitable when I placed the order! In the end, "needing to deal with" itself is the most urgent thing I want to avoid!

2021-09-23 11:40#

Finally wrote some formal content in logseq;

2021-09-24 11:57#

#Bookmark Visualized code execution: https://pythontutor.com/;

2021-09-24 11:58#

#Bookmark Convert Markdown to HTML using GitHub API: https://github.com/calganaygun/MDcat

2021-09-24 12:34#

My blog space went down today, and the app showed that it hasn't backed up data for 60 days... Tools and such, in the end, can't withstand laziness.

2021-09-24 12:37#

Finally updated: "Xiao Green and Xiao Blue" 360 Demon King 15-Creator-Online Comics-Tencent Comics Official Website https://ac.qq.com/ComicView/index/id/536332/cid/826

2021-09-26 14:11#

#Bookmark An analysis of the movie "The Godfather": https://www.zhihu.com/question/488054014/answer/2137288235

2021-09-27 16:06 Summary#

The last two times were posted on Monday, which was very timely;

2021-09-28 20:04#

In the live-action version of "Today's Menu for the Emiya Family," the male protagonist's work experience is well portrayed.

2021-09-29 19:14#

#Unreplayable Past In the year when I transferred from a regular high school to a vocational high school, the math teacher would "remind" students in a cheerful tone to "write higher" when they were asked to solve problems on the blackboard. 14 years have passed, and I can still play back the feeling of hearing this sentence in my mind. Similarly, the English teacher, who was also the homeroom teacher, can't remember the exact words and tone she used to convey the same meaning. A few days ago, I seemed to have heard a sentence as well, and at that time, I should have heard every word clearly, but I can't recall it at all.

2021-09-30 19:07#

#Memo find /|grep nginx.conf

2021-10-07 13:26#

Upgrading Python on CentOS;

#Python #CentOS

https://www.python.org/ftp/python/

yum install gcc libffi-devel python-devel openssl-devel

cd /root/tmp
# Download and extract
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
tar -xzvf Python-3.9.6.tgz

# Enter the directory
cd /root/tmp/Python-3.9.6

# Create installation path
mkdir /usr/local/python3
# Specify installation path
./configure --prefix=/usr/local/python3 --enable-loadable-sqlite-extensions
# Compile and install
make
make install

# Rename the old version and link the new version to the original path
mv /usr/bin/python /usr/bin/python_old2
ln -s /usr/local/python3/bin/python3  /usr/bin/python
ln -s /usr/local/python3/bin/pip3  /usr/bin/pip

# poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
ln -s /root/.local/bin/poetry  /usr/bin/poetry

# /root/.local/bin/cookiecutter
pip install --user cookiecutter
ln -s /root/.local/bin/cookiecutter  /usr/bin/cookiecutter
cookiecutter gh:rsserpent/template

2021-10-07 15:11#

Installing poetry on Windows

(Invoke-WebRequest -Uri https://cdn.jsdelivr.net/gh/python-poetry/poetry@master/get-poetry.py -UseBasicParsing).Content | python -

2021-10-07 13:44:50#

Modifying the remote address in Git command line;

#Git

git remote set-url origin url

find /|grep poetry

2021-10-07 18:03#

#Python #CentOS

ModuleNotFoundError: No module named '_sqlite3'
https://www.jianshu.com/p/dd4532457b9f


cd /root/tmp
# Download and extract
wget http://www.sqlite.org/snapshot/sqlite-snapshot-202110061004.tar.gz
tar -xzvf sqlite-*.tar.gz

# Enter the directory
cd /root/tmp/sqlite-*

# Create installation path
mkdir /usr/local/sqlite
# Specify installation path
./configure --prefix=/usr/local/sqlite
# Compile and install
make
make install
# exit


find / -name _sqlite*.so

# /usr/local/python3/lib/python3.9/lib-dynload/_sqlite3.cpython-39-x86_64-linux-gnu.so
# /usr/lib64/python2.7/site-packages/_sqlitecache.so
# /usr/lib64/python2.7/lib-dynload/_sqlite3.so

cp /usr/local/python3/lib/python3.9/lib-dynload/_sqlite3.cpython-39-x86_64-linux-gnu.so \
   /usr/local/python3/lib/python3.9/lib-dynload/_sqlite3.so

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.