sudo service teamviewerd start
당연하지만 원격에서 팀뷰어를 종료하는 명령어는 sudo service teamviewerd stop
다.
귀찮으면 sudo service teamviewerd restart
로 재실행하자.
sudo service teamviewerd start
당연하지만 원격에서 팀뷰어를 종료하는 명령어는 sudo service teamviewerd stop
다.
귀찮으면 sudo service teamviewerd restart
로 재실행하자.
https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0
위 링크에서 VMware Workstation 14.1.1 Player for Linux 64-bit를 다운로드한다.
다운로드 완료되면 VMware-Player-14.1.1-7528167.x86_64.bundle 파일을 실행해준다.
sudo sh VMware-Player-14.1.1-7528167.x86_64.bundle
설치 창이 뜨면 설치를 진행한다.
VM이 위 창과 같이 뜨며 실행되지 않는다면, BIOS에서 Intel VT 혹은 AMD-V 기능을 활성화하면 해결된다.
UEFI BIOS에서는 아래와 같이 SVM을 활성화 해주면 된다.
start [Browser] [URI]
Chrome
start chrome https://heroesofthestorm.com/ko-kr/
Internet Explorer
start iexplore https://heroesofthestorm.com/ko-kr/
Firefox
start firefox https://heroesofthestorm.com/ko-kr/
루프 순서에 유의하자.
#include <stdio.h> #define N_SIZE (100) #define N_OFFSET (2) #define N_MAX (N_SIZE + N_OFFSET) int main() { int n, m, src, dest; int graph[N_MAX][N_MAX]; int minIndex = 1; bool loop = true; scanf("%d %d", &n, &m); for (int i = 0; i < m; i++) { scanf("%d %d", &src, &dest); graph[src][dest] = graph[dest][src] = 1; } for (int k = 1; k <= n; k++) { for (int i = 1; i < n; i++) { for (int j = i + 1; j <= n; j++) { if (graph[i][k] && graph[k][j]) { if (graph[i][j] == 0 || graph[i][k] + graph[k][j] < graph[i][j]) graph[i][j] = graph[j][i] = graph[i][k] + graph[k][j]; } } } } for (int i = 1; i <= n; i++) { for (int j = 1; j <= n; j++) { graph[i][0] += graph[i][j]; } if (graph[i][0] < graph[minIndex][0]) { minIndex = i; } } printf("%d\n", minIndex); return 0; }
신선하고 재밌는 문제
int –2147483648
Ubuntu 16.04 Desktop에서 1920×1080 해상도로 변경하는 것을 예시로 작성하였습니다.
붉은 글씨는 각 사용자의 상황에 따라 달라지므로 이전 명령어 수행 결과를 참고하세요.
$ gtf 1920 1080 60
$ gtf [WIDTH] [HEIGHT] [Hz]
# 1920×1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
Modeline “1920x1080_60.00” 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
$ xrandr --newmode "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
$ xrandr
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
1920×1080 (0x19c) 172.800MHz -HSync +VSync
h: width 1920 start 2040 end 2248 total 2576 skew 0 clock 67.08KHz
v: height 1080 start 1081 end 1084 total 1118 clock 60.00Hz
$ xrandr --addmode VIRTUAL1 1920x1080
$ xrandr -s 1920x1080
ModuleNotFoundError Traceback (most recent call last) <ipython-input-3-c546be358acf> in <module>() ----> 1 import tensorflow as tf 2 import numpy as np 3 import matplotlib.pyplot as plt 4 from tensorflow.examples.tutorials.mnist import input_data 5 import os ModuleNotFoundError: No module named 'tensorflow'
conda로 설치한 경우만
conda install jupyter notebook jupyter notebook
그래도 못찾으면
source activate tensorflow jupyter notebook
jupyter notebook password
커넥션이 너무 많이 생성되서 계정이 블락된 것.
FLUSH HOST;
$ find . -name "*.swp" -exec rm -rf {} \;
.swp 파일을 삭제하고자 하는 디렉토리에서 위 명령어를 수행
만약 스왑파일 자체를 생성하고 싶지 않다면 ~/.vimrc에 set noswapfile를 등록해주면 된다.