'분류 전체보기'에 해당되는 글 1011건
- 2023.05.20 준비
- 2021.07.06 노트북 웹캠이 동작 안함
- 2021.03.08 Armeria
- 2021.03.07 test
- 2021.01.30 HornetQ를 찾아서, ActiveMQ-Artemis
- 2021.01.28 윤토, 미니 반성해라ㅋ
- 2020.07.14 [vi실습] JSON 편집 / ci'
- 2020.06.10 Notepad++에서 vi키 바인딩하기
- 2019.08.04 선자령 일출
- 2018.09.20 업무/ /-D @石
- 2016.10.09 선유도공원
- 2016.06.18 Subversion 버전 정보
- 2016.04.14 Lee's walk-off home run
- 2016.03.20 갑자기 전기공작
- 2016.03.13 [추억] 어릴때 가지고 놀던 것들
- 2016.03.11 Bottle-Sqlalchemy
- 2016.03.08 Bottle-SQLite
- 2016.03.01 tail using Windows command
- 2015.09.02 2015 제주도 여행 - 최고의 여행
- 2015.07.17 Andrea Bocelli - MAI PIU' COSI LONTANO
- 2015.06.12 ActiveMQ
- 2015.06.03 watch.bat
- 2015.04.08 Vert.x 시작하기
- 2015.03.16 SciPy 설치
- 2014.12.20 Error: package ‘rJava’ could not be loaded
- 2014.08.27 Grails-Testing
- 2014.07.13 [미완] 권한 관리 - 틀 만들기, Grails
- 2014.06.11 GroovyConsole
- 2014.05.22 matplotlib 맛보기
- 2014.05.06 Elasticsearch 맛보기
- 2023. 5. 20. 10:24
내용을 보시려면 비밀번호를 입력하세요.
- 노트북 웹캠이 동작 안함
- 雜동사니
- 2021. 7. 6. 23:50
장치관리자에서 안보임. 카메라, 이미징 장치, 변경사항 검색해도 안나옴.
여기서 안보인다는 거는 드라이버 잘못 설치? 그러면 물음표라도 나와야 하는데...
윈도우 업데이트 했음.
설정 - 개인 정보 - 액세스 허용 -> 안됨
카메라 앱 실행, 카메라를 찾을 수 없습니다.
제조사 드라이버 업데이트?
삼성 이놈들아, 드라이버 하나 찾기가 왜이리 힘드냐, 레노버보다 못하다.
장치관리자에서 카메라가 보이지 않는 것은 장치가 활성화되지 않아서 일수도..역쉬
삼성노트북, 보안 활성화? 머 그런 기능이 있었다.
활성화하니 장치관리자에서 카메라가 보인다.
코로나 시대, 아빠는 컴퓨터 수리 실력이 일취월장하고 있다.
Armeria: 어디서나 잘 어울리는 마이크로서비스 프레임워크
Dependency 추가
<Group Name>:<Artifact Id>:<Version>
compile "com.linecorp.armeria:armeria:0.68.2"
public class ArmeriaServer {
public static void main(String[] args) {
new ServerBuilder()
.http(7000)
.service("/hello", (ctx, res) -> HttpResponse.of(
HttpStatus.OK, MediaType.HTML_UTF_8
, "<h1>Hello</h1>"
)).build().start();
}
}
18:21:32.686 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: a4:34:d9:ff:fe:ca:a7:dd (auto-detected) 18:21:32.742 [armeria-boss-http-*:7000] INFO com.linecorp.armeria.server.Server - Serving HTTP at /[0:0:0:0:0:0:0:0]:7000 - http://127.0.0.1:7000/ |
- HornetQ를 찾아서, ActiveMQ-Artemis
- 日常茶飯事
- 2021. 1. 30. 13:46
- 윤토, 미니 반성해라ㅋ
- 행복이야기
- 2021. 1. 28. 10:18
- [vi실습] JSON 편집 / ci'
- 日常茶飯事
- 2020. 7. 14. 21:09
{ id: 22, name: 'Alice', score: 123, city: 'Atlanta', birthday: '1981/12/03'},
new File("downloadedimg.jpg").withOutputStream { out -> //di" ci( <node1 name="company/bizplace/dept"> , get_code_nm(#{S_COCD}, user_type, 'ko') as user_type_nm
- Notepad++에서 vi키 바인딩하기
- 日常茶飯事
- 2020. 6. 10. 22:55
설정
2021-06-18
최신 버전인 8.1로 설치후 visimulator 복사, vi기능은 동작하지만 NPP 대화창(설정창 등)이 나오지 않는다.
무설치본, 설치본 모두 동일 현상, 7.9.5 버전으로 내리고 해보니 정상 동작
- 선자령 일출
- 캠핑, 야영, 바깥놀이
- 2019. 8. 4. 22:44
- 2018. 9. 20. 14:52
내용을 보시려면 비밀번호를 입력하세요.
- Subversion 버전 정보
- 日常茶飯事
- 2016. 6. 18. 21:00
- Client
$ svn --version
svn, 버젼 1.5.3 (r33570)
Oct 23 2008, 20:11:04에 컴파일 됨
Copyright (C) 2000-2008 CollabNet.
Subversion은 오픈 소스 소프트웨어 입니다, http://subversion.tigris.org/
이 제품은 CollabNet이 개발한 소프트웨어를 포함하고 있습니다.(http://www.Collab.Net/).
저장소(repository) 접근 모듈(RA) 목록:
* ra_neon : Neon을 이용하여 WebDAV 프로토콜을 통해 저장소에 접근하는 모듈
- 'http' 스키마를 처리합니다.
- 'https' 스키마를 처리합니다.
* ra_svn : svn 네트워크 프로토콜을 사용하여 저장소에 접근하는 모듈
- 'svn' 스키마를 처리합니다.
* ra_local : 로컬 디스크에 있는 저장소를 접근하기 위한 모듈
- 'file' 스키마를 처리합니다.
$ whereis svn
svn: /usr/local/bin/svn /usr/local/share/man/man1/svn.1
- Server
svnadmin --version
svnserve --version
서버에 들어갈 권한이 없어서...응답을 보거나 헤더 정보에서 얻을 수 있다.
- Lee's walk-off home run
- 野生野死
- 2016. 4. 14. 13:30
그냥 생각이 나서 워니랑 놀이
빵판은 가지고 있던거
LED, 저항, 스위치는 머만들려고 사두고는 3년동안 처박혀 있던거
배터리박스는 과학상자
저항 안넣어서 빨간 LED 태워 먹음
재미있게 놀 방법 없나?
- [추억] 어릴때 가지고 놀던 것들
- 雜동사니
- 2016. 3. 13. 11:30
DIY, 또는 넘사벽의 원조. 절망과 좌절의 "빈깡통 공작." -_-;;
http://egloos.zum.com/eniac90/v/4730308
[인증샷] 30년 된 책들....팬더공작이란 책 아시나요 ?
http://dvdprime.donga.com/g5/bbs/board.php?bo_table=archive_comm_2010&wr_id=5080337
[추억] 라디오와 모형
http://egloos.zum.com/dragonjoon/v/869175
종이공작 시리즈의 일본 원작
http://snowfrolic.tistory.com/391
나무젓가락 공작
기초공작가이드북(007기초전자공작집시리즈)
탱크 만들기(팬더 판지 공작 시리즈 1)
호비일렉트로닉스(학생과학기술사)
80년대에 나처럼 이런걸 가지고 놀던 사람들이 있었다.
국립 중앙도서관에라도 가봐야 하나.
- Bottle-Sqlalchemy
- 日常茶飯事
- 2016. 3. 11. 21:12
https://pypi.python.org/pypi/bottle-sqlalchemy/
https://github.com/iurisilvio/bottle-sqlalchemy
> pip install bottle-sqlalchemy
> python -c "import sqlalchemy; print(sqlalchemy.__version__)"
1.0.12
=-=>초기 데이터는 어떻게 넣나? 초기옵션을 잘 사용하면 될듯
http://www.blog.pythonlibrary.org/2013/07/23/bottle-adding-sqlalchemy-to-the-todo-list-web-app/
https://github.com/mcapielo/Todo-List-Bottle-SQLAlchemy-Bootstrap/blob/master/todo.py
- Bottle-SQLite
- 日常茶飯事
- 2016. 3. 8. 02:03
http://bottlepy.org/docs/dev/plugins/sqlite.html
https://pypi.python.org/pypi/bottle-sqlite/
Installation
pip install bottle-sqlite
memory db 사용가능하고
인자명 db 변경가능
db 여러 개 사용가능
- tail using Windows command
- 日常茶飯事
- 2016. 3. 1. 12:30
> type a.txt | find /c /v ""
52
> set /a 52-5
47
> more +47 a.txt > con
vv
ww
xx
yy
zz
-f 옵션은 다음 기회에.
- 2015 제주도 여행 - 최고의 여행
- 행복이야기
- 2015. 9. 2. 23:00
- Andrea Bocelli - MAI PIU' COSI LONTANO
- 雜동사니
- 2015. 7. 17. 07:00
오픈소스 메시징/통합패턴 서버
다양한 언어 지원
STOMP, AMQP, MQTT
JMS 1.1 and J2EE 1.4
- 2015-06-12 현재 apache-activemq-5.11.1가 최신
그런데 실행이 안됨. 에러도 발생 안함.
apache-activemq-5.11.1> bin\activemq
Java Runtime: Oracle Corporation 1.7.0_09 C:\Program Files\Java\jdk1.7.0_09\jre
Heap sizes: current=1013632k free=996854k max=1013632k
JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G ...
Extensions classpath:
[...]
ACTIVEMQ_HOME: ...\apache-activemq-5.11.1\bin\..
ACTIVEMQ_BASE: ...\apache-activemq-5.11.1\bin\..
ACTIVEMQ_CONF: ...\apache-activemq-5.11.1\bin\..\conf
ACTIVEMQ_DATA: ...\apache-activemq-5.11.1\bin\..\data
Usage: Main [--extdir <dir>] [task] [task-options] [task data]
Tasks:
browse - Display selected messages in a specified destination.
bstat - Performs a predefined query that displays useful statistics regarding the specified broker
create - Creates a runnable broker instance in the specified path.
decrypt - Decrypts given text
dstat - Performs a predefined query that displays useful tabular statistics regarding the specified destina
tion type
encrypt - Encrypts given text
export - Exports a stopped brokers data files to an archive file
list - Lists all available brokers in the specified JMX context
purge - Delete selected destination's messages that matches the message selector
query - Display selected broker component's attributes and statistics.
start - Creates and starts a broker using a configuration file, or a broker URI.
stop - Stops a running broker specified by the broker name.
Task Options (Options specific to each task):
--extdir <dir> - Add the jar files in the directory to the classpath.
--version - Display the version information.
-h,-?,--help - Display this help information. To display task specific help, use Main [task] -h,-?,--help
Task Data:
- Information needed by each specific task.
JMX system property options:
-Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')
-Dactivemq.jmx.user=<user name>
-Dactivemq.jmx.password=<password>
확인 결과 5.10.0부터 발생
5.9.1은 제대로 실행됨.
apache-activemq-5.9.1> bin\activemq
Java Runtime: Oracle Corporation 1.7.0_09 C:\Program Files\Java\jdk1.7.0_09\jre
Heap sizes: current=1013632k free=996854k max=1013632k
JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G ...
Extensions classpath:
[...]
ACTIVEMQ_HOME: ...\apache-activemq-5.9.1\bin\..
ACTIVEMQ_BASE: ...\apache-activemq-5.9.1\bin\..
ACTIVEMQ_CONF: ...\apache-activemq-5.9.1\bin\..\conf
ACTIVEMQ_DATA: ...\apache-activemq-5.9.1\bin\..\data
Loading message broker from: xbean:activemq.xml
INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@e34a3c: startup date [Fri Jun 12 22:51:42 KST 2015]; root of con
text hierarchy
INFO | PListStore:[...\apache-activemq-5.9.1\bin\..\data\localhost\tmp_storage] started
INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[...\apache-activemq-5.9.1\bin\.
.\data\kahadb]
INFO | Apache ActiveMQ 5.9.1 (localhost, ID:pantarei-PC-20301-1434117106014-0:1) is starting
INFO | Listening for connections at: tcp://...:61616?maximumConnections=...
INFO | Connector openwire started
INFO | Listening for connections at: amqp://...:5672?maximumConnections=...
INFO | Connector amqp started
INFO | Listening for connections at: stomp://...:61613?maximumConnections=...
INFO | Connector stomp started
INFO | Listening for connections at: mqtt://...:1883?maximumConnections=...
INFO | Connector mqtt started
INFO | Listening for connections at ws://...:61614?maximumConnections=...
INFO | Connector ws started
INFO | Apache ActiveMQ 5.9.1 (localhost, ID:...-20301-1434117106014-0:1) started
INFO | For help or more information please see: http://activemq.apache.org
WARN | Store limit is 102400 mb (current store usage is 0 mb). The data directory: ...\apa
che-activemq-5.9.1\bin\..\data\kahadb only has 31427 mb of usable space - resetting to maximum available disk space: 31427 mb
ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory: ...\apache-
activemq-5.9.1\bin\..\data\localhost\tmp_storage only has 31427 mb of usable space - resetting to maximum available 31427 mb.
INFO | ActiveMQ WebConsole available at http://localhost:8161/
INFO | Initializing Spring FrameworkServlet 'dispatcher'
INFO | jolokia-agent: No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed
http://localhost:8161/
- 데모
http://activemq.apache.org/web-samples.html
apache-activemq-5.9.1> bin\activemq xbean:examples/conf/activemq-demo.xml
http://localhost:8161/demo
https://gist.github.com/jujhars13/4153770
@echo off
if %1==-n (
set interval=%2
shift
shift
) else (
set interval=2
)
title Watch %1 %2 %3 %4 %5 %6 %7 %8 %9
:loop
cls
%1 %2 %3 %4 %5 %6 %7 %8 %9
timeout /t %interval%
goto loop
> watch.bat netstat -na ^| findstr LIST
> watch.bat -n 5 netstat -na ^| find /c "LIST" //이런 식의 변화를 보는데 적합한 듯
변화되는 상황을 보기에는 Unix watch의 -d 옵션이 필요하다.
watch1.bat 참고
- Vert.x 시작하기
- 日常茶飯事
- 2015. 4. 8. 20:25
- Installation
1. Vert.x requires JDK 1.7.0 or later.
(JRE가 아닌 Full JDK나 for Developers 옵션을 선택해야 한다.)
> java version
2. Unzip.
3. Add the Vert.x bin/ to PATH.
> vertx version
2.1.5 (built 2014-11-13 15:15:56)
- Testing the install
> vertx run server.js
====>자바 컴파일 필요없는거
각 구현체 설정 파일, 구현 엔진
jruby, jpython, rinho
java compile이 필요없다.
http://sourceforge.net/projects/scipy/files/scipy/0.15.0/
> scipy.version.full_version
'0.15.0'
- Error: package ‘rJava’ could not be loaded
- 日常茶飯事
- 2014. 12. 20. 12:13
모듈을 올리는데 에러가 발생한다.
> library(KoNLP)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dirname(this$RuntimeLib)
error: a character vector argument expected
Error: package ‘rJava’ could not be loaded
환경변수에 JAVA_HOME을 지정한다.
- Grails-Testing
- 日常茶飯事
- 2014. 8. 27. 09:25
http://grails.org/doc/2.2.0/guide/testing.html
이거 19페이지, 이걸 보면 될듯
IntegrationSpec (Grails 2.4.3)
부터 spock 지원하는듯
2.3도 지원
- 2014. 7. 13. 16:58
내용을 보시려면 비밀번호를 입력하세요.
- GroovyConsole
- 日常茶飯事
- 2014. 6. 11. 19:10
https://groovy-lang.org/groovyconsole.html
Larger/Smaller Font
Show Script In Output
Loop Mode, 스크립트를 반복해서 실행한다. 실행을 중지시키려면 스크립트에 수정을 가하면 된다. /뿌듯ㅋ
//while(true){
println new Date()
sleep 1000 * 3
//}
Interrupt, 무한루프 실행시 안됨.
- matplotlib 맛보기
- 日常茶飯事
- 2014. 5. 22. 19:00
- Elasticsearch 맛보기
- 日常茶飯事
- 2014. 5. 6. 19:00
초간단 맛보기
설치
Download and unzip
실행
Run bin/elasticsearch
설정
7.15.2 elasticsearch.yml에 xpack.ml.enabled: false 추가 1
org.elasticsearch.ElasticsearchException: X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml
확인
http://localhost:9200/
{
"status" : 200,
"name" : "Quicksilver",
"version" : {
"number" : "1.1.1",
"build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
"build_timestamp" : "2014-04-16T14:27:12Z",
"build_snapshot" : false,
"lucene_version" : "4.7"
},
"tagline" : "You Know, for Search"
}
이걸로 끝!
하나 더 실행하면 9201로 실행됨.
- 1.5.2 버전에서는 JDK 1.7이 필요한데, 1.8을 권장함.
- 2021-12-07 [본문으로]
Recent comment