JQuery

selectbox 에서 선택값 가져오는 방법

$('select').change(function() {
    var value = $(this).val();
    var text = $(this).find("option:selected").text();
    console.log(value + " : " + text);
});

$('button#send').change(function() {
    var value = $('#select-request').val();
    var text = $('#select-request option:selected').text();
    console.log(value + " : " + text);
});

 

 

DB 설계를 해야 할 필요가 생겨 ERD 툴을 한번 찾아봄.

https://www.holistics.io/blog/top-5-free-database-diagram-design-tools/

https://dbdiagram.io/

 

DB 설계에 대한 다양한 이야기들

https://brunch.co.kr/@kooslab/181

https://brunch.co.kr/@skykamja24/265

다양한 시각은 뇌를 자극해 준다.

다양한 시각으로 내게 도움을 준 컨텐츠를 링크해 두는 것일 뿐 작성자의 의견에 동의 해서 링크를 거는 것은 아니다.

오히려 어떤 경우는 나의 의견과 반대되는 링크를 걸 수도 있다.

 

DAO, DTO, VO ..

https://jungwoon.github.io/common%20sense/2017/11/16/DAO-VO-DTO/

https://berrrrr.github.io/programming/2019/11/03/dao-vo-do-dto/

 

 

 

 

 

 

 

linux, CentOS 7

사무실이 이전에 테스트 서버 ip 가 바뀌어서 재 설정이 필요해 참고함

https://m.blog.naver.com/tequini/220977723865

https://www.cyberciti.biz/faq/howto-setting-rhel7-centos-7-static-ip-configuration/

 

[root@localhost ~]# nmcli d
DEVICE  TYPE      STATE          CONNECTION
ens33   ethernet  connected      ens33
lo      loopback  unmanaged      --

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33

 

1. DHCP setting

BOOTPROTO=dhcp
...
ONBOOT=yes

2. Static IP setting

BOOTPROTO="static"
...
ONBOOT="yes"
IPADDR=192.168.203.129
NETMASK=255.255.255.0
GATEWAY=192.168.203.254

 

 

MariaDB 자동 실행 설정 (CentOS 7)

systemctl enable mariadb.service

 

 

+ Recent posts