본문 바로가기

전체 글269

ClearCase 개요와 활용 ClearCase 개요 IBM solution, Rational이 개발한 형상 관리 도구 - 라이프사이클 전반에서 파일, 디렉토리 및 기타 개발 자산을 관리 - 각 버전 이력에 대한 정보를 항상 기록하며 필요하면 버전 이력에 대한 보고서를 제시 - Release 시 마다 정확한 코드 복제를 보장 - 코드 버전의 분할(Branch) 및 통합(Merge) 기능 제공 ClearCase 핵심 키워드 키워드 의미 VOB Version Object Base View Workspace Element File or Directory Branch A way to make parallel development possible Label Tag Attribute Name/Value pair ClearCase 중요 기능 요소.. 2022. 9. 5.
ctags 지원 언어 목록 / list-language, list-map, languages ctags 옵션에 이어서 언어에 관련된 옵션들을 살펴본다. ctags 옵션 / recursive, only c, c++, exclude ctags 생성 응용 C/C++ 언어만 지정 경로로부터 recursive 하게 tagging하여 tag 수행 시간과 용량을 출력한다. 해당 경로는 필요에 따라 변경하여 사용한다. (time ctags -R --languages=C,C++ ~/. \ /usr/local.. muabow.tistory.com 1. --list-languages ctags에서 인식하는 언어 목록을 나타낸다. $ ctags --list-languages Ant Asm Asp Awk Basic BETA C C++ C# Cobol CSS DosBatch Eiffel Erlang Flex Fortra.. 2022. 9. 5.
ctags 옵션 / recursive, only c, c++, exclude ctags 생성 응용 C/C++ 언어만 지정 경로로부터 recursive 하게 tagging하여 tag 수행 시간과 용량을 출력한다. 해당 경로는 필요에 따라 변경하여 사용한다. (time ctags -R --languages=C,C++ ~/. \ /usr/local/include \ --exclude=test \ >& /dev/null) | awk '{print "Elapsed time: "$3}' ; du -h tags # 결과 Elapsed time: 0:10.80 48M tags 해당 명령의 옵션은 다음과 같다. -R recursive 하게, 즉 지정된 경로 이하 모든 디렉토리를 포함한다. 경로는 여러개를 입력 할 수 있다. 물론 중복 처리도 한다. --language=C,C++ C, C++ 관련.. 2022. 9. 4.
RHEL HOME/END key bind RHEL HOME/END key bind RHEL shell에서 home키와 end키가 동작하지 않으면 bindkey를 통해 사용할 수 있다. bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line # 또는 bindkey "^[[1~" beginning-of-line bindkey "^[[4~" end-of-line 해당 bindkey 명령을 ~/.profile 또는 ~/.bashrc, ~/.cshrc 등 프로파일에 등록해두면 편하다. 2022. 9. 4.
csh stderr redirection csh 환경에서 stderr redirection xargs grep 을 통해 특정 키워드 탐색 시 stderr redirection을 하지 않으면 디렉토리 관련 오류 메시지를 현시한다. 이런 경우 stderr 메시지를 /dev/null 경로로 redirection 하여 키워드가 포함된 결과만 확인할 수 있다. e.g.) 현재 경로 하위에서 내용 중 lib-release 라는 키워드를 찾고 싶을 때 사용 csh 환경 (find . | xargs grep "lib-release" > /dev/tty) >& /dev/null bash 활용 bash -c 'find . | xargs grep "lib-release" 2> /dev/null' 2022. 9. 4.
이동통신 세대 별 명칭/용어 변화 이동통신 세대 별 각 명칭 시스템 3G 4G(LTE) 5G 전체 이동통신 시스템 UMTS EPS 5GS 무선 접속 기술 UTRA E-UTRA NR 또는 E-UTRA 무선 접속망 UTRAN E-UTRAN NG-RAN 기지국 NodeB eNodeB gNodeB 3GPP는 기존 3세대(3G) 이동 통신 기지국의 이름 ‘Node B’와 구별하여 LTE의 무선 접속망 E-UTRAN(Evolved UTRAN) 기지국을 ‘E-UTRAN Node B’ 또는 ‘evolved Node B’라 하였다. 주로 줄임말 eNodeB(eNB)로 사용한다. eNodeB 기지국은 단말(UE: User Equipment)과 무선으로 연결되어 핵심망(EPC: Evolved Packet Core)과의 통신 중계 역할을 한다. 기존 3G .. 2022. 9. 4.
[C/C++] C++ sqlite3 wrapper class sqlite3을 활용하는 C++ wrapper class를 남긴다. 매번 sqlite 함수를 사용하여 코드를 짜는건 너무 귀찮기 때문.. 소스코드: class_database.cpp #include "class_database.h" // Class: SQLHandler, 데이터베이스 관리 SQLHandler::SQLHandler(string _filename) { this->sql_handle = NULL; this->open(_filename); return ; } SQLHandler::~SQLHandler(void) { return ; } bool SQLHandler::open(string _filename) { if( sqlite3_open(_filename.c_str(), &this->sql_ha.. 2022. 3. 23.
[C/C++] C++ string replace_all replace_all string find와 replace를 조합하여 replace_all 기능을 구현한다. 역시 기록용으로 정리한다. 소스코드 #include string replace_all(string &_str, const string& _from, const string& _to) { size_t start_pos = 0; while( (start_pos = _str.find(_from, start_pos)) != std::string::npos ) { _str.replace(start_pos, _from.length(), _to); start_pos += _to.length(); } return _str; } 출처: https://hashcode.co.kr/questions/239/%EC%8A.. 2022. 3. 23.