점점 구체화 되어가는중.. ㅠㅠ

 

Dell R510 3.5 8bay 혹은 12bay

[링크 : http://i.dell.com/.../dell-poweredge-r510-technical-guide.pdf]

 

Xeon L5630 or Xeon L5609(공식 지원, 2012년 문서)

둘다 40W TDP / 32.5W 정도 먹는걸로

[링크 : http://cpuboss.com/cpus/Intel-Xeon-L5630-vs-Intel-Xeon-L5609]

 

8베이에 6T * 8 RAID6가 가능하면.. 36TB 짜리 볼륨을 만들수 있는데

저전력으로 꼽고 하면 한 60W 넘게 먹을려나? (33W + 2W*8 + 20W?)

 

60W면 월 43.2KW 인데 지금 180kw 정도 쓰는데 금액이 부담은 안되도 늘어서 혼날려나..

암튼 맨날 켜놓는건 아니고 백업 스토리지로 필요할때만 NAS랑 데이터 주고 받으면서 hot/cold 데이터 옮기는 용도로 쓰면 전기 걱정 크게 안해도 될거 같은데.. 흐음..

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

지름 도착  (2) 2019.06.10
아.. 누가 미친 지름신좀 말려줘...  (2) 2019.06.06
키보드 도착  (6) 2019.06.04
고민하다 일단 기계식 키보드 (청축) 하나 지름  (6) 2019.06.03
먼가 갑작스런 현자타임  (4) 2019.06.02
Posted by 구차니

 

 

DROP SCHEMA public CASCADE;

CREATE SCHEMA public;

GRANT ALL ON SCHEMA public TO postgres;

GRANT ALL ON SCHEMA public TO public;

 

[링크 : https://stackoverflow.com/questions/3327312/how-can-i-drop-all-the-tables-in-a-postgresql-database]

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

postgresql schema  (0) 2019.06.12
postgres db 속도 향상  (0) 2019.06.07
postgresql import from csv  (0) 2019.06.04
postgresql password chg  (0) 2019.06.04
postgresql 계정은 있는데 로그인 안될때  (0) 2019.03.20
Posted by 구차니

[링크 : http://www.drdobbs.com/embedded-systems/plug-and-play-oproms-and-the-bios-boot-s/184410189]

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

SPICE  (0) 2019.08.23
overlay FS  (0) 2019.07.18
CVE CWE CPE CVSS SCAP  (0) 2019.06.04
QUIC - Quick UDP Internet Connections  (0) 2019.05.25
SFF  (0) 2019.02.13
Posted by 구차니

아래는 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 구차니