3 05 2019
1)javadoc 메뉴에서 project>Generate Javadoc 또는 프로젝트를 선택후 export를 클릭하고 javadoc 선택합니다. 여기서는 project>Generate Javadoc를 이용해서 처리하면 순서로 처리하면 java document를 얻을수 있다.
화상연동/Web,APP 구축및서비스/LMS/평생교육/학점은행/기업교육/연수관리/설문구축/
3 05 2019
1)javadoc 메뉴에서 project>Generate Javadoc 또는 프로젝트를 선택후 export를 클릭하고 javadoc 선택합니다. 여기서는 project>Generate Javadoc를 이용해서 처리하면 순서로 처리하면 java document를 얻을수 있다.
11 02 2019
Jenkins Install – https://nesoy.github.io/articles/2017-02/Jenkins Nexus Install – https://blog.kingbbode.com/posts/nexus-3xx-maven-npm Nexus 3.xx실행 1) run run으로 실행 시에는 현재 shell 상에서 구동되므로 shell을 종료 하거나 CTOL-C를 클릭하여 종료 할 수 있다. 윈도우: 명령 프롬프트 상에서 실행 c:/nexus/nexus-3.11.0-01/bin/nexus.exe /run 리눅스: ./nexus run 2) start/stop 백그라운드로 실행 시에는 다음과 깉이 start 명령을 사용하고 종료 시에는 stop 명령을 사용한다. 윈도우: […]
28 01 2019
1.developer.apple.com 에서 Keys에서 생성한 Keys 는 FCM에서 인증으로 사용한다. 하나의 ApnKey 를 만들어서 *. p8 를 다운로드 받아 놓는다 파일을 가지고 있다가 FCM> Cloud Messaging에서 APN 인증 키를 넣는데 사용
1 |
APN 인증키와 키 ID / 팀 ID(Account> Members 에 있음) |
로 인증해야 PUSH를 사용할수 있다.
30 10 2018
일부 테이블만 의 경우 먼저 Directory Dump를 만든다.
1 2 3 4 5 6 7 |
SQL> CREATE DIRECTORY KWCYBERDUMP AS '/./../kwcyber'; Directory created. SQL> GRANT read,write on directory KWCYBERDUMP to 오라클계정; Grant succeeded. |
1 |
oracle$]impdp 오라클계정/패스워드@SID directory=KWCYBERDUMP dumpfile=file.dmp tables=tu_progress_log table_exists_action=append; |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Import: Release 11.2.0.1.0 - Production on Tue Oct 30 17:57:25 2018 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Master table "계정"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded Starting "계정"."SYS_IMPORT_TABLE_01": 계정/********@SID directory=KWCYBERDUMP dumpfile=file.dmp tables=tu_progress_log table_exists_action=append Processing object type SCHEMA_EXPORT/TABLE/TABLE ORA-39152: Table "계정"."TU_PROGRESS_LOG" exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA . . imported "계정"."TU_PROGRESS_LOG" 541.8 MB 5260803 rows Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS Processing object type SCHEMA_EXPORT/TABLE/COMMENT Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS Job "계정"."SYS_IMPORT_TABLE_01" completed with 1 error(s) at 17:59:32 |
11 09 2018
1. 터미널을 엽니다. 2. 호스트 파일을 엽니다. 명령어는 “sudo vi /private/etc/hosts” 이며, 비밀번호를 입력합니다. 3. #으로 시작하는 부분에 입력을 하면 됩니다. 기존에 있던 127.0.0.1 – localhost 아래에 입력하시면 됩니다. 방향키를 이용해 이동이 가능합니다.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost 127.0.0.1 dev.vgk-smartcampus.com 127.0.0.1 dev.ekicte.or.kr 127.0.0.1 dev.new.cylearn.co.kr |
4. :wq로 저장한다. 5. 재부팅을 하셔도 되지만, “dscacheutil -flushcache”명령어를 이용해 바로 적용이 가능합니다.
3 08 2018
1 2 3 4 5 6 7 |
[root@nuriware bin]# dd if=/dev/zero of=/root/swapfile bs=1024 count=5000000 5000000+0 records in 5000000+0 records out 5120000000 bytes (5.1 GB) copied, 25.8677 s, 198 MB/s |
1 |
[root@nuriware bin]# chmod 600 /root/swapfile |
1 2 3 4 5 6 7 8 9 |
[root@nuriware bin]# mkswap /root/swapfile mkswap: /root/swapfile: warning: don't erase bootbits sectors on whole disk. Use -f to force. Setting up swapspace version 1, size = 4999996 KiB no label, UUID=ad13ad1b-8f68-42f9-affe-0556f9541342 |
1 |
[root@nuriware bin]# swapon /root/swapfile |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
[root@nuriware bin]# swapon /root/swapfile [root@nuriware bin]# free -m total used free shared buffers cached Mem: 32080 31722 357 8371 329 12158 -/+ buffers/cache: 19234 12845 Swap: 4882 0 4882 [root@nuriware bin]# swapoff /root/swapfile [root@nuriware bin]# free -m total used free shared buffers cached Mem: 32080 31729 350 8371 330 12158 -/+ buffers/cache: 19241 12838 Swap: 0 0 0 |
swap delete
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
[root@nuriware bin]# swapoff /root/swapfile [root@nuriware bin]# free -m total used free shared buffers cached Mem: 32080 31729 350 8371 330 12158 -/+ buffers/cache: 19241 12838 Swap: 0 0 0 [root@nuriware bin]# rm /root/swapfile rm: remove 일반 파일 `/root/swapfile'? y [root@nuriware bin]# |
reboot : setting
1 |
[root@nuriware bin]# vi /etc/rc.local |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local swapon /root/swapfile |
1 08 2018
1 2 3 4 5 6 7 |
haengho-gang-ui-MacBook-Pro:~ lovelittlelong$ ps -ef| grep tomcat 501 698 1 0 1:00PM ?? 23:23.56 /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/bin/java -Dcatalina.base=/Users/lovelittlelong/app/web/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2 -Dcatalina.home=/Users/lovelittlelong/program/apache-tomcat-8.0.43 -Dwtp.deploy=/Users/lovelittlelong/app/web/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps -Djava.endorsed.dirs=/Users/lovelittlelong/program/apache-tomcat-8.0.43/endorsed -Dfile.encoding=UTF-8 -classpath /Users/lovelittlelong/program/apache-tomcat-8.0.43/bin/bootstrap.jar:/Users/lovelittlelong/program/apache-tomcat-8.0.43/bin/tomcat-juli.jar org.apache.catalina.startup.Bootstrap start 501 962 934 0 1:48PM ttys000 0:00.00 grep tomcat haengho-gang-ui-MacBook-Pro:~ lovelittlelong$ kill -9 698 |
서비스 포트 상태 확인
1 2 3 |
haengho-gang-ui-MacBook-Pro:~ lovelittlelong$ netstat -ant | grep 8080 tcp46 0 0 *.8080 *.* LISTEN |
13 07 2018
ERROR ITMS-90087 …x86_64, i386 ‘ 의 경우 x86_64, i386을 제거한다.
1 2 3 4 5 6 7 8 9 10 11 |
haengho-gang-ui-MacBook-Pro:Frameworks lovelittlelong$ lipo -info ./Realm.framework/Realm Architectures in the fat file: ./Realm.framework/Realm are: i386 x86_64 armv7 arm64 haengho-gang-ui-MacBook-Pro:Frameworks lovelittlelong$ lipo -remove i386 ./Realm.framework/Realm -o ./Realm.framework/Realm haengho-gang-ui-MacBook-Pro:Frameworks lovelittlelong$ lipo -remove x86_64 ./Realm.framework/Realm -o ./Realm.framework/Realm haengho-gang-ui-MacBook-Pro:Frameworks lovelittlelong$ lipo -info ./Realm.framework/Realm Architectures in the fat file: ./Realm.framework/Realm are: armv7 arm64 |
29 06 2018
Home-brew install
1 |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
ffmpeg install
1 |
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools |
ffmpeg update
1 |
brew upgrade --HEAD ffmpeg |
app store preview video example
1 |
ffmpeg -i 4EB80F9F-2BB6-4072-ABBF-889F44F00B22.MOV -r 25 -acodec copy -vf scale=1080:1920 AEB80F9F-1080_1920.MOV |
1 |
ffmpeg -i IMG_0078.PNG -vf scale=1242:2208 O_IMG_0078.PNG |
1 2 3 |
ffmpeg -i 동영상.avi -ss 600 -t 120 결과물.avi (동영상.avi 의 600초 지점부터 120초간 자르고 결과물.avi로 저장) |
MP4 변환 : App Store 업로드를 위한 1.iphone으로 녹화후 -> frame 4배로 느리게 ffmpeg -i original.mp4 -vf “setpts=(4/1)*PTS” -an pts_screerecord.mp4 2.영상 사이즈 변경 ffmpeg -i original.mp4 -vf scale=1080:1920 out.mp4 3.시간대로 자르기 ffmpeg […]
12 06 2018
Main build Goals: clearn install -Pproduction pom.xml