본문 바로가기
728x90

분류 전체보기194

넷플릭스로 영어 공부하기 1 ) 알고리즘의 편견 알고리즘의 편견 Time Subtitle Translation 2s [Tay] Hello, world. 안녕하세요, 세상 10s Can I just say that I'm stoked to meet you. 여러분을 만나 정말 기뻐요 "마이크로소프트사 AI '테이'의 트윗" 15s Humans are super cool. 인간은 진짜 멋져요 26s The more humans share with me, the more I learn. 인간이 저와 많이 공유할수록 전 더 많이 배워요 59s [Joy Buolamwini] One of the things that drew me to computer science 제가 컴퓨터 사이언스에 매료된 이유 중 하나는 1:01 was that I could code a.. 2021. 4. 13.
memory leak 확인하기 아래와 같이 프로그램을 실행 해주면 log.txt에 메모리 leak 관련 로그가 남고 memory leak 을 확인할 수 있다. valgrind --leak-check=full --log-file=log.txt 프로그램명 2020. 7. 21.
[windows] server socket example gcc -o server server.c -lws2_32 #include #include #define MAX_PACKETLEN 512 #define PORT 5115 int main() { WSADATA wsaData; int status; int SockLen; int Readn,Writen; SOCKET EndpointSocket, ClientSocket; struct sockaddr_in SockInfo, ClientSockInfo; char ReadBuffer[MAX_PACKETLEN]; if(WSAStartup(MAKEWORD(2,2),&wsaData)!= 0) { printf("error\r\n"); return 0; } EndpointSocket = socket( AF_INET, SOCK_.. 2020. 7. 16.
리눅스 재부팅 자동시작 서비스 등록하기 편집기로 재부팅후 자동실행 할 명령어를 넣어준다. $ vi /etc/rc.d/rc.local $ chmod u+x /etc/rc.d/rc.local 2020. 7. 7.
728x90