일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- log
- shared_preload_libraries
- AnimatedPositioned
- go
- sqlc
- Linux
- vscode
- 윈도우즈 터미널
- option pattern
- SQL Server
- 옵션 패턴
- user-secrets
- PostgreSQL
- module upgrade
- elasticSearch
- rc-service
- 무선 디버깅
- otel
- IDX Project
- mysql
- opentelemetry
- User
- Flutter
- docker
- openrc
- DotNet
- pg_stat_statements
- 맥미니
- Android
- golang
- Today
- Total
목록전체 글 (130)
CATCHV Blog
운영에서는 보통 vault를 많이 사용하지만 개발 중에 간단하게 저장하기 위해서 dotnet은 dotnet user-secrets 을 제공합니다. Project 폴더에서 아래의 명령어로 키-값 형태의 정보를 저장할 수 있습니다. dotnet user-secrets init dotnet user-secrets set "key" "value" dotnet user-secrets 는 아래의 command를 지원합니다. Commands: clear Deletes all the application secrets init Set a user secrets ID to enable secret storage list Lists all the application secrets remove Removes the spe..
vault에는 kv를 만들때 v1, v2 버전 두가지가 존재한다. 문제는 데이터를 API로 불러올 경우 v2가 약간 이상해서 정리를 한다. The KV Secrets Engine can operate in different modes. Version 1 is the original generic Secrets Engine the allows for storing of static key/value pairs. Version 2 added more features including data versioning, TTLs, and check and set. > vault secrets list -detailed dev/ kv kv_b23e6e1a map[version:2] dev1/ kv kv_72afe45..
Windows에서 docker에 MS SQL SERVER 2022(mcr.microsoft.com/mssql/server:2022-latest)을 테스트용으로 사용중 에러가 발생되어서 확인을 해보니 docker log에 permissions_check.sh 파일에서 에러가 발생하고 있었다. 16:39:37 /opt/mssql/bin/permissions_check.sh: line 4: [: : integer expression expected 16:39:37 /opt/mssql/bin/permissions_check.sh: line 59: [: : integer expression expected 16:42:19 ERROR: CoInitializeSecurity failure. (HRESULT 0x800..
EF Core(Entityframwork core) 쿼리를 실행하는 경우 Parameter의 값이 ?로 로그에 출력 합니다. 이유는 실제 쿼리가 parameter binding되어 실행되기 때문에 쿼리문 자체는 ?로 실행됩니다. 두번째 줄의 Parameters에 ? 와 컬럼 타입 및 CommandTimout 값만 표시 된다. dbug: 2023-04-11 16:19:23.468 RelationalEventId.CommandExecuting[20100] (Microsoft.EntityFrameworkCore.Database.Command) Executing DbCommand [Parameters=[@__GetName_0='?' (Size = 4000)], CommandType='Text', CommandT..
https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-environment-variables?view=sql-server-2017 Configure environment variables for SQL Server on Linux - SQL Server This article describes how to use environment variables to configure specific SQL Server settings on Linux. learn.microsoft.com Environment variables Environment variableDescription ACCEPT_EULA Set the ACCEPT_EULA v..
MAC 사용시 code 명령어를 찾지 못하는 경우가 있다. $ code zsh: command not found: code 1. cmd + p 를 입력하고 "> shell command: Install 'code' command in Path"를 입력합니다. 2. 입력을 위해서는 관리자 권한 승인이 필요합니다. https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line
maxCrossAxisExtent 컬럼의 최대 넓이로 row child 갯수 생성 SliverGrid( gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent( maxCrossAxisExtent: 200, mainAxisSpacing: 1.0, crossAxisSpacing: 1.0, childAspectRatio: 2.0, ), minCrossAxisExtent이 없으므로 계산을 통해서 컬럼의 최소 넓이로 row child 갯수를 생성 double deviceWidth = MediaQuery.of(context).size.width; SliverGrid( gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( cr..
Visual Studio Code (vscode)를 업데이트 하면 가끔 언어가 영어로 설정되는 경우가 있다. ctrl + p 를 입력하고 "> language"를 입력 하면 아래의 화면이 나온다. Configure Display Language를 선택한다. 원하는 언어를 선택하면 됩니다.
1. 설치 https://github.com/grafana/loki/releases 에서 플랫폼에 맞는 것을 다운로드 받는다. # 다운로드 받기 $ wget https://github.com/grafana/loki/releases/download/v2.7.4/logcli-linux-amd64.zip # 압축 해제 $unzip logcli-linux-amd64.zip 2. logcli에서 사용할 loki를 설정한다. # export LOKI_ADDR=http://: export LOKI_ADDR=http://loki:3100 3. loki의 설정된 job 리스트 확인 $ ./logcli-linux-amd64 labels job 2023/03/08 04:48:29 http://loki:3100/loki/ap..