'Programming > javascript & HTML' 카테고리의 다른 글
json key 추가/삭제 (0) | 2018.09.28 |
---|---|
json merge (0) | 2018.09.28 |
jquery n번째 요소 선택하기, select 선택하기 (0) | 2018.09.27 |
css 배경 이미지 회전, 크기 등 (0) | 2018.09.27 |
svg.js (0) | 2018.09.21 |
json key 추가/삭제 (0) | 2018.09.28 |
---|---|
json merge (0) | 2018.09.28 |
jquery n번째 요소 선택하기, select 선택하기 (0) | 2018.09.27 |
css 배경 이미지 회전, 크기 등 (0) | 2018.09.27 |
svg.js (0) | 2018.09.21 |
[링크 : http://onemooon.tistory.com/entry/NODE-JS-cheerio-를-이용해서-html-을-파싱해보자]
[링크 : https://www.npmjs.com/package/cheerio]
[링크 : https://www.npmjs.com/package/node-html-parser]
[링크 : https://www.npmjs.com/package/table-to-json]
[링크 : https://codeburst.io/how-to-make-an-http-request-in-nodejs-http-mechanism-libraries-f25ec990d307]
+
https는 http-request로 안되니 https 모듈로
[링크 : https://github.com/request/request]
[링크 : http://lyasee.tistory.com/15]
[링크 : http://dalkomit.tistory.com/104]
[링크 : https://www.npmjs.com/package/request]
xz로 압축된 node.js 설치하기 (0) | 2018.10.02 |
---|---|
npm install이 윈도우에서 안될때 (2) | 2018.09.27 |
npm audit (0) | 2018.09.19 |
promise-mysql (0) | 2018.09.18 |
node.js 동기와 비동기 그리고 promise (0) | 2018.09.18 |
테스트 용으로 단간한 계정정보를 받아와서 ID와 PW 그리고 역활에 대해서 출력하고
jquery를 이용하여 table에 값을 추가하고
select-option 에 항목 값을 지정하는 예제
$.ajax({ type: "POST", url: '/list', success: function (data) { }, error: function (data) { }, complete: function (data) { var result = JSON.parse(data.responseText); for(var idx = 0; idx < result.length; idx++) { $('#userlist > tbody:last').append('<tr class="unsel"><td><input class="uncheck" name="chk_del", type="checkbox"</td><td><input class="user-editbox" type="text" value="'+ result[idx].user_id + '"></td><td><input class="user-editbox" type="text" value="'+ result[idx].user_pw + '"></td><td><select class="user-role"><option value="admin">admin</option><option value="user">user</option><option value="server">server</option></select></td><td><input class="user-editbox" type="text" value="DESC."></td></tr>'); switch(result[idx].user_role) { case 0: //admin $('.user-role').eq(idx).val('admin'); break; case 1: //user $('.user-role').eq(idx).val('user'); break; case 2: //server $('.user-role').eq(idx).val('server'); break; } } } }); |
찾은 요소 n번째 접근하기 : .eq(index)
[링크 : http://egloos.zum.com/survival/v/464374]
$('#fruits').val('값');
json merge (0) | 2018.09.28 |
---|---|
jquery 선택자 (0) | 2018.09.27 |
css 배경 이미지 회전, 크기 등 (0) | 2018.09.27 |
svg.js (0) | 2018.09.21 |
ajax (0) | 2018.09.20 |
[링크 : http://www.adeveloperdiary.com/d3-js/create-a-simple-donut-chart-using-d3-js/] 도넛 그래프
[링크 : http://bl.ocks.org/aaizemberg/raw/78bd3dade9593896a59d/] 색상
타이틀 달린 도넛 그래프
+
2018.10.10
d3 관련 검색.. (0) | 2018.10.12 |
---|---|
d3 multi level pie 그래프 (0) | 2018.10.11 |
d3 font color / weight (0) | 2018.10.02 |
d3 tooltop (0) | 2018.10.01 |
d3 를 이용하여 도넛 그래프 그리기 (0) | 2018.09.28 |
배경을 돌리면 안에 내용도 같이 돌아버리니까
배경만 돌리려면 조금 까다롭다.
[링크 : https://www.sitepoint.com/css3-transform-background-image/]
[링크 : https://www.w3schools.com/cssref/pr_background-position.asp]
jquery 선택자 (0) | 2018.09.27 |
---|---|
jquery n번째 요소 선택하기, select 선택하기 (0) | 2018.09.27 |
svg.js (0) | 2018.09.21 |
ajax (0) | 2018.09.20 |
polar clock (0) | 2018.09.20 |
dist-upgrade 하다가 용량 부족으로 뻗었는데
두개 동시에 업데이트 하니까 서포트 까지 뜨거워서 잡기 힘들 정도.. -_-
그런 이유로 써멀 구리스 발라 주려고 하니 TIM(Thermal Interface Material)이 두께가 있어서
MLCC 등이 방열판에 닿지 않는것 같은데, 반대로 이거 떼면 쇼트 날지도 모르겠다.
그런 이유로.. 어쩔수 없이 팬을 달아야 하나..
아니면 쿨러를 달아주어야 하나 고민중..
[링크 : https://www.hardkernel.com/main/products/prdt_info.php?g_code=G138760358261]
HEVC, H.265 지원 싱글보드 (0) | 2019.04.23 |
---|---|
odroid U3 18.03 업데이트 (6) | 2018.09.29 |
odroid U3 eMMC 복구 (0) | 2018.09.26 |
odroid 고민.. (2) | 2018.09.26 |
odroid XU4 팬 컨트롤 (0) | 2018.09.24 |
eMMC 장착 안하고 해서 그런가..?
U-Boot 2010.12-00000-g9777ca6-dirty (Nov 26 2015 - 10:10:11) for Exynox4412 CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9] APLL = 1000MHz, MPLL = 800MHz DRAM: 2 GiB PMIC VERSION : 0x00, CHIP REV : 2 TrustZone Enabled BSP BL1 version: 20121128 Checking Boot Mode ... SDMMC MMC Device 0: 15193 MB MMC Device 1 not found *** Warning - using default environment USB3503 NINT = OUTPUT LOW! ModeKey Check... run normal_boot No ethernet found. Hit any key to stop autoboot: 0 Exynos4412 # Exynos4412 # movi init 1 emmc reset... REVISION: 2.0 [ERROR] response timeout error : 00000104 cmd 1 Card NOT detected or Init Failed!! Exynos4412 # movi init 1 emmc reset... REVISION: 2.0 |
껐다 켜고 하니 잘되네..
일단 위의 경우에는 eMMC 안꼽고 movi init 1을 해서 그런건가 싶긴한데.. 다시 해보긴 귀찮네
U-Boot 2010.12-00000-g9777ca6-dirty (Nov 26 2015 - 10:10:11) for Exynox4412 CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9] APLL = 1000MHz, MPLL = 800MHz DRAM: 2 GiB PMIC VERSION : 0x00, CHIP REV : 2 TrustZone Enabled BSP BL1 version: 20121128 Checking Boot Mode ... SDMMC MMC Device 0: 15193 MB MMC Device 1 not found *** Warning - using default environment USB3503 NINT = OUTPUT LOW! ModeKey Check... run normal_boot No ethernet found. Hit any key to stop autoboot: 0 Exynos4412 # Exynos4412 # movi init 1 emmc reset... REVISION: 2.0 Manufacture ID 0x11 [ 7456MB ] NAME: S5P_MSHC4 Device: S5P_MSHC4 Manufacturer ID: 11 OEM: 100 Name: 008G9 Tran Speed: 0 Rd Block Len: 512 MMC version 4.0 High Capacity: Yes Size: 0MB (block: 7456) Bus Width: 8-bit DDR Boot Partition Size: 4096 KB Exynos4412 # run copy_uboot_sd2emmc reading FWBL1 ..device 0 Start 1, Count 30 MMC read: dev # 0, block # 1, count 30 ... 30 blocks read: OK completed eMMC OPEN Success.!! !!!Notice!!! !You must close eMMC boot Partition after all image writing! !eMMC boot partition has continuity at image writing time.! !So, Do not close boot partition, Before, all images is written.! writing FWBL1 ..device 1 Start 0, Count 30 MMC write: dev # 1, block # 0, count 30 ... 30 blocks written: OK completed eMMC CLOSE Success.!! reading BL2 ..device 0 Start 31, Count 32 MMC read: dev # 0, block # 31, count 32 ... 32 blocks read: OK completed eMMC OPEN Success.!! !!!Notice!!! !You must close eMMC boot Partition after all image writing! !eMMC boot partition has continuity at image writing time.! !So, Do not close boot partition, Before, all images is written.! writing BL2 ..device 1 Start 30, Count 32 MMC write: dev # 1, block # 30, count 32 ... 32 blocks written: OK completed eMMC CLOSE Success.!! reading bootloader..device 0 Start 63, Count 2048 MMC read: dev # 0, block # 63, count 2048 ... 2048 blocks read: OK completed eMMC OPEN Success.!! !!!Notice!!! !You must close eMMC boot Partition after all image writing! !eMMC boot partition has continuity at image writing time.! !So, Do not close boot partition, Before, all images is written.! writing bootloader..device 1 Start 62, Count 2048 MMC write: dev # 1, block # 62, count 2048 ... 2048 blocks written: OK completed eMMC CLOSE Success.!! reading 0 TrustZone S/W.. Start 2111, Count 312 MMC read: dev # 0, block # 2111, count 312 ... 312 blocks read: OK completed eMMC OPEN Success.!! !!!Notice!!! !You must close eMMC boot Partition after all image writing! !eMMC boot partition has continuity at image writing time.! !So, Do not close boot partition, Before, all images is written.! writing 1 TrustZone S/W.. Start 2110, Count 312 MMC write: dev # 1, block # 2110, count 312 ... 312 blocks written: OK completed eMMC CLOSE Success.!! MMC write: dev # 1, block # 2423, count 32 ... 32 blocks written: OK |
[링크 : https://wiki.odroid.com/old_product/accessory/emmc/emmc_recovery_u3]
2018/09/24 - [embeded/odroid] - odroid U3/XU4 eMMC 복구 방법
아무튼 eMMC에 미리 쓰고 나서 SD 메모리에 하나더 쓰고
그걸 이용해서 eMMC에 부트로더 넣어주면 끝!
odroid U3 18.03 업데이트 (6) | 2018.09.29 |
---|---|
odroid U3 방열판/쿨러 (0) | 2018.09.26 |
odroid 고민.. (2) | 2018.09.26 |
odroid XU4 팬 컨트롤 (0) | 2018.09.24 |
odroid U3/XU4 eMMC 복구 방법 (0) | 2018.09.24 |
XU4를 쓸데가 딱히 없어서 고민인데(소비전력 문제라던가..)
eMMC 5.1을 사면 하위호환성 테스트를 해서 U3에서 정말 안되는지 볼 수 있는것과
eMMC 4.41과 비교해서 얼마나 단축되는지 정도 보는것이 전부인데
ubuntu MATE 용량을 보면 8GB로는 어림도 없어 보이고 좀 큰용량을 해야 하는데
이래저래 고민중
그렇다고 해서 U3에서 8GB로 하는것도 큰것도 아니고
한번 밀고 쓰는데 너무 오래 걸려서 고민이고
멀 어떻게 구성을 하고 가지고 놀면 잘 가지고 놀았다고 소문이(?) 날까?
솔찍히 소비전력과 케이스가 없고
용도 문제로 인해서 U3 듀얼로 돌리는건 여전히 고민중인데..
어떻게 하면 띵! 소리 나게 잘쓴다고 소문이 날까...
---
놀고 있음
> odroid U3 + 8GB eMMC 셋트로 2대
> odroid XU4 + 16GB SD
> 라즈베리 2B - 이전 미디어 재생(openELELC)
용도있음
> 라즈베리 2B - arm 서버 (서버만 돌고 안씀..)
> 라즈베리 3B - 현재 미디어 재생(openELELC)
odroid U3 방열판/쿨러 (0) | 2018.09.26 |
---|---|
odroid U3 eMMC 복구 (0) | 2018.09.26 |
odroid XU4 팬 컨트롤 (0) | 2018.09.24 |
odroid U3/XU4 eMMC 복구 방법 (0) | 2018.09.24 |
odroid XU4 + U3 eMMC 4.41 부팅 (0) | 2018.09.24 |
playonlinux에서 IE 깔려고 하니 자꾸 에러가 떠서 포기하고
Error in POL_Wine Wine seems to have crashed If your program is running, just ignore this message |
wine으로 직접 무언가 해보려고 했더니 또 안된다.
에러를 보다보니.. not supported on this installation (x86 binary)가 키인거 같은데..
~/Downloads$ wine npp.7.5.8.Installer.exe wine: created the configuration directory '/home/odroid/.wine' 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0012:err:ole:get_local_server_stream Failed: 80004002 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0014:err:ole:get_local_server_stream Failed: 80004002 Could not load wine-gecko. HTML rendering will be disabled. wine: configuration in '/home/odroid/.wine' has been updated. 0009:err:process:create_process L"Z:\\home\\odroid\\Downloads\\npp.7.5.8.Installer.exe" not supported on this installation (x86 binary) wine: Bad EXE format for Z:\home\odroid\Downloads\npp.7.5.8.Installer.exe. |
어떻게 보면 당연한게
WinE은 Wine is not Emulator 라고 하듯, x86 에뮬레이터가 아니기에
x86 바이너리가 실행되는 x86 linux 상에서 윈도우를 흉내내주는 녀석일뿐
arm 에서 x86 바이너리를 실행하게 해주는 녀석은 아니라는 결론(?)
cd Downloads wget http://downloads.eltechs.com/exagear-desktop-v-2-1/exagear-desktop-rpi3.tar.gz tar -xvzpf exagear-desktop-rpi3.tar.gz sudo ./install-exagear.sh exagear |
[링크 : https://thepi.io/how-to-run-x86-programs-on-the-raspberry-pi/]
[링크 : https://eltechs.com/run-wine-on-raspberry-pi/]
[링크 : https://www.instructables.com/id/How-to-Set-Up-Wine-on-Raspberry-Pi-1/]
자사 기술 광고 같은데 들어가면 무조건 23시간 남았다고 1+1 준다고 난리네 -_-
QEMU를 써도 되긴 한다는 건가.. 이녀석 받아 보려니 423MB라 한참 걸리는데..
qemu + wine도 찾아볼 필요는 있겠다.
It is like QEMU but 5 times faster!
[링크 : https://eltechs.com/product/exagear-desktop/exagear-desktop-features-and-prices-daily1/]
+
받는게 한참 걸려서 해보려고 했더니
데모 버전인줄 알았더니 시리얼 키가 필요한 정품.. -_-
안하고 말지 췟
$ sudo ./install-exagear.sh [sudo] password for odroid: System memory configuration is determined as 3g/1g ARCH=armv7l HOST OS: ubuntu HOST OS VERSION: 18 EXAGEAR package: exagear_*-1_armhf.deb EXAGEAR guest image package: 'exagear-guest-ubuntu-1604_*_all.deb' Put a primary key file to the current directory. Primary key files are named pk-NNNNNN.key |
wine 한글 폰트 (0) | 2019.05.21 |
---|---|
playonlinux @ 18.04 ubuntu (0) | 2019.05.20 |
한층 더 쩔어진 winE (0) | 2012.04.08 |
wine 에서 cd넣고 실행시 에러 뜰때 (0) | 2012.01.21 |
wine - WINdows Emulator (?) (2) | 2012.01.21 |
원래 목적한건 현재 CPU의 온도를 얻어 내는건데
PWM 제어를 통해 팬을 돌리는 내용만 나오네..
[링크 : https://wiki.odroid.com/odroid-xu4/software/pwm_cpufan]
[링크 : https://wiki.odroid.com/odroid-xu4/application_note/manually_control_the_fan]
[링크 : https://com.odroid.com/sigong/blog/blog_list.php?bid=196]
odroid U3 eMMC 복구 (0) | 2018.09.26 |
---|---|
odroid 고민.. (2) | 2018.09.26 |
odroid U3/XU4 eMMC 복구 방법 (0) | 2018.09.24 |
odroid XU4 + U3 eMMC 4.41 부팅 (0) | 2018.09.24 |
odorid XU4 부팅메시지 (0) | 2018.09.24 |