Skip to content

Instantly share code, notes, and snippets.

View limejuny's full-sized avatar

임준영 limejuny

  • LG Uplus Corp.
  • Seoul, Korea
  • 03:29 (UTC +09:00)
  • LinkedIn in/juny-yim
View GitHub Profile

Keybase proof

I hereby claim:

  • I am limejuny on github.
  • I am limejuny (https://keybase.io/limejuny) on keybase.
  • I have a public key whose fingerprint is F97E 2155 1DCA CA16 2E37 0E65 A4E3 2657 6F5D 1E9B

To claim this, I am signing this object:

@limejuny
limejuny / PS1.sh
Last active January 18, 2023 04:27
PS1 저장
# default
export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "
# git, newline
export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[01;36m\]\$(__git_ps1)\[\033[0m\]\n\$ "
# [HOSTNAME::USER:PWD HIST_COUNT]
export PS1="\[\e[33;1m\][\[\e[32;1m\]$HOSTNAME::\[\e[36;1m\]$LOGNAME:\[\e[31;1m\]$PWD \!\[\e[33;1m\]]\[\e[0m\] "
@limejuny
limejuny / wikijs-docker-compose.yml
Created June 18, 2022 09:48
wiki.js docker-compose
version: "3"
services:
db:
image: postgres:11-alpine
environment:
POSTGRES_DB: {{{ DB NAME }}}
POSTGRES_PASSWORD: {{{ DB PASSWORD }}}
POSTGRES_USER: {{{ DB USER NAME }}}
logging:
@limejuny
limejuny / apt.yml
Last active May 18, 2022 00:02
Ansible: Update and upgrade apt packages
- hosts: all
gather_facts: no
tasks:
- name: Update and upgrade apt packages
become: true
apt:
upgrade: yes
update_cache: yes
register: aptout
- debug: msg="{{ aptout.stdout_lines }}"
@limejuny
limejuny / JPA.md
Last active November 28, 2021 15:02
양방향 연관관계

Member와 Order는 1:N 관계

// Member
@Entity
@Getter @Setter
public class Member {
  @Id @GeneratedValue
  @Colume(name = "member_id")
 private Long id;
@limejuny
limejuny / run-spring-boot-devtools.md
Last active November 28, 2021 14:37
spring-boot-devtools 실행
<term-1>
$ ./gradlew build -x test --continuous --info

<term-2>
$ ./gradlew bootRun

$ ./gradlew build --continuous만 할 경우 clean test에서 fail이 남
test하지 않고 build하게 실행해야 함