Call requires API level 21 (current min is 14): android.content.Context#getDrawable less... (⌘F1)This check scans through all the Android API calls in the application and warns about any calls that are not available on all versions targeted by this application (according to its minimum SDK attribute in the manifest). If you really want to use this API and don't need to support older devices just..
Java언어로 많이 쓰이는 String에 대한 함수 split() replace()에 대해서 알아보자! 따로 설명할 필요 없이 사용예시를 보면 이해가 될 것이다. split() 함수 String colorPower = "빨강:주황:노랑:초록"; String[] colorPowers = colorPower.split(":");위와 같은 경우에서 colorPowers[0] == "빨강" colorPowers[1] == "주황" colorPowers[2] == "노랑" colorPowers[3] == "초록" 와 같은 결과를 얻을 수 있다. 어떠한 문자열에 대해서 ":" 이 친구로 'split'한 다음 스트링 배열에 넣게 된다. replace() 함수 String colorPower = "빨강:주황:노랑:초록..
어플 개발 중 현재 시간을 필요로 하는 경우가 꽤 많이 있다. 안드로이드에서는 이를 기본 라이브러리로 제공한다. (사실 자바 라이브러리) 1. 현재 시간을 가져온다. long now = System.currentMills(); 2. Date형식으로 고친다. Date mDate = new Date(now); 3. 날짜, 시간을 가져오고 싶은 형태로 가져올 수 있다. SimpleDateFormat simpleDate = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); String getTime = simpleDate.format(mDate); 위와 같이 작성할 경우, String 형의 getTime 변수에 "2018-07-06 01:42:00" 이런식으로 날짜를 가져올 수 있..
PM - Project Manager 의 약자. 클라우드 서버( e.g. Amazon Web Service)를 이용하여 어플리케이션을 운영하는 경우,데몬으로 서버를 계속 띄워놔야 하고, 컴퓨터를 끄면 서버도 끊어지게 된다. 이전에는 Screen Command를 이용하여 서버를 띄워놨었는데, PM2라는 좋은 프로젝트 관리자를 알게 되어 사용해 보았다. PM2 링크 : http://pm2.keymetrics.io/ 설치 설치는 npm 패키지 관리자를 통해서 간단하게 설치할 수 있다.전역으로 설치해주자 $ npm install pm2 -g $ pm2 -v 3.2.2 실행 실행하고자 하는 Node.js 어플리케이션 실행 파일이 app.js 라면$ pm2 start app.js요롷게 실행하면 된다. 실..
WARNING:tensorflow:From /Users/paeng/dev/python/DeepLearningLab/lab07_mnist.py:6: read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version. Instructions for updating: Please use alternatives such as official/mnist/dataset.py from tensorflow/models. Extracting MNIST_data/train-images-idx3-ubyte.gz WARNING:tensorflow:From /Lib..
- Total
- Today
- Yesterday
- MySQL
- Docker
- java
- error
- 우분투
- MacOS
- Android
- Python
- pytorch
- Anaconda
- Computer Vision
- vscode
- numpy
- 3Dvision
- CUDA
- nerf
- Deep Learning
- nvidia
- GPU
- GaussianSplatting
- SSH
- git
- 2-stage Detector
- Neural Radiance Field
- ubuntu
- Novel View Synthesis
- Macbook
- Object Detection
- nginx
- Machine Learning
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |