2022-03-01から1ヶ月間の記事一覧

MIRACLE LINUX

無償化された MIRACLE LINUX 8.4 をいろんな環境にインストールしてみた!|BLOG|サイバートラスト

Cache-Control Expires

キャッシュについて整理 #キャッシュ - Qiita 2018静的ファイルのキャッシュコントロールについて ISUCON7 - バカンス駆動開発 2020【WordPress】mod_expires 設定でパフォーマンス改善♪ – oki2a24 2013 Cache-Control Cache-Controlヘッダがないときもブラ…

Xcode Command Line Tools catalina

Error: Xcode alone is not sufficient on Sierra. が表示された | テツジンパンチhttps://developer.apple.com/download/more/ からダウンロードしてインストール I was only able to manually install command line tools 11.5 on macos 10.15.3. FYIhttps…

ハードリンク ディレクトリ mount bind

シンボリックリンクとハードリンクの違い - Qiitaディレクトリ自体のハードリンクに関しての覚え書き - Qiitaシンボリックリンクの代わりに mount -o bind オプションを使用する|プログラムメモ One way to do this would be to use nullfs. mount -t nullf…

FreeBSD nfs server

https://docs.freebsd.org/en/books/handbook/network-servers/#network-nfs rpcbind_enable="YES" rpcbind_flags="-s -l -h 192.168.0.100" nfs_server_enable="YES" nfs_server_flags="-u -t -n 6 -h 192.168.0.100" mountd_enable="YES" mountd_flags="-r…

ubuntu 20 cuda docker

https://www.server-world.info/query?os=Ubuntu_20.04&p=downloadUbuntu 20.04にNVIDIA Container ToolkitをインストールしてDockerfileを作成 - たかけのブログmicrok8sでGPUコンテナーを使う環境を整える - 仮想化通信https://docs.nvidia.com/cuda/cuda-…

Etcher

ラズパイ の OS イメージを焼くときは Etcher が 便利 & UI カッコいい | 験なきものを思はずはhttps://ubuntu.com/tutorials/create-a-usb-stick-on-macos

FS-Cache cachefilesd

https://github.com/jnsnow/cachefilesd Cache culling is done on the basis of the percentage of blocks and the percentage of files available in the underlying filesystem. There are six "limits": (*) brun (*) frun If the amount of free space …

gmail 2022

Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help 2022年3月以降、Gmailにメールを送るとエラーが発生する というご相談を多くいただくようになりました。 Gmail宛てにメールを送ると Returned mail: see transcript for detai…

Terraform AWS Provider v4 S3

aws_s3_bucketの大規模リファクタリング 要は「aws_s3_bucketがデカくなりすぎて大変だから、細かく分けようぜ!」ということです。 Terraform AWS Provider Version 4がリリースされました | DevelopersIO 2022 そもそもなんでこういう変更を加えたのか v4.…

Cookieのアクセス制限 Secure, HttpOnly 属性

https://developer.mozilla.org/ja/docs/Web/HTTP/Cookies#restrict_access_to_cookies HttpOnly Cookie属性としてこれを付与するとJavaScriptからアクセスできなくなる。 Secure これが付与されるとHTTPSの通信の場合のみ送信されるようになる。 Cookie属性…

PostgreSQL role ロール 権限 アクセス権

PostgreSQLのロール管理とその注意点(Open Source Conference 2022 Online/Osaka 発表資料)https://tableplus.com/blog/2018/04/postgresql-how-to-grant-access-to-users.htmlhttps://stackoverflow.com/questions/22483555/postgresql-give-all-permissi…

docker 操作

Dockerコンテナの作成、起動〜停止まで - Qiita 2015Dockerライトユーザーの為のコマンド一覧 - Qiita 2017コンテナに入る docker exec -it [コンテナ名] /bin/bash dockerで立ち上げたコンテナにログインする - Qiita command line interface - How do I ed…

postgres pgpass

PostgreSQL, MySQLにパスワード入力なしで接続する方法 | TECHSCORE BLOG 2012https://www.postgresql.org/docs/13/libpq-pgpass.html

varnish cache with basic auth

sub vcl_hash { ... # This will allow Varnish to cache a site with basic auth. if (req.http.authorization) { hash_data(req.http.authorization); }https://github.com/phase2/docker-varnish/blob/4.0/root/etc/confd/templates/default.vcl.tmpl

Terraform Module

[Terraform]Moduleを作ると環境毎のデプロイが便利 | DevelopersIO 2021TerraformのModuleを作成する(VPC) - ねずみさん家。の日常TerraformでEC2、セキュリティグループを作成する - Qiita Input Output [Terraform]Module間の値の受け渡しについて | Devel…