본문 바로가기

분류 전체보기204

[Node] PM2 설치 1. PM2 설치 npm install pm2 -g 2. PM2 설치 확인 pm2 -version ** local - 보안 오류 발생 ** pm2 : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\___\AppData\Roaming\npm\pm2.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오. 위치 줄:1 문자:1 + pm2 -version + ~~~ + CategoryInfo : 보안 오류: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess PowerShell을 .. 2021. 8. 31.
[Node] Node.js 초기 세팅 / express 설치 0. Window > Node.js 설치 https://nodejs.org/ko 위 페이지에서 안정이 보장된 LTS 버전 설치 1. node 설치 확인 node -v 2. npm init package.json 추가됨 npm init 3. express 설치 node_modules 폴더와 package-lock.json 파일 추가됨 npm install --save express 4. 초기 파일 생성 app.js const express = require('express'); const app = express(); app.get('/', function(req, res){ res.send('hello NodeJs'); }) app.listen(3000, () => console.log('3000번 포트.. 2021. 8. 31.
[Android | JAVA] 안드로이드 타이틀바, 상태바 색깔 바꾸기 android studio title bar, status bar title bar 색깔 변경 status bar 색깔 변경 status bar의 폰트 색깔 변경 | true : black, false : white true style.xml #000000 // title bar #000000 // Status bar true // Status bar 색깔 더보기 2021. 8. 30.
[Android | JAVA] ListView 2개 / scrollView 사용하기 https://wefu.tistory.com/64 이분 글 보고 따라하니깐 잘됨 ^^b 짱짱천재 ~~! list.xml 처음 | androidx.core.widget.NestedScrollView 중간 | LinearLaout 중간 안 | ListView ScrollView는 한개의 자식만을 취급하므로 LinearLaout으로 ListView들을 묶어줘야한다. MainActivity.java 앱 기능 상 Fragment에서 구현 public class CallFragment extends Fragment { //report list view private ListView reportListView; private CallReportListViewAdapter reportAdpater; //lawfirm .. 2021. 8. 30.
[Android | JAVA] List View 리스트 뷰를 전체적으로 이해한 것이 아닌 코틀린 방과후 프로젝트와 안드 천재 분들이 정리해두신 블로그 글을 참고하여 구현하였다. 나는 이후에 같은 내용을 또 찾지 않도록 블로그에 나만의 방식으로 정리하기로 하였다. 내 글을 통해 개념을 파악할 수는 없지만 흐름대로 따라하여 완성할 수 있는 것에 초점을 맞추었다. xml call_list.xml List View 정의 call_item.xml java CallListViewItem 값을 넘겨주기 위한 클래스라고 이해했다.! 우선 내 리스트 목록에는 전화번호 소속 이름, 전화번호, 전화걸도록 넘겨주는 버튼으로 구성되어있다. 전화걸도록 넘겨주는 버튼은 전화번호 값을 이용하는 것이므로 내가 넘겨줘야하는 값는 전화번호 이름과 전화번호 두 개이다. 넘길 정보만큼 s.. 2021. 8. 29.
[Android] Bottom Navigation Bar 모음 title 관련 app:labelVisibilityMode="labeled" // title 항상 떠있기 icon, title 색상 변경 1. drawble 폴더에 xml 파일 만들기 2. xml에 색상 지정하기 // true : 프래그먼트일 때 // false : 아닐 때 3. main.xml BottomNavigationView에 추가하기 크기 조절 1. icon 2. bar dimens.xml 57dp 3. title dimens.xml 12sp 더보기 2021. 8. 28.
[C++] file IO ifstream 파일 입력 input ofstream 파일 출력 output fstream 파일입출력 헤더 라이브러리 #include 파일 연결하기 - open 맴버함수 ifstream fin("input.txt"); ofstream fout("output.txt"); ifstream fin; // 파일입력스트림 객체 fin 선언 (file input 약자) fin.open("input.txt"); // fin 정보를 이용해 input.txt 파일 연결 // -> ifstream fin("input.txt"); ofstream fout; // 파일출력스트림 객체 fout 선언 fout.open("output.txt"); // fout 정보 이용해 output.txt 파일 연결 // -> ofstream .. 2021. 8. 21.
[Node] 내장 모듈 | 3.5 노드 내장 모듈 사용하기 | os, path, url, crypto, 보호되어 있는 글 입니다. 2021. 8. 14.
[Node] 내장 객체 | 3.4 노드 내장 객체 알아보기 | __filename, module, process 보호되어 있는 글 입니다. 2021. 8. 12.