- Midjourney:Discordでできる
- Stable Diffusion:自分のPCでできる
(Hugging Faceというコミュニティサイトあり) - Adobe:イラレでもフォトショでもできるらしい
- DALLE3:OpenAI開発の画像生成AI
- ERNIE-ViLG:中国版Stable Diffusionか?
画像の生成AI種類
Your installation has no default phone region set.
Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add “default_phone_region” with the respective ISO 3166-1 code of the region to your config file. For more details see the documentation.
電話番号の地域が設定されていないよというので、config/config.phpに下記を追加
‘default_phone_region’ => ‘JP’,No memory cache has been configured.
No memory cache has been configured. To enhance performance, please configure a memcache, if available. For more details see the documentation.
メモリキャッシュが利用できていないとのお達し
メモリキャッシュが設定できていないと言うので
config/config.phpに下記を追加
‘memcache.local’ => ‘\OC\Memcache\APCu’,$ sudo systemctl restart php8.2-fpmThe database is used for transactional file locking.
The database is used for transactional file locking. To enhance performance, please configure memcache, if available.
データベースはトランザクショナルファイルロックに使用されています。パフォーマンスを向上させるために、利用可能な場合はメモリキャッシュを構成してください、とのこと。
あちこちからDBへのアクセスが集中した場合、トランザクショナルファイルロックがかかり、変更が重複しないようにしてくれるんだけど、メモリキャッシュが足りないと・・・。
言われた公式ドキュメントの該当箇所を見る
config/config.phpに下記を追加
‘filelocking.enabled’ => true,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘localhost’,
‘port’ => 6379,
‘timeout’ => 1.0,
),$ sudo systemctl restart apache2 $ sudo systemctl restart php8.2-fpmThe PHP OPcache module is not properly configured.
nextcloudエラーつぶし2
The PHP OPcache module is not properly configured. The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply “opcache.memory_consumption” to your PHP configuration with a value higher than “128”.. For more details see the documentation.
opcache.memory_consumptionを128以上にしろというので、php.iniの中のopcache.memory_consumptionを256にする。php8.2-fpmを再起動
$ sudo systemctl restart php8.2-fpmServer has no maintenance window start time configured.
nextcloudをインストール後、エラーが出るので一つずつ潰していく
Server has no maintenance window start time configured. This means resource intensive daily background jobs will also be executed during your main usage time. We recommend to set it to a time of low usage, so users are less impacted by the load caused from these heavy tasks. For more details see the documentation.
サーバーにメンテナンスウィンドウの開始時間が設定されていないと言っています。公式ドキュメント該当箇所をみると・・・
nextcloud内のconfig.php内の値に’maintenance_window_start’ => 1,を追加するか、occモードでセットするように言っているので、言われるがままやる
$ sudo -u www-data php occ config:system:set maintenance_window_start --type=integer --value=1ubuntuサーバ
ずっと、さくらVPSでnextcloudを仲間と使ってきたけれど、CentOS7のサポートも切れるしubuntuで再構築することにした。
最初はnginxを使いたかったんだけど、さくらVPSで無料で使えるWAF(siteguard-server-edition)をインストールしようとしたら、nginxをソースビルドしろと書いてあり、何だかゴチャゴチャやったけどあまり思うように行かなかったため、apacheにしてnextcloudを入れた。
- さくらvps、ubuntuインストール
- apache2をインストール
- mariaDBをインストール
- php8.2をインストール
- php8.2-fpmをインストール
- nextcloudをインストール
- redisをインストール
pandoc
md,mkd ファイルを変換してくれるソフト
If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert between the following formats:
Pandoc a universal document convertermacのHomebrewでインストール
% brew update % brew install pandoc % pandoc --version無事pandoc 3.1.12.2をインストール終了。次にLatexもインストール
% brew update % brew install --cask mactexmactexのpkgは結構重い→インストール完了しても消しきれない・・・
% sudo rm -rf /usr/local/texlive % brew uninstall --cask macte本当に消せたのかな?ひとまず、時間のある時に再チャレンジ→pending…
Mac Automator
ワークフロー(Workflow):
ワークフローは、Automatorで作成される一連のタスクや手順の集まり。ワークフローは複数のアクションを組み合わせられる。ファイルの変換、画像のリサイズ、テキストの処理などのタスクを自動化できる。
アプリケーション(Application):
アプリケーションは、Automatorで作成されたワークフローを実行するための実行可能なファイルです。ワークフローをアプリケーションに変換すると、そのワークフローが独立した実行可能なアプリケーションとして動作し、ワークフローを実行するためにAutomatorを開く必要がなくなります。これにより、ワークフローを簡単に共有したり、外部から実行したりすることができます。
フォルダアクション(Folder Action):
フォルダアクションは、特定のフォルダに関連付けられたAutomatorワークフローです。フォルダ内のファイルやフォルダに変更が加えられると、そのフォルダアクションがトリガーされ、関連付けられたワークフローが自動的に実行されます。例えば、特定のフォルダにファイルが追加されたときにそのファイルを自動的に処理したり、特定のフォルダからファイルが削除されたときにそれを自動的にバックアップしたりするために使用されます。
NFCとNFD
NFC:Normalization Form Canonical Composition
Macでは主にNFCがデフォルトの正規化形式NFD:Normalization Form Canonical Decomposition
Windowsでは主にNFDがデフォルト例えば、結合文字がNFCでは「ダ」(U+30C0)だが、NFDではタ」(U+30BF)+「゙」(U+3099)となる