'2018/10'에 해당되는 글 105건

  1. 2018.10.03 게임 튜너와 안드로이드 해상도
  2. 2018.10.02 xz로 압축된 node.js 설치하기
  3. 2018.10.02 d3 font color / weight
  4. 2018.10.02 json2xls 사용 주의
  5. 2018.10.01 d3 tooltop

아내의 노트4 에서 게임이 좀 덜 버벅대게 하려고

게임 튜너를 깔고 설정을 하고

게임을 하면서 캡쳐를 해봤는데 원래 물리 해상도 대로 캡쳐가 된다.


FB 자체는 그대로고 openGL 렌더링 해상도를 낮추고

내부적으로 scaler를 통해 upscale 하는 개념인건가?


[링크 : https://play.google.com/store/apps/details?id=com.samsung.android.gametuner.thin&hl=ko]



+

안드로이드 6.0 이상부터 되서

S4 Active는 5.0인 관계로 안되니까 adb 를 통해서 직접 수정

(리부팅 전에는 dpi와 해상도 변경후 레이아웃이 깨지니 설정변경 이후에는 리부팅 필요한 듯)


핸드폰에서 usb 디버깅을 허용하지 않으면 처음것 처럼 에러가 뜬다.

일단은 절반으로 토막낼거니까 해상도도 절반으로

dpi도 절반으로 설정해 주니 별 문제없이 되는 듯?

C:\platform-tools>adb devices

List of devices attached

* daemon not running; starting now at tcp:5037

* daemon started successfully

176732c6        unauthorized



C:\platform-tools>adb devices

List of devices attached

176732c6        device


C:\platform-tools>adb shell

shell@jactivelteskt:/ $

shell@jactivelteskt:/ $ wm size

Physical size: 1080x1920

shell@jactivelteskt:/ $ wm size 540x960

shell@jactivelteskt:/ $ wm density

wPhysical density: 480

shell@jactivelteskt:/ $ wm density 240 

[링크 : http://blog.naver.com/shalom83/220878894684]



윈도우용 adb

[링크 : https://www.xda-developers.com/install-adb-windows-macos-linux/]

    [링크 : https://dl.google.com/android/repository/platform-tools-latest-windows.zip]


s4 active USB driver

[링크 : https://www.samsungusbdrivers.net/2017/03/samsung-galaxy-s4-active-usb-driver-for.html]

Posted by 구차니
Programming/node.js2018. 10. 2. 23:04

라즈베리 구버전을 써서 node.js가 0.10 버전대라

배포판 업그레이드 하거나 밀긴 귀찮아서

node.js arm 용으로 빌드된 걸 받아서 설치해보는데


rpi 2b니까 ARMv7용으로 받고

압축을 풀어서 bin과 lib를 /bin과 /lib로 복사해도 되고

[링크 : https://nodejs.org/ko/download/]


아래와 같이 -C / 이런 옵션을 주고 / 에다가 압축을 풀게 하는 것도 방법일 듯

tar Jxf --strip=1 -C /usr/local node-v4.4.0-linux-x64.tar.xz 

[링크 : https://stackoverflow.com/.../how-to-install-node-linux-binaries-tar-xz-file-in-ubuntu-14-04]

Posted by 구차니
Programming/d32018. 10. 2. 15:51

의외로 쉽네? 싶기도 하고..


svg.append("text")
.style("font-weight", "bold")
.style("fill", "white")
.attr("x",-5)
.attr("y",5)

.text(conn); 


[링크 : https://stackoverflow.com/.../splitting-text-for-some-bold-and-some-not-on-functional-javascript-piece]

[링크 : https://stackoverflow.com/.../how-to-set-text-color-for-my-d3-chart-title]

'Programming > d3' 카테고리의 다른 글

d3 관련 검색..  (0) 2018.10.12
d3 multi level pie 그래프  (0) 2018.10.11
d3 tooltop  (0) 2018.10.01
d3 를 이용하여 도넛 그래프 그리기  (0) 2018.09.28
d3 graph  (0) 2018.09.27
Posted by 구차니

버그인가...

데이터는 더 있는데 필드가 추가 안되는 문제가 있네..

(혹시나 해서 json도 저장해놔서 비교하는데 이런 문제가..)


[링크 : https://www.npmjs.com/package/json2xls]

[링크 : https://www.npmjs.com/package/json-to-excel]

'Programming > javascript & HTML' 카테고리의 다른 글

html canvas 크기  (0) 2018.10.07
html5 canvas crop & save  (0) 2018.10.04
json key 추가/삭제  (0) 2018.09.28
json merge  (0) 2018.09.28
jquery 선택자  (0) 2018.09.27
Posted by 구차니
Programming/d32018. 10. 1. 21:40

path.each() 가 현재 선택한 값을 d로 넘겨주고

그걸 이용해서 d.data에 path에서 연결된 dataset의 한개 항목을 넘겨준다.


[링크 : http://bl.ocks.org/arpitnarechania/577bd1d188d66dd7dffb69340dc2d9c9]

[링크 : https://stackoverflow.com/.../get-one-element-from-d3js-selection-by-index]

'Programming > d3' 카테고리의 다른 글

d3 관련 검색..  (0) 2018.10.12
d3 multi level pie 그래프  (0) 2018.10.11
d3 font color / weight  (0) 2018.10.02
d3 를 이용하여 도넛 그래프 그리기  (0) 2018.09.28
d3 graph  (0) 2018.09.27
Posted by 구차니