ops + it ops git branch [GitHub] merge 후 브랜치 자동삭제 안되는 이유 (feat. Branch protection rules)시작하며...분명 Automatically delete head branches 옵션을 선택하여 PR 을 올려 merge 가 되었을 때, 해당 브랜치가 삭제되도록 설정하였다.그러나 merge 가 되었음에도 불구하고 브랜치가 삭제되지 않는 현상을 발견하였다. 문제 해결하기해당 문제에 대해 의문이 있었는데 다행히 이 문제를 해결할 수 있었다! 결론은 내 문제 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 바로 Branch Protection Rules 때문이었다! Branch Protection Rules 설정PR 을 올릴 때 2명 이상한테 Approve 를 받아야 merge 될 수 있도록 규칙을 설정하였다. 여기서 문제였다! 특정 브랜치에 merge 될 때 그 특정 브랜치의 패턴을 입력해야 한다. 그래서 처음엔 모든 브랜치에 적.. wono | discuss | tweet + it ops sql submenu json SQL Select to JSON for Menu StructureI was looking for help with a query which will produce the output in JSON that I could use to populate a Menu, thus the JSON needs to create the menu structure. Here are the two tables that I have,... wono | discuss | tweet + it ops postgresql submenu recursive_query_in_postgresql_to_create_a_menu wono | discuss | tweet + it ops kysely menu Utilizing Complex Queries - Mastering Kysely: The Essential GuideKysely enables powerful complex queries through its fluent API. You can construct sophisticated queries using methods like leftJoin, innerJoin, where, and ... wono | discuss | tweet + it ops db design 관리자 권한, 메뉴 관리 (1)유저, 메뉴 CURD 메뉴 권한 테이블 설계 wono | discuss | tweet + it ops db type MySQL :: MySQL Workbench Manual :: 10.6.4 PostgreSQL Type Mapping wono | discuss | tweet + it ops aws ses 117.AWS SES로 1주일안에 메일서비스 구축AWS SES서비스 사용하기 | <1> AWS SES로 1주일 안에 메일서비스를 구축하자. <2> SES 작업 순서 <1> AWS SES로 1주일 안에 메일서비스를 구축하자 대량 메일을 보내도록 메일 서버를 구축해보자. 2가지는 필수로 설정해야 한다. 1. 보내는 도메인이 검증된 도메인인지 인증하기 (필수) 2. 메일 발송수 증가 신청하기 (필수) - Sandbox 해제 해야 wono | discuss | tweet + it ops db naming Bool 변수 이름 제대로 짓기 위한 최소한의 영어 문법 · Soojin Ro wono | discuss | tweet + it ops api design Usage of /users [GET] - Stack Exchange API wono | discuss | tweet + it ops api design What’s the best RESTful method to return total number of items in an object?I’m developing a REST API service for a large social networking website I’m involved in. So far, it’s working great. I can issue GET, POST, PUT, and DELETE requests to object URLs and affect my data. wono | discuss | tweet + it ops url guide URL Style GuidelinesURL naming and structure wono | discuss | tweet + it ops aws rds postgresql function How do I create user-defined function in AWS Aurora RDS Postgres(Formatting questions for simplicity) I am using AWS RDS Aurora Postgres 10.7 (this is the latest version available for my us-west-2 region). I am using this in a serverless mode and hence I get the wono | discuss | tweet + it ops db postgresql uuidv7 Postgres PL/pgSQL function for UUID v7 and a bonus custom UUID v8 to support microsecond precision as well. Read more here: https://datatracker.ietf.org/doc/rfc9562/Postgres PL/pgSQL function for UUID v7 and a bonus custom UUID v8 to support microsecond precision as well. Read more here: https://datatracker.ietf.org/doc/rfc9562/ - A_UUID_v7_for_Postgres.sql wono | discuss | tweet + it ops db mysql reservedwords MySQL :: MySQL 8.4 Reference Manual :: 11.3 Keywords and Reserved Words wono | discuss | tweet + it ops db postgresql PostgreSQL Rename Database: A Quick GuideIn this tutorial, you will learn step by step how to rename a PostgreSQL database by using the ALTER TABLE RENAME TO statement. wono | discuss | tweet + it ops api design Is there any standard for JSON API response format?Do standards or best practices exist for structuring JSON responses from an API? Obviously, every application's data is different, so that much I'm not concerned with, but rather the "response wono | discuss | tweet + it ops api design API 디자인 가이드 | Cloud API Design Guide | Google CloudGoogle AIP와 일치하는 API를 설계하기 위한 가이드라인 모음입니다. wono | discuss | tweet + it ops linux memory watch Linux - Displaying Memory Usage LiveI'm running GNU - Screen (4.03.01) so I can have multiple terminals in one, and I'm looking for a good way to display live stats of my memory, so as I do things like compiling, testing programs, et... wono | discuss | tweet + it ops tomcat logrotate tomcat log rotate 하기1. catalina.out→ logrotate.d 사용 2. access_logtomcat valve doc 을 참고하였다. rotate하기 위해서 다음과 같이 server.xml의 Valve 태그에 maxDays attribute를 추가해준다. 1vi /path/to/tomcat/conf/server.xml 1234567<!-- Acc wono | discuss | tweet + it ops aws ec2 monitoring [CloudWatch #3] Cloudwatch Agent 설치[Memory/Disk 수집]Cloudwatch Agent란? 클라우드워치 에이전트는 AWS의 모니터링 서비스인 Amazon CloudWatch와 함께 사용되는 소프트웨어입니다. Cloudwatch에서 기본으로 제공하는 모니터링 외에 추가로 메모리, 디스크 사용량 등 더 많은 지표들을 수집하려면 Cloudwatch Agent를 설치해야 됩니다. Cloudwatch Agent를 사용하면 추가비용이 들지만 더 많은 지표들을 추가할 수 있어 클라우드, 온프레미스에서의 원활한 모니터링과 운영에 도움이 되는 소프트웨어 입니다. Cloudwatch Agent 설치 IAM Role 생성 EC2 인스턴스에 IAM Role 연결 EC2 인스턴스에 CloudWatch Agent 설치 CloudWatch Agent로 메모리 사용량 확인 부하테스트 Di.. wono | discuss | tweetNext
+ it ops git branch [GitHub] merge 후 브랜치 자동삭제 안되는 이유 (feat. Branch protection rules)시작하며...분명 Automatically delete head branches 옵션을 선택하여 PR 을 올려 merge 가 되었을 때, 해당 브랜치가 삭제되도록 설정하였다.그러나 merge 가 되었음에도 불구하고 브랜치가 삭제되지 않는 현상을 발견하였다. 문제 해결하기해당 문제에 대해 의문이 있었는데 다행히 이 문제를 해결할 수 있었다! 결론은 내 문제 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 바로 Branch Protection Rules 때문이었다! Branch Protection Rules 설정PR 을 올릴 때 2명 이상한테 Approve 를 받아야 merge 될 수 있도록 규칙을 설정하였다. 여기서 문제였다! 특정 브랜치에 merge 될 때 그 특정 브랜치의 패턴을 입력해야 한다. 그래서 처음엔 모든 브랜치에 적.. wono | discuss | tweet
+ it ops sql submenu json SQL Select to JSON for Menu StructureI was looking for help with a query which will produce the output in JSON that I could use to populate a Menu, thus the JSON needs to create the menu structure. Here are the two tables that I have,... wono | discuss | tweet
+ it ops kysely menu Utilizing Complex Queries - Mastering Kysely: The Essential GuideKysely enables powerful complex queries through its fluent API. You can construct sophisticated queries using methods like leftJoin, innerJoin, where, and ... wono | discuss | tweet
+ it ops db type MySQL :: MySQL Workbench Manual :: 10.6.4 PostgreSQL Type Mapping wono | discuss | tweet
+ it ops aws ses 117.AWS SES로 1주일안에 메일서비스 구축AWS SES서비스 사용하기 | <1> AWS SES로 1주일 안에 메일서비스를 구축하자. <2> SES 작업 순서 <1> AWS SES로 1주일 안에 메일서비스를 구축하자 대량 메일을 보내도록 메일 서버를 구축해보자. 2가지는 필수로 설정해야 한다. 1. 보내는 도메인이 검증된 도메인인지 인증하기 (필수) 2. 메일 발송수 증가 신청하기 (필수) - Sandbox 해제 해야 wono | discuss | tweet
+ it ops api design What’s the best RESTful method to return total number of items in an object?I’m developing a REST API service for a large social networking website I’m involved in. So far, it’s working great. I can issue GET, POST, PUT, and DELETE requests to object URLs and affect my data. wono | discuss | tweet
+ it ops aws rds postgresql function How do I create user-defined function in AWS Aurora RDS Postgres(Formatting questions for simplicity) I am using AWS RDS Aurora Postgres 10.7 (this is the latest version available for my us-west-2 region). I am using this in a serverless mode and hence I get the wono | discuss | tweet
+ it ops db postgresql uuidv7 Postgres PL/pgSQL function for UUID v7 and a bonus custom UUID v8 to support microsecond precision as well. Read more here: https://datatracker.ietf.org/doc/rfc9562/Postgres PL/pgSQL function for UUID v7 and a bonus custom UUID v8 to support microsecond precision as well. Read more here: https://datatracker.ietf.org/doc/rfc9562/ - A_UUID_v7_for_Postgres.sql wono | discuss | tweet
+ it ops db mysql reservedwords MySQL :: MySQL 8.4 Reference Manual :: 11.3 Keywords and Reserved Words wono | discuss | tweet
+ it ops db postgresql PostgreSQL Rename Database: A Quick GuideIn this tutorial, you will learn step by step how to rename a PostgreSQL database by using the ALTER TABLE RENAME TO statement. wono | discuss | tweet
+ it ops api design Is there any standard for JSON API response format?Do standards or best practices exist for structuring JSON responses from an API? Obviously, every application's data is different, so that much I'm not concerned with, but rather the "response wono | discuss | tweet
+ it ops api design API 디자인 가이드 | Cloud API Design Guide | Google CloudGoogle AIP와 일치하는 API를 설계하기 위한 가이드라인 모음입니다. wono | discuss | tweet
+ it ops linux memory watch Linux - Displaying Memory Usage LiveI'm running GNU - Screen (4.03.01) so I can have multiple terminals in one, and I'm looking for a good way to display live stats of my memory, so as I do things like compiling, testing programs, et... wono | discuss | tweet
+ it ops tomcat logrotate tomcat log rotate 하기1. catalina.out→ logrotate.d 사용 2. access_logtomcat valve doc 을 참고하였다. rotate하기 위해서 다음과 같이 server.xml의 Valve 태그에 maxDays attribute를 추가해준다. 1vi /path/to/tomcat/conf/server.xml 1234567<!-- Acc wono | discuss | tweet
+ it ops aws ec2 monitoring [CloudWatch #3] Cloudwatch Agent 설치[Memory/Disk 수집]Cloudwatch Agent란? 클라우드워치 에이전트는 AWS의 모니터링 서비스인 Amazon CloudWatch와 함께 사용되는 소프트웨어입니다. Cloudwatch에서 기본으로 제공하는 모니터링 외에 추가로 메모리, 디스크 사용량 등 더 많은 지표들을 수집하려면 Cloudwatch Agent를 설치해야 됩니다. Cloudwatch Agent를 사용하면 추가비용이 들지만 더 많은 지표들을 추가할 수 있어 클라우드, 온프레미스에서의 원활한 모니터링과 운영에 도움이 되는 소프트웨어 입니다. Cloudwatch Agent 설치 IAM Role 생성 EC2 인스턴스에 IAM Role 연결 EC2 인스턴스에 CloudWatch Agent 설치 CloudWatch Agent로 메모리 사용량 확인 부하테스트 Di.. wono | discuss | tweet