'2019/06/04'에 해당되는 글 8건

  1. 2019.06.04 postgresql import from csv
  2. 2019.06.04 vi 검색 취소하기
  3. 2019.06.04 postgresql password chg
  4. 2019.06.04 웹에서 f5 갱신 막기
  5. 2019.06.04 spring에 angluar 통합하기
  6. 2019.06.04 CVE CWE CPE CVSS SCAP
  7. 2019.06.04 jquery 우클릭 가로채기
  8. 2019.06.04 키보드 도착 6

아래는 DOS 스타일로 CSV 파일로 부터 원하는 테이블에 데이터를 넣는 예제

COPY persons(first_name,last_name,dob,email) 
FROM 'C:\tmp\persons.csv' DELIMITER ',' CSV HEADER;

[링크 : http://www.postgresqltutorial.com/import-csv-file-into-posgresql-table/]

 

 

pgadmin4에서 이런걸 발견 못했는데 도대체 어디서 찾아야 하나..

Use the Import/Export data dialog to copy data from a table to a file, or copy data from a file into a table.

The Import/Export data dialog organizes the import/export of data through the Options and Columns tabs.

[링크 : https://www.pgadmin.org/docs/pgadmin4/dev/import_export_data.html]

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

postgres db 속도 향상  (0) 2019.06.07
postgresql drop all tables  (0) 2019.06.05
postgresql password chg  (0) 2019.06.04
postgresql 계정은 있는데 로그인 안될때  (0) 2019.03.20
postgresql WAL?  (0) 2019.03.14
Posted by 구차니
프로그램 사용/vi2019. 6. 4. 19:08

라기 보다는 검색한 내용 하이라이트 안하기에 가까운 느낌인데

n 누르면 다시 아까 검색했던 키워드를 기준으로 하이라이트 한다.

 

:noh

[링크 : https://vi.stackexchange.com/questions/184/]

 

'프로그램 사용 > vi' 카테고리의 다른 글

vi 에서 매칭되는 갯수 확인하기  (0) 2019.12.18
vi gg=G와 set ts  (0) 2019.07.04
vi 여러개 파일 편집하기(동시 x)  (0) 2017.09.16
vi 반복 입력  (0) 2017.09.16
vi 버퍼 컨트롤  (0) 2017.02.13
Posted by 구차니

헐.. 이렇게 간단한 명려어가 존재한다니.. 

 

sudo -u postgres psql postgres

\password postgres

Enter new password: 

Enter it again:

# \q

[링크 : https://serverfault.com/questions/110154/]

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

postgresql drop all tables  (0) 2019.06.05
postgresql import from csv  (0) 2019.06.04
postgresql 계정은 있는데 로그인 안될때  (0) 2019.03.20
postgresql WAL?  (0) 2019.03.14
postgresql encoding / collate  (0) 2019.03.08
Posted by 구차니

키코드로 막기

 

<script>

     window.onload = function () {
        document.onkeydown = function (e) {
            return (e.which || e.keyCode) != 116;
        };
    }

</script>

[링크 : https://www.aspsnippets.com/.../Disable-F5-Key-Button-and-browser-refresh-....aspx]

[링크 : https://www.c-sharpcorner.com/blogs/disable-f5-key-button-and-browser-refresh]

[링크 : https://zetawiki.com/wiki/웹브라우저_백스페이스,_F5_입력_막기]

 

1. window.onbeforeunload (calls on Browser/tab Close & Page Load)

2. window.onload (calls on Page Load)

[링크 : https://stackoverflow.com/questions/8013429/how-do-i-detect-a-page-refresh-using-jquery]

'Programming > javascript & HTML' 카테고리의 다른 글

Math.min.apply()  (0) 2023.02.07
web 렌더러 벤치마크  (0) 2022.12.22
cose network graph  (0) 2019.06.03
HTTP 302 redirect  (0) 2019.04.26
closure  (0) 2019.04.24
Posted by 구차니
Programming/Java(Spring)2019. 6. 4. 14:47

머.. spring 이라는 놈은 java 로 만든 웹 프레임 워크 겸 웹 서버니까

ng build 등으로 생성된 static 파일을 넣어 주면 되는거고

 

src/main/resources/static 에 넣어주면 되는 듯

[링크 : https://studystorage.blogspot.com/2017/01/spring-angular2.html]

Posted by 구차니

SCAP(Security Content Automation Protocol) 

[링크 : https://help.rapid7.com/nexpose/ko-kr/Files/SCAP_compliance.html]

 

Common Vulnerabilities and Exposures CVE
Common Weakness Enumeration CWE
Common Platform Enumeration CPE

Common Vulnerability Scoring System CVSS

[링크 : https://cve.mitre.org/]

[링크 : https://cwe.mitre.org/]

[링크 : https://cpe.mitre.org/]

[링크 : https://www.first.org/cvss/]



'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

overlay FS  (0) 2019.07.18
bbs and oprom  (0) 2019.06.05
QUIC - Quick UDP Internet Connections  (0) 2019.05.25
SFF  (0) 2019.02.13
AES-NI 명령어 와 TLS 영향  (0) 2019.02.07
Posted by 구차니
Programming/jquery2019. 6. 4. 14:00

 

$(document).bind("contextmenu", function(event) { 
    event.preventDefault();
    $("<div class='custom-menu'>Custom menu</div>")
        .appendTo("body")
        .css({top: event.pageY + "px", left: event.pageX + "px"});
}).bind("click", function(event) {
    $("div.custom-menu").hide();
});

[링크 : http://jsfiddle.net/andrewwhitaker/fELma/]

  [링크 : https://programmingsummaries.tistory.com/149]

'Programming > jquery' 카테고리의 다른 글

jquery ajax delete가 없다?  (0) 2022.09.16
jquery-cookie 라이브러리  (0) 2022.09.05
jquery ajax json flask  (0) 2019.01.07
jquery this 버튼 checked  (0) 2019.01.07
ajax / promise / jquery  (0) 2019.01.04
Posted by 구차니

점심먹고 자리오니 택배가 똭!

 

기존에 쓰던 멤브레인과의 비교.

스페이스가 길어져서 한영 변환이 좀 불편하고

묘하게 왼쪽 하단의 ctrl이 눌려서 자꾸 오작동을 하는게 그렇다 ㅠㅠ

익숙해지면 나아지려나?

그나저나 겁나 시끄럽네, 딴짓하는거 다 걸릴듯 ㅋㅋㅋ

혹시 모르니까 일단은 단축키 저장해두기!!

 

 

[링크 : https://front.wemakeprice.com/product/130740281...]

 

+

잠시 써보는데 한영키 위치가 오른쪽이라 자꾸 스페이스 누르고

키보드가 높이가 높아져서 ctrl 키가 자꾸 눌리는 바람에 미묘하게 불편하다.

일단.. 지전 시끄러움. 딴짓하는거 다 티나겠음 ㅠㅠ

Posted by 구차니