블로그
-
[노트 필기] 리눅스에 대해 알아보자. 16. 시스템 관리 a. 파일편집기 vi, sed 명령어
- quit and save Shift + z, z - quit and save "sed" command Replace a string in a file with a newstring Find and delete a line Remove empty lines cat seinfeld-characters sed 's/Kenny/Lenny/g' seinfeld-characters
blog.naver.com · 2026.03.25
-
stm32환경에서 사용 가능한 원형 큐
#pragma once #define MAX_DSIZE 10000 #include char rtr[15] = "0 0 1"; typedef enum { EMPTY, NOT_EMPTY return FULL; return NOT_FULL; } q_check is_empty(C_queue* q) { if (q->rear == q->front) return EMPTY
blog.naver.com · 2020.08.11
-
javascript null, undefined ,empty 체크
testValue) {}cs 지금까지 if( testValue == null || testValue == '') 이런식으로 확인했었는데 저 두라인이면 null, undefiend, NaN, empty string(""), 0, false를 다 체크해준다고 함!
blog.naver.com · 2017.09.07
-
[영진전문대학 컴퓨터정보계열] 자바 join
.*; public class CountDownTest{ static void print(String message){ String threadName = Thread.currentThread ",threadName,message); } private static class MessageLoop implements Runnable{ public void run(){ String
blog.naver.com · 2013.10.28
-
문자열에서 url을 찾아내어 링크를 시킨다.(http)
(http)사용법: $string = make_link($string);function make_link($str) {if(empty($str)) {return $str;}else
blog.naver.com · 2006.05.09