I choose to install from source:
https://astromatic.github.io/sextractor/Installing.html
To run sh autogen.sh
, install autoconf
first:
apt install autoconf
To run ./configure
:
sudo apt install libcfitsio-dev libatlas-base-dev libfftw3-dev libtool
After make
, the compiled executable file will be at ./src/sex
.
Install PSFex
Almost the same:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sha256sum Miniconda3-latest-Linux-x86_64.sh
eval "$(/home/cirro/miniconda3/bin/conda shell.bash hook)"
conda create -n env_test_01 python=3.8 numpy
仅仅使用了Zotero几天,变看到红色惊叹号。点开一看,是300Mb的云同步存储已满。
<ChatGPT-Next-Web>开发得粗糙且混乱。但是看在更新及时的份上也就还在用……嗯,若有更高的解决方案,烦请推荐!
但是如<前文>之所描述的WebDAV无法同步的问题实在令人烦扰。我已经多次清理浏览器缓存时丢失聊天记录和配置了。此外,若能在多设备间同步设置和历史记录也会方便许多。
直到今天我看到<这里>,终于有了一个好的解决方案。
那么,完整的过程大致如下:
搭建WebDAV服务器
编辑nginx
配置文件:
这两天买了个 ChatGPT api
,又去注册了谷歌的 Gemini。终于可以放心使用GPT-4
了,于是决定自己搭一个前端。以下是简单记录。
出于众所周知的原因,我们经常需要通过代理来连接到github.com
.
在浏览器中使用代理我们已经很熟悉了。但是在Linux命令行中,有时不是那么顺利。
Using images provided by Bitnami
Since the wordpress deploy pack described here is no longer provided, I am trying to use Docker image still provided by Bitnami. Don't ask why, just a habit.
So, install docker-ce and docker-compose first. Please refer Docker offical manual.
在ChatGPT的帮助下我有了以下脚本:
#/bin/bash
# 设置Cloudflare的API密钥、电子邮件地址和区域ID
api_key=""
email=""
zone_identifier=""
record_identifier=""
# 设置要更新的DNS记录的信息
record_name="aaa.example.com"
proxied=false
record_type="AAAA"
comment="IPv6 update"
#以IPv6为例
ipv6_address=""
curl --request PUT \
--url "https://api.cloudflare.com/client/v4/zones/${zone_identifier}/dns_records/${record_identifier}" \
--header 'Content-Type: application/json' \
--header "X-Auth-Email: ${email}" \
--header "X-Auth-Key: ${api_key}" \
--data "{
\"content\": \"${new_ipv6_address}\",
\"name\": \"${record_name}\",
\"proxied\": ${proxied},
\"type\": \"${record_type}\",
\"comment\": \"${comment}\"
}"
其中的空项大都可以通过登录CloudFlare查询到。需要注意的是record_identifier
一项,它也需要通过api获取: