GHGwon Hongingwonhong.hashnode.dev·Feb 12, 2025 · 2 min readJenkins 주기적으로 remote repository에 백업하기목적 Jenkins를 주기적으로 백업하여 문제가 생겼을 시 복원이 가능하도록 함 ThinBackup plugin 사용 간단히 Repository에 업로드 할 수 있도록 함 개요 ThinBackup이 새벽 4시에 자동으로 수행되도록 설정 새벽 5-6시에 자동으로 git push하는 job 생성 방법 ThinBackup 설치 및 자동 수행 설정 (cron job 형식으로 지정) 백업 될 장소에 jenkins user가 RW권한 ...00
GHGwon Hongingwonhong.hashnode.dev·Oct 22, 2024 · 2 min readHow bcrypt hashes with salt (+Rainbow Table Attack)Goals Understand how bcrypt do ‘salting’ Especially, how it can do salting without storing salt at extra columns dedicated for ‘salt’ Basics Rainbow Table Attack Rainbow Table is a table with various possible passwords and it’s hashes. When attac...00
GHGwon Hongingwonhong.hashnode.dev·Oct 20, 2024 · 1 min readHow to run raycast script that includes `sudo`Summary Write the script that includes sudo “separately”. Add the /path/to/the/script to some kind of sudo whitelist(sudoer file) Make a raycast script that includes sudo /path/to/the/script Example The script that includes sudo I wanted to make...00
GHGwon Hongingwonhong.hashnode.dev·Sep 21, 2024 · 2 min readAdding Total Commit Days badge at repositorySummary Add badge at README.md in advance which will be updated later on. Make a Github Actions workflow that do things as follows: count total commit days of current repository find and replace your badge at README.md commit the updated README....00
GHGwon Hongingwonhong.hashnode.dev·Sep 19, 2024 · 2 min readJPA의 lazy loading과 read committed글의 목적 JPA에서 lazy loading(FetchType.LAZY)을 사용해 N+1 문제를 해결할 수 있다고 한다. 그런데, 격리 레벨이 각각 repeatable read, read committed인 DBMS와 함께 사용 시 어떻게 작동하게 될까? 라는 질문에 대답하고자 한다. 공통 상황 Transaction A와 B가 있다고 하자. A에서 table T의 1~10번째 row를 select했다. 그러나 이 row들은 lazy loadi...00