'잡동사니'에 해당되는 글 13451건

  1. 2019.06.14 plymouth
  2. 2019.06.13 간만에 피싱 메일 4
  3. 2019.06.13 docker run -p hport:cport
  4. 2019.06.13 pgadmin dashboard 살려내기
  5. 2019.06.12 postresql backup & recovery
  6. 2019.06.12 postgresql schema
  7. 2019.06.12 ArduinoDroid
  8. 2019.06.12 docker api
  9. 2019.06.11 docker ps 옵션 차이
  10. 2019.06.11 android studio /dev/kvm permission denied
Linux2019. 6. 14. 07:38

종료하는데 90초나 잡고 있어서 먼가 찾아보는데

단순하게(?) 로딩 스플래시 띄워주는 놈이라고..

이딴놈이 90초나 종료를 못하도록 잡고 있다니 월권행위 아닌가?

 

[링크 : https://wiki.ubuntu.com/Plymouth]

 

부트로더에서 splash 끄면 된다는데, 시작은 그렇다 쳐도 종료는 어떻게 되려나?

[링크 :https://askubuntu.com/questions/766973/16-04-how-to-uninstall-plymouth]

'Linux' 카테고리의 다른 글

gzip -k  (0) 2019.06.18
diff: memory exhausted  (0) 2019.06.18
linux 링크속도 줄이기  (0) 2019.04.25
ip별 대역폭 제한하기  (0) 2019.04.25
systemctl restart 시그널  (0) 2019.04.23
Posted by 구차니

이메일 계정이 좀 그럴싸해야지 그게 머니~

메일 내용은 그럴싸 했는데

첨부파일에 hwp로 속인 실행파일은 너무 레베루가 낮잖아 ㅋㅋㅋ

 

파일 종류 응용 프로그램 ㅋ

 

어엌ㅋㅋ hwp 이후에 공백으로 채우기 ㅋㅋㅋㅋ

Posted by 구차니
프로그램 사용/docker2019. 6. 13. 10:13

헐.. 반대로 생각하고 있었네?

 

[링크 : https://gist.github.com/nacyot/8366310]

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

docker desktop for windows  (0) 2019.07.09
docker / win10 home / hyper-V  (0) 2019.07.09
docker api  (0) 2019.06.12
docker ps 옵션 차이  (0) 2019.06.11
docker 컨테이너 이미지 이름으로 검색하기  (0) 2019.06.10
Posted by 구차니

실수로 오른쪽의 X를 눌러 없앴는데

다시 살리는법 찾다가 도움되는건 못보고

걍 위에 우클릭하고 Add Panel 하니 다시 살릴수 있네...

 

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

xsd to postgresql DDL  (0) 2019.06.18
postgresql dbms 설정  (0) 2019.06.14
postresql backup & recovery  (0) 2019.06.12
postgresql schema  (0) 2019.06.12
postgres db 속도 향상  (0) 2019.06.07
Posted by 구차니

기존의 시스템에서 사용자가 설치한 postgresql 을 쓰고 있는데

이걸 리눅스 패키지에서 제공하는 녀석으로 파일 레벨에서 갈아 치우는 방법 찾는 중

(일일이 백업해서 옮기기 귀찮...)

 

[링크 : https://www.postgresql.org/docs/9.1/backup-file.html]

[링크 : https://stackabuse.com/backing-up-and-restoring-postgresql-databases/]

 

 

+

[링크 : https://h391106.tistory.com/352]

 

 

+

정 안되면 

pg_dumpall | gzip > backup.gz

식으로 한번 뺴봐야 할 듯

 

[링크 : https://www.postgresql.org/docs/9.1/backup-dump.html]

 

+

[링크 : https://www.opsdash.com/blog/postgresql-backup-restore.html]

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

postgresql dbms 설정  (0) 2019.06.14
pgadmin dashboard 살려내기  (0) 2019.06.13
postgresql schema  (0) 2019.06.12
postgres db 속도 향상  (0) 2019.06.07
postgresql drop all tables  (0) 2019.06.05
Posted by 구차니

pgadmin 으로 보다 보니 database > schema > table 순서로 냐오는게 있어서 찾는중

기본은 public schema인데 이게 머하는거지?

 

DB는 하나 이상의 'named schemaf'를 포함함. 

일단은.. 귀찮으면 기본으로 제공되는 public 하나만 쓰고 테이블 별로 권한을 주고 싶으면

schema를 생성해서 테이블별로 사용자 권한을 주면 될 듯.

A database contains one or more named schemas, which in turn contain tables. Schemas also contain other kinds of named objects, including data types, functions, and operators.

 

There are several reasons why one might want to use schemas:
 To allow many users to use one database without interfering with each other. 
 To organize database objects into logical groups to make them more manageable.
 Third-party applications can be put into separate schemas so they do not collide with the names of other objects.

 

database.schema.table

 

Thus, the following are equivalent:

CREATE TABLE products ( ... );
and:

CREATE TABLE public.products ( ... );

[링크 : https://www.postgresql.org/docs/9.1/ddl-schemas.html]

 

 

스키마는 테이블들의 named collection 이다.

A schema is a named collection of tables. A schema can also contain views, indexes, sequences, data types, operators, and functions.

[링크 : https://www.tutorialspoint.com/postgresql/postgresql_schema.htm]

[링크 : http://www.postgresqlforbeginners.com/2010/12/schema.html]

 

[링크 : https://ktdsoss.tistory.com/184]

[링크 : https://blog.naver.com/seuis398/70097173659]

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

pgadmin dashboard 살려내기  (0) 2019.06.13
postresql backup & recovery  (0) 2019.06.12
postgres db 속도 향상  (0) 2019.06.07
postgresql drop all tables  (0) 2019.06.05
postgresql import from csv  (0) 2019.06.04
Posted by 구차니
파일방2019. 6. 12. 16:15

헐.. 핸드폰에서 바로 아두이노 프로그래밍하고 올릴수 있는 신세계라니!

 

[링크 : https://www.youtube.com/watch?v=YgK2l6xdmbE]

[링크 : https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2&hl=ko]

'파일방' 카테고리의 다른 글

MagicaVoxel  (0) 2020.03.23
ether / win32diskimager 대체 프로그램  (0) 2020.03.07
ups protocol  (0) 2019.04.29
열해석 프로그램(오픈소스)  (0) 2019.03.31
배터리 체크 유틸리티  (2) 2019.03.25
Posted by 구차니
프로그램 사용/docker2019. 6. 12. 10:12

 

윽... 뱀은 있어도 c계열은 unofficial이네..

걍 소켓으로 HTTP로 주고 받는게 편하려나...

 

[링크 : https://docs.docker.com/develop/sdk/]

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

docker / win10 home / hyper-V  (0) 2019.07.09
docker run -p hport:cport  (0) 2019.06.13
docker ps 옵션 차이  (0) 2019.06.11
docker 컨테이너 이미지 이름으로 검색하기  (0) 2019.06.10
docker create와 docker rm  (0) 2019.05.30
Posted by 구차니
프로그램 사용/docker2019. 6. 11. 15:47

ubuntu 18.04에서 docker-ce로 깐건데.. 이상하네

$ sudo docker help ps 

Usage:  docker ps [OPTIONS] 

List containers 

Options: 
  -a, --all             Show all containers (default shows just running) 
  -f, --filter filter   Filter output based on conditions provided 
      --format string   Pretty-print containers using a Go template 
  -n, --last int        Show n last created containers (includes all states) (default -1) 
  -l, --latest          Show the latest created container (includes all states) 
      --no-trunc        Don't truncate output 
  -q, --quiet           Only display numeric IDs 
  -s, --size            Display total file sizes 


요거야 원래 옵션이고 도는 놈들만(run) 보여주는거니 문제 안되는데

$ sudo docker ps 
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES 

 

읭.. -a과 --all이 같은거였나. -all이 아니었냐.. 아무튼 얘는 죽은것도 보여줌

$ sudo docker ps -a 
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                     PORTS               NAMES 
4fdb1194f2c6        httpd               "-d"                     6 minutes ago       Created                    80/tcp              blissful_sinoussi 
d913540567fc        httpd               "httpd-foreground"       6 minutes ago       Exited (0) 6 minutes ago                       admiring_colden 
8c8c15aee063        mysql               "docker-entrypoint.s…"   7 minutes ago       Exited (1) 7 minutes ago                       quirky_fermi 
54eb43ad0783        atmoz/sftp          "/entrypoint"            8 minutes ago       Exited (3) 7 minutes ago                       elegant_napier 
$ sudo docker ps --all 
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                     PORTS               NAMES 
4fdb1194f2c6        httpd               "-d"                     6 minutes ago       Created                    80/tcp              blissful_sinoussi 
d913540567fc        httpd               "httpd-foreground"       6 minutes ago       Exited (0) 6 minutes ago                       admiring_colden 
8c8c15aee063        mysql               "docker-entrypoint.s…"   7 minutes ago       Exited (1) 7 minutes ago                       quirky_fermi 
54eb43ad0783        atmoz/sftp          "/entrypoint"            8 minutes ago       Exited (3) 7 minutes ago                       elegant_napier 

 

얘는 일단 잘못된 옵션인데.. -a랑도 다르게 나오고 머지?

$ sudo docker ps -all 
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES 
4fdb1194f2c6        httpd               "-d"                6 minutes ago       Created             80/tcp              blissful_sinoussi 

 

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

docker run -p hport:cport  (0) 2019.06.13
docker api  (0) 2019.06.12
docker 컨테이너 이미지 이름으로 검색하기  (0) 2019.06.10
docker create와 docker rm  (0) 2019.05.30
docker 자원 제한하기  (0) 2019.05.17
Posted by 구차니
Programming/android2019. 6. 11. 13:39

일단은 qemu-kvm이 설치되어 있어야 하고

kvm 그룹에 넣어주어야 하는 듯?

 

sudo apt install qemu-kvm
sudo adduser $USER kvm

원인은 모르겠고.. 어플리케이션 런처에서 실행하면

리부팅 전까지 변경내용이 적용되지 않아, 한번은 껐다 켜야 한다. -_-

 

[링크 : https://stackoverflow.com/questions/37300811/android-studio-dev-kvm-device-permission-denied]

[링크 : https://codechacha.com/ko/android-kvm-permission-denied/]

Posted by 구차니