2018년 7월 26일 목요일

babel es6 es2015

대략 96% 이상 잘 되고 있으니 필요없을 듯?(IE11 제외)

Edge, FF, Chrome, Safari, iOS Safari

http://kangax.github.io/compat-table/es6/

redis log level

#define LL_DEBUG 0
#define LL_VERBOSE 1
#define LL_NOTICE 2
#define LL_WARNING 3

Mac에서는 기본이 LL_NOTICE(2)부터 표시, 저장하게 되어 있는 듯

go lang

vscode go플러그인은 debian go(1.3.3)에서 동작하지 않음
1.7 설치
debian에서 최신 golang 설치. godeb ( https://github.com/niemeyer/godeb )

https://www.gitbook.com/book/gosudaweb/effective-go-in-korean/details

openmediavault ssh


사용자를 /etc/group의 ssh 그룹에 추가

openbox rc.xml 2016

<keybind key="W-Left">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<keybind key="W-Right">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>1/2</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<keybind key="W-Down">
<action name="Iconify"/>
</keybind>
<keybind key="W-Up">
<action name="Maximize"/>
</keybind>
<keybind key="W-space">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>

<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer sset Master,0 toggle</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer sset Master,0 5+</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer sset Master,0 5-</command>
</action>
</keybind>
<keybind key="XF86MonBrightnessDown">
<action name="Execute">
<command>xbacklight -10</command>
</action>
</keybind>
<keybind key="XF86MonBrightnessUp">
<action name="Execute">
<command>xbacklight +10</command>
</action>
</keybind>

맥 초기화 MacOSX

배터리 충전 안될때 PRAM reset
구름 입력기
http://macnews.tistory.com/2038
한글에서 2벌식, 영어에서 쿼티 추가
모니터 해상도 간단 조정 https://github.com/Eun/DisableMonitor

17인치 노트북

p17f v7 / i7-6700hq / ddr3L 8GB / ssd 128 + HD 1T / gtx950M DDR3 / 1FAN

idle 18W / 3D게임 외장 72W / 3dmark FS 2807

1
http://www.bodnara.co.kr/bbs/article.html?num=129375

p57k v5 / i7-6700HQ / DDR4 8G / HDD 1T / gtx965M 2G DDR5 / 2FAN 품절

http://playwares.com/mobilereview/48693795
idle 13 / 게임 100W / AIDA 130W

asus fx753vd / i7-7700hq / ddr4 8GB / HDD 1T / gtx1050 4G / 1FAN
1090k
팬1개

xiaomi 글꼴 바꾸기

font2mtz, fontToMtz epic rom 8.5.1.0 나눔 손글씨로 시험함 (너무 작아.)
고양시 고양체 좋구만.

커롬에서는 안 됨.

godot rtk2

draw rect 써서는 너무 느림 1fps
render to texture 사용해 보자.

put_pixel사용

http://docs.godotengine.org/en/stable/learning/editor/command_line_tutorial.html

~~(async 프로그래밍 어려움. yield가 원하는 대로 동작하지 않음. )~~
function이 lua와는 달리...first class가 아니다...

fsm:
https://github.com/gokudomatic/eco-state-machine

message center:
http://www.video-games.io/custom-godot-signals-with-variables/


network:
https://www.slideshare.net/fabioalessandrelli1988/realtime-online-multiplayer-with-godot-engine

xiaomi 4 prime 원복

이유: netflix가 안됨. 앞으로도 늘어날 것 같음.

가이드
http://en.miui.com/a-234.html

http://en.miui.com/thread-601138-1-1.html
부트로더 락 걸림(fastboot oem device-info로 확인)
8.5.3.0

xiaomi 4 prime twrp 공식 롬 설치

  1. TWRP로 부팅 후 Wipe -> 스와이프해서 공장초기화
  2. 리커버리용 글로벌롬 다운로드 =>
    1. http://bigota.d.miui.com/V8.1.2.0.MBEMIDI/miui_HM4ProGlobal_V8.1.2.0.MBEMIDI_a8edfe4ee7_6.0.zip
  3. 위에서 다운받은 롬파일을 스마트폰으로 옮긴 후 Install 메뉴를 통해 설치
  4. 설치완료 후 Wipe Dalvik/Cahe 후 재부팅
  5. 리커버리 어쩌구에서 "Do not~" 으로 되어 있는 버튼 클릭 => TWRP 유지용입니다..

랩탑 비교

Asus amazon 갑자기 죽는 경우 많다고 함.
Gigabyte 급 발열
Msi 분해 불가
살 것이 없구나..

tfg 13 한성
clevo N130BU
schenker via 13?
Sager NP3130

firefox set pcmanfm as download file handler

파일 찾기 대화 상자 나올 때

firefox->환경설정->프로그램->zip-> pcmanfm-qt 설정

antergos conky

conky가 자주 죽음

phwmon.py

https://gitlab.com/o9000/phwmon

yaourt -S python2-psutil

llrtk love2d

newCanvas -> lg.line 보다 newScreenshot:setPixel 이 3배 빠름...
newCanvas -> lg.points가 lg.line 보다 2배 빠름. 하지만 setPixel보다 느림.
love.draw에서 lg.points로 그리면 canvas보다 1.6배 느림

모바일에서 해봐야 겠지만 일단 ss:setPixel이 윈?
ss:setPixel
640x400 0.028
640x200 0.025

love.image.newImageData 0.017

love.update dt -> 0.016~0.017 (60fps 일 경우 0.016666)

0.017을 써버리면 다음 dt가 0.0355 정도 들어옴...(급 fps 하락...)

하지만 love.timer.getFPS 찍어보면 60 유지. love.draw에서 640x400 setPixel 찍어도 될듯? -> 모바일에서도 될까? 집 랩탑에서도 될까? 참고로 love.update dt가 0.014~0.22 정도로 들어옴.

android // scrolllines // 3fps !

https://love2d.org/wiki/Optimising
https://love2d.org/forums/viewtopic.php?t=80759

1-index 문제!(+ 0,1, true, false 비교) 짜증 -> godot? haxe?

SbGrpChgMode_12C0_1221 ax ? cf = 0
SbGrpEffect_12C0 regisiter changed? -> no


  • function has more than 200 local variables!!!!

->use tables or global vars.

할 일
/ -> idiv
no hungarian
camelCase
global const class -> gconst.moon?

안드로이드에서 느린데 어쩐다...

장점: 프로토타이핑이 빠르다. IDE가 없어서 로딩이 가볍다.
단점: 슬슬 느린듯? C++코드를 변환할 때 고칠 것이 많다.(gdscript가 lua보다 느리다고 함!)

BrazMogu Games‏ @brazmogu

Quick #LOVE2D tip: always call SetDefaultFilter before you create/load any canvases or images. It really matters. #gamedev #protip

https://qubodup.itch.io/startgamedev

memory profiler 느린데?
https://github.com/Polynominal/Piefiller

crash reporter
https://love2d.org/forums/viewtopic.php?f=5&t=83881

https://love2d.org/wiki/love.graphics.getStats

gooi에는 listbox가 없어서 만들어야 하는데 귀찮네.

ShowSpinner나 SbPrintfGetNum16_48A2를 바꾸자
SelectPrvncNumFromMap userMenuSpy까지 함..

Clan선택하는 것도 만들자 SelectClanNum 같은 거...
 

  • bitOp:luajit에 내장되어 있음 

defold에서 사용하는 bitOp

http://bitop.luajit.org/index.html

  • https://github.com/flamendless/Slab

godot 2->3 migration guide

https://github.com/dploeger/godot-migrationnotes

* themes: replace fixed fonts with .ttf (looks great!)
* CanvasItem.set_hidden(true) -> hide()
* dictionary.parse_json() -> parse_json()
* ev.type == InputEvent.KEY -> ev is InputEventKey
* ev.scanCode -> ev.get_scancode_with_modifiers() (??)
* Image(...) -> Image.new() & create(...)
* Image.fill() -> Image.fill(Color(0,0,0,0))
* Image.put_pixel -> set_pixel
* lock & unlock for Image.get_pixel & set_pixel
* set_pos() & get_pos() -> position
* Label.set_pos -> set_begin (?)
* OS.get_frames_per_second -> Engine.
* string.basename() -> get_basename()
* string.extension() -> get_extension()

Redmi 4 prime mokee

20170919
Xposed 설치되어 있음
넷플릭스 설치 안됨

redmi 4 pro lineageos 14.1 설치

https://4pda.ru/forum/index.php?showtopic=794653&st=5580

20170828 + opengapps 20170825 arm64-7.1-pico

sd카드 뺀 상태로 설치...

twrp 다시 들어가기. 전원 끄기. 전원+Up+Dw 같이 누름.

https://forum.xda-developers.com/redmi-4-prime/development/markw-beta-lineageos-14-1-razziells-t3652543

¬Go to TWRP
¬Wipe and then Click on Advanced Wipe
¬Check the followings if you want a clean Installation:
[*]Davlik Cache,[*]Cache,[*]Data,[*]System
¬Go back and click on Install
¬Find the ROM in the destination you saved it and Install it
¬then Install the GAPPS which can be found here ARM64->7.1->pico(recommended)
¬Reboot and Proceed

netflix 안되네?
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
magisk 13.3 깔면 바로 netflix 나옴.

업데이트 -> twrp진입 -> system,cache,dalvik/art 지우기-> 0907 설치-> cache? 지우기 재부팅 -> 구글 플레이 날아감 -> twrp진입 -> opengapps 설치.. (데이터 남아 있는 듯?)
-> magisk 동작 안함->twrp로 14.0 설치-> universal fix동작 안함 지우고 twrp로 설치->구글 플레이에 인증된 기기로 보임->netflix안되나? 지우고 설치 하니 됨. gapp 재설치해서 그런 듯??
하지만 카뱅이 안됨... 모키?

xiaomi redmi 4 pro 홍미4 프라임 2017

xiaomi redmi 4 pro prime
unlock 2.2.406.5 -> binding time too short -> 1.1.1111.11231 WORKS!

https://forum.xda-developers.com/redmi-4-prime/development/rom-lineage-os-13-0-redmi-4-prime-pro-t3595553

이건 2017/4/1 이지만 더 이상 업데이트 없음... LOS14.1 개발중... 블루투스 연결이 갑자기 끊김. 설치할 때 뭔가 잘못했는지 모르겠으나 귀찮으니 Aokp 설치하여 사용


aokp_markw_mm_unofficial_2017-05-16_0524.zip - 안드로이드 보안 패치 2017/1/1 스피커로 음악 듣는 도중 재부팅.

http://m.cafe.naver.com/ArticleRead.nhn?clubid=27738104&articleid=160315&page=3&boardtype=L&menuid=335

https://forum.xda-developers.com/redmi-4-prime/how-to/guide-one-unlocking-bootloader-twrp-t3587493

https://forum.xda-developers.com/redmi-4-prime/how-to/rom-aokp-markw-lsdty-t3607683

twrp 네이버 까페
http://m.cafe.naver.com/ArticleRead.nhn?clubid=27738104&menuid=335&articleid=160315&query=twrp

Runthis.bat
Wipe: Dalvik / Art Cache; System; Data; Cache; (be careful, don't wipe internal storage!)

twrp 다시 들어가기. 전원 끄기. 전원+Up+Dw 같이 누름.

[ROM][7.1.2][MARKW] Ressurection Remix v5.8.3 6.28일자 테스트해보자

antergos skylake booting 2016

nouveau.modeset=0 i915.preliminary_hw_support=1
설치는 잘 넘어가서는 업데이트 하니 부팅이 검정 화면에서 멈춤..
커널 4.4.1-2-arch
Xorg 1.18.1-3
커널 nomodeset i915.modeset=0 하면 뜨지만 가속이 풀려서 느려짐

arch config openbox autostart 2016

# synclient
synclient PalmDetect=1

# compton
(sleep 1 && compton -b) &

# panel
(sleep 1s && tint2) &

# Set wallpaper
#(sleep 1s && feh --bg-scale /usr/share/wallpapers/winternight.jpeg) &
(sleep 1s && feh --bg-scale ~/Pictures/antergos-wallpaper.png) &

# Enable as required
#xbacklight -set 100 &
#/usr/bin/synclient TouchpadOff=1 &
#xxkb &
#setxkbmap us &

# Networking system tray applet
(sleep 3 && nm-applet) &

# Volume control
(sleep 3 && volumeicon) &

# Onscreen system stats
(sleep 2 && conky) &

# plank
(sleep 1 && plank) &

# bluman-applet
(sleep 1 && blueman-applet) &

# synapse
(sleep 1 && synapse) &

mint 17.3 2016

17.3 -> ~~(acpi pcc probe failed)~~
~~(17.2 -> Can not mount /dev/loop0 (/cdrom/casper/filesystems.squashfs)~~

Pen linux installer 대신 rufus 사용해서 설치.(Iso모드)

- love : ppa 추가 (0.10.0설치됨)
- zbs : ZeroBraneStudio*.sh 다운. 설치
-- user.cfg : local G = ...
styles = G.loadfile('cfg/tomorrow.lua')('Zenburn')
- git: tig
~~(- 입력기 : ibus -> ibus-setup)~~
- dasom 설치: https://wiki.archlinux.org/index.php/Internationalization/Korean_%28%ED%95%9C%EA%B5%AD%EC%96%B4%29
- palm rejection : 제어판->마우스->터치패드->타이핑...
-- 1.0.4 버전 사용하면 됨.
-- https://mintguide.org/tools/230-touchpad-indicator-in-linux-mint.html
- dpi : 제어판->모양->글꼴->자세히
https://www.sven.de/dpi/
- xorg.conf
http://community.linuxmint.com/tutorial/view/877
- capsLock as ctrl
제어판->키보드->키 배치->옵션->Caps Lock 동작
- pinta
- mcomix

문제점
~~(ubuntu 14.04 기반인데, intel hd 4400 driver가 미지원인듯. 720p 동영상도 끊기고 난리가 아님. 포기)~~

1-1. dri3 사용
Have you tried enabling the "tearfree" option in your /usr/share/X11/xorg.conf.d/20-intel.conf file?
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "AccelMethod" "sna"
Option "TearFree" "True"
EndSection

1-2. compiz hack
해결 3번까지 하면 됨.

http://www.howtoeverything.net/linux/issues/finally-no-more-tearing-anywhere-mate-desktop-and-compiz

1-3. configure desktop
http://community.linuxmint.com/tutorial/view/1395

1. pantheon ?
http://linuxg.net/how-to-install-elementary-icon-theme-3-2-on-ubuntu-14-04-linux-mint-17/

2. bluetooth thethering?
http://blog.sumostyle.net/2009/11/ubuntu-tethering-via-bluetooth-pan/
sudo dhclient bnep0







arch linux skylake 2016

* installer problem
** add boot option
i915.prelimiary_hw_support=1

If you've updated to grub2, edit /etc/default/grub


GRUB_CMDLINE_LINUX="i915.i915_enable_rc6=1" # for both recovery and normal mode GRUB_CMDLINE_LINUX_DEFAULT="i915.i915_enable_rc6=1" # for normal mode only
grub-mkconfig -o /boot/grub/grub.cfg

* kernel 4.4.1-2-arch

* libva

* /etc/X11/xorg.conf.d/



https://wiki.archlinux.org/index.php/VA-API

test --

GPUs are supported by the libva-intel-driver package together with the mesa



vlc에서 fullscreen 실패/

-> [VLC] select this video output: Video -> Output -> OpenGL GLX

gnome mplayer

-> preference->player->video output -> gl, gl2, x11



tlp ->
http://linrunner.de/en/tlp/docs/tlp-configuration.html#rdw
/etc/defatul/tlp POWER



archbang 2017

  1. install -> do it properly
  2. pacman -Syu
    1. -failed to update core
    2. -> uncheck /etc/pacman.d/mirrorlist Korean part
  3. broken fonts?
    1. -> how about using en_us instead of ko_kr in installation process?
    2. => ~~(install adobe-source-han-sans-kr-fonts)~~
  4. pacman -Syu
    1. - keyring not found
    2. https://wiki.archlinux.org/index.php/Pacman/Package_signing
  5. pacman query
    1. https://wiki.archlinux.org/index.php/Pacman
  6. mount smb
    1. www.linuxveda.com/2014/04/26/mount-samba-shares-spacefm/
    2. https://github.com/IgnorantGuru/spacefm/wiki/plugins
    3. mntools install
  7. vlc
  8. ~~(pantheon? 때려 침. 불안함.)
    1. https://wiki.archlinux.org/index.php/Pantheon)~~
  9. binutils, compiler
    1. pacman -S binutils (for strip)
    2. pacman -S base-devel
  10. yaourt
    1. https://archlinux.fr/yaourt-en
  11. dasom
    1. https://wiki.archlinux.org/index.php/Internationalization/Korean_%28%ED%95%9C%EA%B5%AD%EC%96%B4%29
    2. yaourt -S dasom-git dasom-gtk-git dasom-qt-git dasom-jeongeum-git
    3. pacman -S dconf-editor
    4. https://github.com/cogniti/aim/issues/17
  12. openbox 열심히.
    1. 멀티 모니터. lxrandr
    2. 설정 에디터 obmenu
  13. 키보드
    1. https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Swapping_Caps_Lock_with_Left_Control
    2. .xinitrc 에 setxkbmap -option caps:ctrl_modifier 추
  14. tear-free
    1. https://wiki.archlinux.org/index.php/GNOME#Tear-free_video_with_Intel_HD_Graphics
/etc/X11/xorg.conf.d/20-intel.conf
-
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "DRI" "3"
EndSection
~
works?
  1. pinta
  2. zbs
  3. gnome-keyring

ubuntu 15.10 2016

linux mint 17.3
archbang 여전히 intel driver 문제?

포기 후 정착


----
archlinux

Have you tried enabling the "tearfree" option in your /etc/X11/xorg.conf.d/20-intel.conf file?
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "AccelMethod" "sna"
Option "TearFree" "True"
EndSection
I had terrible tearing with my HD4600 before I created this config file...

ubuntu
/usr/share/X11/xorg.conf.d
https://wiki.ubuntu.com/X/Config

crunchbang

  • remap
setxkbmap -option caps:super
/home/username/.config/openbox/autostart


/home/username/.config/openbox/autostart
  • hangul
  • vlc
    • 한글 자막
    • ttf-nanum-coding 설치 후, 설정, CP949, 나눔 코딩 선택
  • ATI hdmi audio
  • 자막 싱크
    • apt-get install subtitleeditor
  • hdmi 스위치 통한 모니터 인식 불량
  • Go into the BIOS and enable all the C-States and/or try a newer kernel. If that is working and it hopefully uses less power, try playing with the legacy options for your projector. Otherwise take a look at manually editing the Xorg config file for your projector. I never had to do this, so I can't really help you. On my projector everything works ootb (currently typing this message from my J1800-D2H and using my 720p projector as monitor)
  • custom edid?
  • gigabyte?
    • 1. Connect the monitor by the VGA cable.
    • 2. Enter BIOS/UEFI (press ESC when the Gigabyte logo is visible)
    • 3. Go to Advanced, CSM Configuration
    • 4. Set Video to “Legacy first”. Attention: When set to “UEFI”, not visible. it require clear CMOS.
    • 5. Save and exit, turn off the PC.
    • 6. Connect the monitor by the DVI cable and turn on the PC.

arch acpi suspend lid close 2016

https://blog.omgmog.net/post/making-suspend-on-lid-close-work-with-arch-linux-on-the-hp-chromebook-11/
button/lid)
case "$3" in
close)
logger 'LID closed'
밑에 /usr/bin/systemctl suspend

systemctl restart acpid

samba smb.conf

[smb_share]
path = /mnt/sdb/share
public = yes
only guest = yes
writable = yes
printable = no
force user = XXXX

[ZZZZ]
comment = YYYY's stuff
path = /mnt/sdb
valid users = YYYY
public = no
writable = yes
printable = no
create mask = 0765
directory mask = 0755

https://wiki.archlinux.org/index.php/samba#smb.conf

ebook만들기



http://www.newocr.com/

firefox나 chrome에서 ocr copyfish

markdown editor 비교

  • texts
    • pandoc not enough 어쩌구...
  • haroopad
    • html export 시 짤림
  • sublime + markdown plugin
    • html export 시 짤림
  • texts에서 다른 이름으로 저장 하면 안짤리네...
  • haroopad에서 다른 이름으로 저장하면 여전히 짤림.
  • solved!
    • 문제는 내가 작성한 markdown이 github-flavored markdown이어서
    • node의 플러그인 markdown-to-html을 사용...
    • markdown이 생성했던 header와 </body></html>를 잘라 붙임
    • markdown이 생성했던대로 :copyright:, :feet:와 :exclamation:을 치환
      • 변환 후 효과 없음..
    • unicode emoji사용
      • :copyright:는 &#xa9;
      • :feet: &#x1f463;
      • :exclamation: &#x2757;
  • 문제점
    • iBooks - sigil이나 calibre 모두 epub으로 만들면 softwrap이 안먹은 상태 같다. 글꼴을 줄여도 안보이는 글자가 있음
    • calibre
      • device 를 ipad로 했더니 가로모드 형태로 뽑아 놓음
        • -> 출력 옵션에서 letter로.
        • 예쁘게 안 뽑힘. 글꼴이 구림
    • http://jbt.github.io/markdown-editor/
  • wkhtmltopdf
    • zoom을 주면 크기가 커진다. 글꼴을 이미지화 시킴!
    • "C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --zoom 3 --encoding utf-8 --run-script "setInterval(function(){if(document.readyState=='complete') window.status='done';},100)" --window-status done Hello.html hello.pdf
    • 워닝 방지용
  • markdown 수정
  • md to html
  • replace emoji
    • :copyright: &#xa9;
    • :feet: &#x1f463; ??
    • :exclamation: &#x2757;
  • html to pdf
    • mac safari
    • export as pdf

bash on windows

한글 세팅


* 딜레이 없이 빠르게 OS X에서 한글-영어 입력기 전환하기
* http://macnews.tistory.com/178
* 별도의 소프트웨어 설치없이 OS X 시스템 한영 전환을 Shift + Space 단축키로 변경하는 방법
* http://macnews.tistory.com/297
* OS X의 한자 변환 기능을 마스터(完璧征服)해봅시다!
* http://macnews.tistory.com/429

luacheck windows vs2013 설치

- luarocks 설치
- 홈페이지에서 win32 받음
- http://keplerproject.github.io/luarocks/releases/
- 관리자 명령 프롬프트 열고, install /noadmin /l
- luacheck 설치
- developer command prompt for vs2013 관리자로 열기
- luarocks install luacheck

mac app

  • alfred 2
  • caffeine
  • cooviewer
  • dropbox
  • evernote
  • filezilla
  • firefox
  • keepassx
  • mplayerx
  • skim
  • transmission
  • unrarx
  • virtualbox
  • vlc
  • sublime text
  • graphics converter (?)

git 팁 2017

- 로컬 작업 버리려면
- git reset --hard
- 풀(rebase)할 때 추가되지 않은 파일때문에 실패하면
- git clean -f 하고 다시 git pull --rebase
- 삭제된 리모트 브랜치가 너무 많아서 보기 싫으면
- git fetch -p
- 압축 머지
- http://stackoverflow.com/questions/6934752/combining-multiple-commits-before-pushing-in-git#6934882
- 로컬 브랜치 다 날리기
- git branch -D `git branch | grep -E 'jay.*'`

git hook

사용자 계정으로 실행 됨(즉 jjkim)
* post-update

#!/bin/bash
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
#set -x
#echo -e "User is $USER"
#echo -e "DC, $(whoami)"
#echo "$(whoami)" >> /tmp/git_hook.txt
#exit 1

unset GIT_DIR

exec ./hooks/build_lltk2.sh

exec git update-server-info

* build_lltk2.sh

#!/bin/bash
#set -x
echo 'a'
echo `pwd`
#cd /home/XXXX/git_repos/lua/ && git pull --force
cd /mnt/sdb/git_repos_for_release/lua/ && git pull --force
echo 'b'
cd myprojects/lltk2 && ./compile.sh
echo 'c'
zip -r -q ~/Dropbox/releases/lltk2.love *
echo 'd'
./clean.sh
echo 'e'

git push된 커밋 메시지 수정

If the commit you want to fix isn’t the most recent one:

1. git rebase --interactive $parent_of_flawed_commit
If you want to fix several flawed commits, pass the parent of the oldest one of them.

2. An editor will come up, with a list of all commits since the one you gave.

1. Change pick to reword (or on old versions of Git, to edit) in front of any commits you want to fix.
2. Once you save, Git will replay the listed commits.



3. For each commit you want to reword, Git will drop you back into your editor. For each commit you want to edit, Git drops you into the shell. If you’re in the shell:

1. Change the commit in any way you like.
2. git commit --amend
3. git rebase --continue



Most of this sequence will be explained to you by the output of the various commands as you go. It’s very easy, you don’t need to memorise it – just remember that git rebase --interactive lets you correct commits no matter how long ago they were.

conemu multiple startup


1. 바로가기 "C:\Program Files\ConEmu\ConEmu64.exe" /cmd @C:\Users\jjkim\Desktop\startup.txt
2. startup.txt

cmd /k RenameTab vg_lbd && set START_TYPE=etc&& "%ConEmuDrive%\Program Files (x86)\Git\bin\sh.exe" --login -i -new_console:C:"%ConEmuDrive%\Program Files (x86)\Git\etc\git.ico"
cmd /k RenameTab vg_lbd && set START_TYPE=lobbyd&& "%ConEmuDrive%\Program Files (x86)\Git\bin\sh.exe" --login -i -new_console:C:"%ConEmuDrive%\Program Files (x86)\Git\etc\git.ico"
cmd /k RenameTab vg_prz && set START_TYPE=prezd&& "%ConEmuDrive%\Program Files (x86)\Git\bin\sh.exe" --login -i -new_console:C:"%ConEmuDrive%\Program Files (x86)\Git\etc\git.ico"
cmd /k RenameTab bot && "%ConEmuDrive%\Program Files (x86)\Git\bin\sh.exe" --login -i -new_console:C:"%ConEmuDrive%\Program Files (x86)\Git\etc\git.ico"


1. .bashrc 끝 부분에


process_startup_arguments() {
local start=1
if [ $start ]; then
case "${START_TYPE}" in
etc)
cd /c/work/q3/vagrant/ㅃ
vagrant up
;;
lobbyd)
cd /c/work/q3/vagrant/node/
vagrant up
;;
prezd)
cd /c/work/q3/vagrant/node/
;;
*)
cd /c/work/q3/
esac
fi
}

process_startup_arguments;

classic game development technics

https://www.quora.com/How-did-game-developers-pack-entire-games-into-so-little-memory-twenty-five-years-ago

sfml 2017

  • macosx
    • Clang - 64-bit 버전 받음
    • http://www.sfml-dev.org/tutorials/2.4/start-osx.php
    • frameworks 와 templates 복사
    • xcode8의 경우 templates는 ~/Library/Developer/Xcode/Templates/Project\ Templates/
    • frameworks는 /Library/Frameworks/ 에 복사
    • extlibs/* 도 /Library/Frameworks에 복사
    • sfml 샘플프로젝트만듬
    • main.cpp 주석처리
    • 모든 소스(*.cpp, *.h) 복사
    • Project Settings->Build Settings->C++ Language Dialect에 C++14
    • Product->Scheme->Edit Scheme에서 Working Directory 적절히 설정
  • linux
    • geany
    • documents에 *.cpp만 추가
    • build -> set build commands-> build
    • g++ -Wall -o ../rogue *.cpp -std=c++1y -I../include -I../SFML/include -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio
    • execute
    • cd .. && ./rogue
  • 윈도
    • solution 열기
    • http://www.sfml-dev.org/tutorials/2.4/start-vc.php
    • sfml-2.4.1-windows-vc* 받기
    • 위의 설정에 따라 lib, include 설정
    • 위에서 openal32.dll sfml*.dll을 받아서 bin\밑에서 복사해옴
    • linux, mac과 윈도 실행 결과가 다름
    • 좌표가 문제가 아니라 타일이 다름...
안드로이드 빌드가 가능한가?
https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android

ios:
https://en.sfml-dev.org/forums/index.php?topic=21688.0

Procedural Content Generation for C++ Game Development

윈도우 컴파일(VS2015, x64) 안됨
sfml 2.4.1 x86 받음. sfml/include /lib 대체
컴파일은 되나 dll 에러
https://www.dll-files.com/msvcp120d.dll.html 32bit 크래시?

예제는 컴파일 됨. http://www.sfml-dev.org/tutorials/2.4/start-vc.php

LBT PAR500 NFC 연결

블루투스 연결설정이 안되어 있는 상태에서, LBT를 켜고(3번 파란불 깜빡이면) NFC태깅.
(X)거리가 멀어져서 연결이 끊겼을 경우에는 어떻게 할까? 또 껐다 켜고 NFC태깅할 것 같으면 그냥 블루투스 연결설정을 하는 것이 나을 텐데?
전원 온/오프 없이 NFC태깅만 하면 된다. (좋다!)
밥먹고 왔더니 또 안되네?

자전거 비교 2016-06-30

  • masi
    • 2016
    • vincere 티아그라 MSRP 103
    • gran corsa 105 MSRP 126
    • 크랭크: FSA 고사머 52/36
    • BB FSA BB86
    • FD 105 5800
    • RD 105 5800
    • 카세트 11-28 5800
    • 체인 KMC X-11
    • 변속기 105 5800
    • 브레이크레버 105 5800
    • 브레이크 암 텍트로 R340
    • 핸들바 리치 Road comp evo curve 31.8 alloy
    • 스템 리치 4-AXIS 84/6D 31.8
    • 안장 마지 SLS
    • 안장봉 리치 31.8
    • 휠셋 DT Swiss R460 23mm deep rims
    • 타이어 켄다 카운타치 25C
    • 인터널 케이블.
  • fuji
    • granfondo classico 1.3 105 카본 MSRP 175
    • 루베 1.3 105 MSRP 139 8.4Kg (52/36)
    • 크랭크 오발 컨셉 520 52/36
    • BB 오발 컨셉 BB86
    • FD 시마노 105
    • RD 시마노 105
    • 변속기 시마노 105
    • 카세트 시마노 105
    • 체인 KMC X-11
    • 브레이크 레버 시마노 105
    • 브레이크암 시마노 BR-561
    • 핸들바 오발 컨셉 310, 31.8
    • 스템 오발 컨셉 313, 31.8
    • 안장 오발 컨셉 R500
    • 안장봉 오발 컨셉 300, 27.2
    • 휠셋 오발 327 aero alloy clincher, 20/24h
    • 타이어 비토리아 자피로 프로 슬릭, 700x25
    • 인터널 케이블.
  • 자이언트 리볼트1
    • MSRP 150 Tiagra 48/34
    • TRP Spyre C Disc
    • 10.5kg (Msize)
  • 메리다 사이클로크로스 500
    • MSRP 140 105? 46/36
    • TRP Tektro Spyre Disk 160
    • 9.7kg

wireless keyboard comparison 2016

  • K400 13.5x2.4x35.4cm
    • 400g(전지포함)
  • K360 6.5x1.8x15.6 15.5x1.9x38cm
    • 512g
  • 스카이디지탈 X11 Cursor 12.7x2.0x26.2cm
    • 291g 46850원
  • 소니 PS3 CECH-ZKB1KR 12.0x2.5x29.0cm
    • 470g 44050
  • 모토롤라 89507N 14.6x2.7x29.8cm
    • 425g 85000
  • i-rocks IRK05BN 12.8x0.85x25.9cm
    • 260g 31660
  • 애플무선키보드 MC184KH
    • 320g 85000
  • otg ==> micro male : afemale
  • y ==> amale : afemale + micro female

W3 IGK-5100 2016

  • 장점
    • 키감이 좋음
  • 단점
    • 풀 사이즈 키보드(휴대 불가)
    • 맥에서 USB연결시 깨어나지 않음
    • ps2-> ps2/usb 컨버터 -> usb 로 연결하면 잘 깨어남.
  • 다나와 정보
    • 제조회사W3 (제조사 웹사이트 바로가기)등록년월2009년 07월접점 방식 펜타그래프 연결 방식 유선 인터페이스 USB+PS2젠더 기능키 단순 기타키보드 사이즈 일반 생활방수 인체공학 부가 기능KC 인증IGC-IGK-5100

cherry ml4100 2016

  • ~~ G84-4101PPAUS Dark grey 11" ultraslim PS/2 keyboard. US space reduced 83 position key layout without 'Windows keys'. Mechanical keyswitches with tampoprinted keycaps. ~~
  • ~~ G84-4100PRAUS Black 11" ultraslim PS/2 keyboard. US space reduced 83 position key layout without 'Windows keys'. Mechanical keyswitches with tampoprinted keycaps. ~~
  • G84-4100LCMUS-0 Light grey 11" ultraslim keyboard. Space reduced 86 position key layout. Includes USB and PS/2 connectors. Mechanical keyswitches with lasered keycaps.
  • G84-4100LCMUS-2 Black 11" ultraslim keyboard. Space reduced 86 position key layout. Includes USB and PS/2 connectors. Mechanical keyswitches with lasered keycaps.
  • G84-4100LCAUS-0 Light grey ultraslim keyboard. US Space reduced 83 position key layout. Includes PS/2 and USB connectors. Mechanical keyswitches with lasered keycaps.
  • ~~ G84-4100LPAUS-0 Light grey ultraslim PS/2 keyboard. US space reduced 83 position key layout. Mechanical keyswitches with lasered keycaps. ~~
  • G84-4100PTAUS 구매 완료 누크 otg잘됨 Black 11" USB-PS/2 combo interface, 83 key layout without 'Windows keys'. Mechanical keyswitches with tampoprinted keycaps.

3만5천원

문제점 caps lock을 윈도우(혹은 command)에 매핑해서 사용하는데, shift를 같이 누르면 동작하지 shift를 먹어버림.

GTune MAF35 응답하라 1992 (백축)

한성 키보드 불량
O(ㅐ) K(ㅏ) L(ㅣ) 등이 잘 안눌러짐

sony z3tc nougat rom

개념

http://subinkim.com/1512

부트로더 언락 상태 확인

https://talk.sonymobile.com/t5/Xperia-Z3/How-to-check-if-the-Sony-Xperia-Z3-is-locked-or-unlocked/td-p/913699

unlock code (IMEI: 35604706143723, 147284136D3BD631)
다운그레이드
http://m.cafe.naver.com/ArticleRead.nhn?clubid=18234948&articleid=452774&page=1&boardtype=L&menuid=390
flashtool-0.9.23
http://cafe.naver.com/x1smart/470152
dpinst 해결법: 호환성 설정

https://guidebelajar.blogspot.kr/2016/04/how-to-upgrade-or-flash-bootloop-sony-xperia-z3-tablet-compact.html


DRM백업&복구 관련 사용기
https://booleestreet.net/archives/8874


twrp 설치
http://howtorootmobile.com/guide-install-twrp-recovery-sony-xperia-z3/


윈도 10에서 드라이버 설치 없이(디버깅 허용, adb devices 테스트후 ) 바로 아래 fastboot flash

이거 안하고 네이버 것으로

http://cafe.naver.com/x1smart.cafe?iframe_url=/ArticleRead.nhn%3Fclubid=18234948%26articleid=504510%26page=1%26boardtype=L%26menuid=390#


Recovery
cmd를 키신다음 fastboot명령으로 플래싱 하시면 됩니다.
ex)
cd..
cd..
cd fastboot
fastboot flash boot boot.img
fastboot reboot
리커버리 진입방법은 소니로고에서 LED들어올때 볼륨키 상단 누르시면 됩니다.
Supersu
리커버리에서 플래싱 하시면 됩니다.
Xposed
xposed-v84-sdk23-arm를 리커버리에서 플래싱 하시면 됩니다.

giefroot 안됨?

http://m.cafe.naver.com/ArticleRead.nhn?clubid=18234948&articleid=464380&page=1&boardtype=L&menuid=390

- 대강 순서
- flashtool 설치
- LP롬 서리
- kingroot
- TabZ3C-lockeddualrecovery2.8.26-RELEASE.combined
- TA 백업
- supersu 로 교체(mrw어쩌구)

- aicp nougat 20170103 (X 전화, 블루투스 버그 있음 -> lineageOS사용)
- opengapps arm nougat 7.1 pico

sony z3tc custom rom install

재설치?

https://forum.xda-developers.com/z3-tablet-compact/orig-development/rom-android-7-1-nougat-aosp-sgp621-t3492530/page10

따라하면 SONY 로고에서 멈추고 디바이스 드라이버 설치 뒤 adb에서 잡힌다.

바로 adb sideload lineage*zip 시도 실패...

SONY로고에서 VOlUP 몇회 때리면 Twrp동작.

여기서 sideload 실패.

다시 MTP연결후 복사해서 twrp에서 설치? 실패

twrp 에서 sideload 메뉴 선택후 flashtool에 있는 adb로 sideload 시도-> scorpion windy라고 함...-.-;;;

FOTAKernel에 TWRP_multirom_scorpion_3.0.2.0_3.10_201611.img 시도...

sideload 계속 실패-> usb선을 허브가 아니라 본체에 꽂으니 잘 됨..-.-;;

<대강 요약>

위 링크 대로 초기화 TWRP windy로 설치하지 말것(?!)

https://forum.xda-developers.com/z3-tablet-compact/orig-development/rom-aicp-android-ice-cold-project-n7-1-t3505533

위 링크에서 TWRP_multirom_scorpion_3.0.2.0_3.10_201611 받아서 설치

https://forum.xda-developers.com/z3-tablet-compact/orig-development/rom-lineageos-beta-nmf26q-sgp611-sgp621-t3532370

위 대로 lineage-14.1-20170104-UNOFFICIAL-Lowtraxx-scorpion 설치

bluetooth와 전화 잘 동작하는 듯...

소니 로고에서 VOlUp 연타하면 twrp 로 잘 들어감..

aicp_scorpion_n-12.1-UNOFFICIAL-20170108 재시도? (AICP만...)

전화 안됨. AICP버그 인듯...

lineage설치 후 (재부팅 없이) opengapps 설치

* v2 설치했는데, 블루투스가 가끔 죽거나, 재부팅해서 다시 정식 롬으로 돌아감.

설치 방법?
https://forum.xda-developers.com/z3-tablet-compact/orig-development/rom-lineageos-beta-nmf26q-sgp611-sgp621-t3532370/page15

wifi 못잡는 현상

https://forum.xda-developers.com/z3-tablet-compact/orig-development/rom-lineageos-beta-nmf26q-sgp611-sgp621-t3532370/page30

설정 무선랜 고급 위치를 Korea -> US로 수정

phoenix framework 2016

docker run --rm -it -v /home/username/app:/app -p 4000:4000 josephyi/phoenixframework bash

0. D-Link 설정
Advanced->Port Forwarding->Virtual Server

home test(sqlite failed)
1. sqlite
cd ~/sdb/phoenix_test
sudo docker run -it --rm -v "$PWD":/code -w /phoenix -p 4000:4000 marcelocg/phoenix bash

mix archive.install https://github.com/phoenixframework/phoenix/releases/download/v1.0.1/phoenix_new-1.0.1.ez
apt-get update
apt-get upgrade
apt-get install gcc


cd /code
mix phoenix.new my_hello_world --database sqlite
mix ecto.create
mix phoenix.server

2. with postresql

// http://biohackers.net/wiki/PostgreSQL
// postgresql
apt-get install postgresql postgresql-client
// encoding
// https://www.turnkeylinux.org/blog/postgresql-latin1-utf8
sudo pg_dropcluster --stop 9.3 main
sudo pg_createcluster --start -e UTF-8 9.3 main
sudo service postgresql start
// password
sudo -u postgres psql
alter user postgres password 'postgres';

cd /code
mix phoenix.new my_hello_world
cd my_hello_world
mix ecto.create
mix phoenix.server


3. hello world( http://www.phoenixframework.org/docs/adding-pages )
3-1. web/router.ex
3-2. web/controller/*.ex
3-3. web/view/*.ex
3-4. web/templates/*/*.eex

windows 8 제품키 없이 설치

http://radiation.tistory.com/entry/Windows-8-Windows-81-%EC%A0%9C%ED%92%88-%ED%82%A4-%EC%97%86%EC%9D%B4-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0-eicfg-%EC%83%9D%EC%84%B1%ED%95%98%EA%B8%B0



이제 USB 혹은 iso 파일에 ei.cfg 파일을 생성시켜 주겠습니다.

출처: http://radiation.tistory.com/entry/Windows-8-Windows-81-제품-키-없이-설치하기-eicfg-생성하기 [Alpha Beta Gamma]
 USB로 이미지를 만들고 탐색기로 연다.

1) \sources\ 에 ei.cfg 파일을 만들어 주세요.

(쉬운 방법은 메모장을 열고 파일 이름을 ei.cfg 로 저장 해주시면 됩니다. 확장자가 .txt 로 끝나면 제대로 작동이 되지 않으므로 잘 확인해 줍니다.)

2) ei.cfg에는 다음과 같은 내용을 저장해 줍니다.

[EditionID]
Core / Professional / Enterprise / 공란 중 하나를 넣어주세요.
[Channel]
Retail / Volume 중 하나를 넣어주세요.
[VL]
0 / 1 중 하나를 적어주세요. (Retail은 0, Volume 은 1)

어떻게 해야 할지 잘 모르시겠으면

[EditionID]

[Channel]
Retail
[VL]
0

2018년 7월 25일 수요일

termux

Android terminal emulator and Linux environment app

 ~~(기본적으로 sdcard 접근 불가 0.34)~~

https://termux.com/storage.html

hdd benchmarks for mac

1. 회사 imac 2011

Jung-Jib-ui-iMac:archeadeSvr atalpo$ time mkfile 4g ~/Downloads/test

real 1m0.842s
user 0m0.803s
sys 0m13.744s

Jung-Jib-ui-iMac:archeadeSvr atalpo$ time cp -p ~/Downloads/test ~/Downloads/test.2

real 2m27.601s
user 0m0.006s
sys 0m3.011s

Jung-Jib-ui-iMac:archeadeSvr atalpo$ time rm ~/Downloads/test ~/Downloads/test.2

real 0m0.635s
user 0m0.000s
sys 0m0.112s

2. 집 맥미니 2009

Kims-Mac-mini:~ kimjung-jib$ time mkfile 4g ~/Downloads/test

real 1m8.600s
user 0m1.892s
sys 0m31.199s
Kims-Mac-mini:~ kimjung-jib$ time cp -p ~/Downloads/test ~/Downloads/test.2

real 2m31.973s
user 0m0.019s
sys 0m7.798s
Kims-Mac-mini:~ kimjung-jib$ time rm ~/Downloads/test ~/Downloads/test.2

real 0m0.435s
user 0m0.002s
sys 0m0.125s

3. 회사 맥미니 2012 ssd 256G ram 16G
$ time mkfile 4g ~/Downloads/test

real 0m15s
user 0m0.7s
sys 0m14s

subtitle conversion(smi, srt)

http://z980.blogspot.kr/2012/08/smi-srt-convert-on-ubuntu.html

1. libsubtitles-perl 설치
$ sudo apt-get install libsubtitles-perl

2. SMI to SRT
$ subs -c srt filename.smi -o filename.srt

3. SRT to SMI
$ subs -c smi filename.srt -o filename.smi

freebsd security update 2016

freebsd-update fetch
freebsd-update install

https://www.freebsd.org/doc/handbook/ports-using.html

virtualbox guest fullscreen
http://qiita.com/in_silico_/items/2ab6c37c14e777e6f48f

hyperV
https://wiki.freebsd.org/HyperV

restart network
# service netif restart

hyperV 문제점: 마우스가 계속 잡혀 있음. ctrl+alt+left 눌러야 나옴

freebsd 문제점: vscode 안됨.

toggle enable/disable touchpad script

http://askubuntu.com/questions/537002/how-to-quickly-enable-disable-touchpad-in-xubuntu-14-04-without-installing-other

#!/bin/bash

# toggle state of synaptics touchpad

tpid=`xinput list | grep ETPS | sed 's/.*id\=\([0-9]\+\).*/\1/g'`

declare -i status
status=`xinput list-props ${tpid} | grep Device\ Enabled | sed -e 's/.*\:[ \t]\+//g'`

if [ 0 -eq ${status} ] ; then
xinput enable ${tpid}
else
xinput disable ${tpid}
fi

gnome touchpad 탭-클릭 설정

gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true

https://unix.stackexchange.com/questions/266586/gdm-how-to-enable-touchpad-tap-to-click

manjaro 2017

깔끔하긴 한데.
불안정 한듯 (16.08 커널 4.4) 재부팅시 가끔 안됨. 대기 모드 안들어감
defold 에서 openssl 0.9.8설치해야 되는데 안 되는 듯.
(defold 어차피 느려서...)
ubuntu로 돌아감.
미러 선택 sudo pacman-mirrors -g
재부팅시 안되는 경우 있음
1701 에서 자꾸 로그아웃됨. (wayland 문제인가?) -> reinstall

bunsenlabs gram 15 linux 2016

분센랩 그램15
설치시 무선랜 iwlwifi 못찾음
유선랜 연결로 설치?
부팅 못함...
debian 8.6.0은 되네.

openbox antergos dpi

* DPI
* xrandr --dpi 118x118
* .config/openbox/autostart ?
* applet
* nm-applet
* blueman-applet
* fcitx
* volti
.Xresources
Xft.dpi: 118
• tint2
• tin2rc에서 panel size 각종 font 크기를 적당히 1.33 또는 1.5배 적용

http://icculus.org/pipermail/openbox/2016-February/009084.html

alpine linux 3.8.0


빠름

libc 때문인지 패키지가 적음(공식적으로 한글 입력 불가.)

nabi 설치
http://yhlee.tistory.com/690

asrock j1900 manjaro freeze 2017

만자로 사용중
~~(
만자로 리눅스: 부팅은 되나 kde에서 멈춤
우분투 16.04 : 부팅 불가

https://wiki.archlinux.org/index.php/intel_graphics
intel_idle.max_cstate=1 버그 수정 전까지 커널 파라미터에 추가해 볼 것!

https://askubuntu.com/questions/803640/system-freezes-completely-with-intel-bay-trail
)~~

lg u560g kernel config power cpu frequency

intel_pstate 버그인지 그냥 두면 800MHz 고정.
/etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT 에 intel_pstate=disable 추가
sudo grub-mkconfig -o /boot/grub/grub.cfg

godot engine summary 2016

* 노드(Node)
* 이름
* 속성들
* 매 프레임마다 콜백을 받을 수 있음
* 확장가능(extend)
* 다른 노드들에 붙여서 자식 노드가 될 수 있음
* 씬(Scene)
* 최상위 노드를 가짐
* 디스크에 저장/불러오기 가능
* 인스턴스화 될 수 있음
* 게임 실행 = 씬 실행
* 프로젝트에 여러개의 씬을 가질 수 있다.
* 스크립트
* 노드에 행위(Behavior) 부여
* 신호(signal) 연결
* Node.get_node(nodeName)
* Object.connect(...)
* get_node ( "Button" ) . connect ( "pressed" , self , "_on_button_pressed")
* 프로세싱
* set_process(true), _process(delta)
* 그룹화
* add_to_group("group1"),
* get_tree().call_group(0, "group1", "player_was_discovered")
* var guards = get_tree().get_nodes_in_group("guards")
* 알림(notifications)
* _notification(what)
* 덮어쓰기 가능한 함수들
* 부모 클래스 함수: .func1(...)
* 객체 생성
* var s = Sprite.new()
* s.queue_free()
* 씬 인스턴스화 하기
* var scene = load("res://myscene.scn")
* var scene = preload(...)
* GUI
* 애니메이션(Animation)
* 자원(Resource)
* 데이터 저장소
* 텍스처, 스크립트, 메시, 애니메이션, 샘플, 오디오스트림, 글꼴, 번역, 등등
* 씬, 이미지, 스크립트 파일
* 한 번만 로드됨(python import처럼).. (같은 자원은 공유됨)
* 노드와 자원은 자원을 다시 속성으로 가질 수 있다
* 외부 vs 내장
* 씬 로드하기
* var bullet = load("res://bullet.scn").instance()
* 파일 시스템
* res://
* user://
* 씬 트리
* 노드 활성화 -> 씬 트리에 들어감
* MainLoop
* 최 상위(root) viewport 가짐
* 그룹 정보 가짐
* 광역 상태 가짐(pause 등등)
* root viewport
* 받기 get_tree().get_root() 또는 get_node("/root")
* 이 최상위 뷰포트에 노드가 붙으면, 노드의 _enter_tree, _ready 콜백이 불림
* 싱글톤
* AutoLoad
* 씬또는 Node를 상속하는 스크립트 만 가능
* root viewport 밑에 붙음
* get_node("/root/playervariables")
* (예제) 씬 스위처
* 뷰 포트
* 용도
* 씬의 최상위 노드
* 자식 뷰 포트
* 렌더 타겟
* 입력 처리
* 오디오 리스너
* 카메라(뷰포트의 자식이어야 함)
* 확대/축소
* (3d의 경우) world 를 자식으로 가질 수 있음
* 캡쳐
* viewport.queue_screen_capture() 몇 프레임 뒤에... var capture = viewport.get_screen_capture()
* 해상도 처리
* 입력 이벤트(InputEvent)
* 파일시스템
* 폴더 추천
* (예제) 세이브 파일
* (예제) 세이브 파일 암호화
* 국제화
* 게임 일시 정지
* 일시 정지 예외 노드
* 백그라운드 로딩
* (예제)
* (예제) 리소스 비동기 로딩
* 캔버스 변환
* var screen_coord = get_viewport_transform () + ( get_global_transform () + local_pos )
* _draw(), _update()
* (예제) 호 그리기
* (예제) 셰이더
* 파티클 시스템
* 컷아웃 애니메이션
* 타일맵
* GUI
* 크기 & 앵커
* 테마
* 물리
* 동역학 캐릭터(kinetic character)
* 레이캐스팅
* 네트웍
* ssl, http
* 수학
* 벡터
* 행렬 & 변환
*

godot engine review 2017

폴더 관리
https://github.com/godotengine/godot/wiki/tutorial_vercontrol
high cpu
scene->project settings->application->target fps->60

* tilemap에 수동으로 타일깔기 어떻게?
* debug console 내용 복사?
* 윈도우에는 콘솔이 따로 뜨니까 복사하면 됨..
* 맥에서는 복사 안됨? 드래그+키보드로 선택은 가능한듯?
* lambda function이 있을까?
* 디버거에서 구조체 내용이 나왔으면
* find in files가 없다. (v.2.0alpha) 1.1에서는 있었는데
* vscode를 같이 띄워서 사용하자
* 맥에서 가끔 죽는다 (v.1.1)
* parse_json된 dictionary에서 erase, 등등이 안먹는 문제. 복사해서 써야 함. 왕짜증!
https://github.com/godotengine/godot/issues/2381

~~(http://fixnum.org 11.3일 빌드 테스트)~~

2.0 text resource 사용가능. (.tscn)
도큐먼트, 튜토리얼이 아직 거지 같다. 뭐 하나 찾아보려면 C++소스 까지 찾아가야 하는 경우가 많다. 다시 love로...
2.0.1에 문서가 보강 되었다니 다시 테스트

* editor에서 글꼴 크기 변경이 안됨 -> v2.1에서 된다고 함
* android live coding이 안됨 -> love2d에서는 됨
* z-order를 어떻게 설정 할까?
* livecoding 된다.(v2.1)

* non-retina에서 깨져 보일 때, https://github.com/godotengine/godot/issues/5688

2.1 tiled importer가 있는데, 압축된 포맷을 읽지 못함. 다시 love2d로.
튜토리얼
https://razvanc-r.gitlab.io/tutorials/#godot-roguelike?utm_medium=referral&utm_campaign=ZEEF&utm_source=https%3A%2F%2Fgodot-engine.zeef.com%2Fandre.antonio.schmitz
http://kidscancode.org/blog/2017/02/godot_101_01/

godot engine review 2018

pro
많은 GUI 부품들
멀티플랫폼

con
script 검색!!!. (전체 script검색이 귀찮음) vscode debug plugin이 업데이트 되면 좋을까?
분리.(include?기능 지원...)
문서화.
GUI에서 선택할 수 있는 옵션이 gdscript에서는 안되는 경우가 있다.
콘솔 출력이 일부만 나옴.

https://www.reddit.com/r/godot/comments/1vcnen/notes_on_undocumented_tidbits/

http://codetuto.com/tag/godot-engine/

https://godotengine.org/article/plugins

https://razvanc-r.gitlab.io/tag/godot/

https://twitter.com/codetuto/status/828536986080194560

https://fede0d.github.io/blog/2016/02/07/Godot-Extra-Tips-1.html

https://willnationsdev.wordpress.c2om/

arch manjaro skylake intel 아치 만자로 스카이레이크 인텔 antergos

https://wiki.archlinux.org/index.php/intel_graphics#Xorg_configuration

여기에 Option "TearFree" "true" 만 추가


아래 대로 하면 동영상 느려짐

https://wiki.archlinux.org/index.php/intel_graphics#Skylake_support

https://github.com/Antergos/web-greeter/issues/65

Option "DRI" "2" # DRI3 is now default
추가 하지 않으면, 전반적으로 느림. lightdm-webkit2-greeter에서 더 느낄 수 있음

cocos2d-x 3.15 glfw error manjaro 2017

gdm에서 wayland 로 설정

https://wiki.archlinux.org/index.php/GDM

echo $XDG_SESSION_TYPE -> wayland 로 나와야 함...

lineagos 14.1 mako nexus 4

https://wiki.lineageos.org/devices/mako/install
google/android-sdk 에 있는 adb, fastboot 사용
twrp 설치
lineageos설치, 재부팅 안하고 gapps 설치, su는 설치하지 않음
최초 실행시 부팅 오래걸리지만 참고 기다림.

그루 업그레이드

러기지 트러스

http://m.cafe.naver.com/minivelobike/863937

http://item.gmarket.co.kr/Item?goodscode=678132095&pos_shop_cd=SH&pos_class_cd=111111111&pos_class_kind=T&keyword_order=%c5%cf+%b7%af%b1%e2%c1%f6+%c6%ae%b7%af%bd%ba&keyword_seqno=12367491953&search_keyword=%c5%cf+%b7%af%b1%e2%c1%f6+%c6%ae%b7%af%bd%ba

손잡이

http://item.gmarket.co.kr/Item?goodscode=746777246&pos_shop_cd=SH&pos_class_cd=111111111&pos_class_kind=T&search_keyword=

이지휠?
http://item.gmarket.co.kr/Item?goodscode=341830266&pos_shop_cd=SH&pos_class_cd=111111111&pos_class_kind=T&keyword_order=%ba%ea%b7%d2%c5%e6+%c0%cc%c1%f6%c8%d9&keyword_seqno=12367469302&search_keyword=%ba%ea%b7%d2%c5%e6+%c0%cc%c1%f6%c8%d9

여행 가방?
http://item.gmarket.co.kr/Item?goodscode=669105956&pos_shop_cd=SH&pos_class_cd=111111111&pos_class_kind=T&search_keyword=

시마노 프로 콘도르 142mm 스텐레스?
http://item.gmarket.co.kr/Item?goodscode=826605024&pos_shop_cd=SH&pos_class_cd=111111111&pos_class_kind=T&keyword_order=%bd%c3%b8%b6%b3%eb+%c7%c1%b7%ce+%c4%dc%b5%b5%b8%a3&keyword_seqno=12368026925&search_keyword=%bd%c3%b8%b6%b3%eb+%c7%c1%b7%ce+%c4%dc%b5%b5%b8%a3


휠 교체.

베어링 608 688 688이 내경이 더작음. 인라인 바퀴는 보통 608베어링 들어감
크기 65mm 정도. 608베어링을 688크기에 맞추려면 스페이서 필요

608베어링->8(내경)-22(외경)-7(폭) 688베어링->8(내경)-16(외경)-5(폭)

죽전 벨로스테이션

오리바이크 인라인화


http://blog.naver.com/PostView.nhn?blogId=big_gj&logNo=140064954483&beginTime=0&jumpingVid=&from=search&redirect=Log&widgetTypeCall=true

http://blog.daum.net/_blog/BlogTypeView.do?blogid=0Ykyl&articleno=84

antergos setup 2018

* tzselect

https://askubuntu.com/questions/63681/how-can-i-make-xrandr-customization-permanent
# ln -sf /usr/share/zoneinfo/Zone/SubZone /etc/localtime

* disable internal monitor
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "LVDS1"
Option "ignore" "true"
EndSection

Section "Monitor"
Identifier "HDMI1"
Option "Primary" "true"
Option "PreferredMode" "1920x1080x60.0"
EndSection

* xrandr not working correctly before login
display-setup-script=/etc/lightdm/hdmi_only.sh

*hdmi_only.sh
#!/bin/sh
#xrandr --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output LVDS1
--off --output VIRTUAL1 --off --output DP1 --off --output VGA1 --off
xrandr --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUA
L1 --off --output DP1 --off --output VGA1 --off

* hangul
ibus ibus-hangul
지놈 -> 설정 -> 지역 & 언어 -> 한국어 (Hangul) 추가.. 한국어만 보이면 지웠다가 다시 찾아 추가
* profile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
# ibus-daemon &
export XMODIFIERS=@im=ibus
setxkbmap -option caps:super

mate : System >> Preferences >> Startup Applications
Click the button: Add
Name: IBus daemon
Command: /usr/bin/ibus-daemon -d

* clock font size
sudo vi /usr/share/lightdm-webkit/themes/antergos/css/style.css

 Clock Widget .time font-size

* lightdm-mini-greeter
/etc/lightdm/lightdm-mini-greeter.conf

Retina 맥북 4k

15 inch macbook pro retina / lg 32ud59 / displayport 4k@60hz 된다함.
맥북 썬더볼트2 - md 1.2

하지만 apple. 9to5mac 에 따르면 mid 2014 이후여야 한다고?

antergos 18.2 intel tearing

xf86-video-intel
no dri change

grub linux windows dual booting

https://wiki.archlinux.org/index.php/GRUB#Dual-booting

grub-mkconfig -o /boot/grub/grub.cfg

lg gram 15zd980-hx7bk i7-8550u

aorus 1070 gaming box
내부 끄고 외부만 사용시: 그래픽 15000
9681~10952 외부 FS
노트북 모니터 9222~9540

omen 엑셀러레이터
mbp 2016 15inch + 1080ti FS 16343 그래픽 22000
http://cafe.naver.com/inmacbook/1754811


14Z980-TA5IK i5-8250u 166만
Ideapad 720S-15IKB (Iron grey) 파트 번호: 81AC000LKR 130만 i5-7300hq

sony z3tc gapps


aicp_scorpion_o-13.1-UNOFFICIAL-20180221
TWRP_scorpion_3.1.1.3_3.4_201711
open_gapps-arm-8.1-nano-20171216-UNOFFICIAL

 ARM - 7.1 - Nano
8.0 nano for oreo aicp?

https://forum.xda-developers.com/android/general/unofficial-8-1-gapps-arm-t3720385


6. 엑스페리아를 Flashmode로 부팅
1) 전원 종료 및 10초 대기
2) PC에 케이블 연결, 엑스페리아는 연결하지 않음
3) 엑스페리아 볼륨 다운 버튼을 누른 상태로 케이블 연결
4) 플래쉬툴 화면에 "Device connected in flash mode"가 뜨면 정상적으로 접속된 것임
(최초 연결 시 윈도우에서 드라이버 설치 작업이 진행됨)
5) 플래쉬 모드로 연결된 상태에서 너무 오랫동안 7번 작업이 진행이 안되면 태블릿이 재부팅하게 되니 얼른 진행하자

연결시 장치관리자 노란색?
https://forum.xda-developers.com/z3-tablet-compact/general/root-flashing-construction-t3091763

https://cafe.naver.com/x1smart?iframe_url=/ArticleRead.nhn%3Fclubid=18234948%26menuid=389%26articleid=512788%26query=flashtool

twrp 설치 후

https://forum.xda-developers.com/z3-tablet-compact/orig-development/rom-aicp-android-ice-cold-project-o8-1-t3731197

sony z3tc twrp

https://forum.xda-developers.com/z3-tablet-compact/orig-development/rom-aicp-android-ice-cold-project-o8-1-t3731197
전원꼈다 켜면서 Vol Up + usb 선 연결

fastboot flash FOTAKernel twrp*.img
fastboot reboot

godot memory management

Lifetimes is not too complicated in GDScript, it just depends of the type:

Object Must be freed manually by calling free.
Reference: Freed automatically when the reference count reaches 0.
Node:
Inside the scene tree: Freed automatically by the parent. Optionally with queue_free.
Not inside the scene tree (very rarely the case...): Same as Object. Must be freed manually by calling free.

https://github.com/godotengine/godot/issues/8985

transmission setup

transmission-cli 설치
/var/lib/transmission/.config/transmission-daemon/settings.json
download-dir, incomplete-dir, incomplete-dir-enabled 수정
/mnt/sdb/tr 같은 곳 지정 (chown transmission:)
cronie 설치
sudo crontab
• * * * * * /mnt/sdb/after_download.sh

manjaro linux for j1900

antergos 18.4 에서 sound 불가능, flickering이 생겨서

다시 manjaro-architect-17.1.7-stable-x86_64 로 돌아옴.

자동 파티션 512M는 건드리지 말고 다음 파티션을 /로 마운트

바로 다음에 efi 고르게 됨.

burn manjaro linux image for j1900

usbwriter-1.3 구려. rufus 사용. bootable -> DD image

antergos lightdm baytrail blackscreen standby

https://bbs.archlinux.org/viewtopic.php?id=199200

모니터만 대기모드에 들어갔다가 돌아오면 X가 뜨지 않음...
myk1985 제안대로 해보자

linux noise after restart/reboot

미해결?

https://forums.linuxmint.com/viewtopic.php?t=252538

Edit #2
gksudo pluma /etc/rc.local

Code: Select all

echo 1 > /sys/module/snd_hda_intel/parameters/power_save
echo N > /sys/module/snd_hda_intel/parameters/power_save_controller

That's all, the ugly noise should be gone.

최신 arch 에서는 rc.local 대신 systemd를 쓰기 때문에.

https://notes.ponderworthy.com/rclocal-in-arch-linux-systemd

을 응용하여...

/etc/systemd/system/mute-speaker-on-reboot.service를 만든다.


[Unit]
Description=My Mute-sound Service

[Service]
TimeoutStartSec=0
ExecStop=echo 1 > /sys/module/snd_hda_intel/parameters/power_save
ExecStop=echo N > /sys/module/snd_hda_intel/parameters/power_save_controller

[Install]
WantedBy=multi-user.target

https://bbs.archlinux.org/viewtopic.php?id=103152

lg u560g

• 윈도10 ACPI/INT33A0 알 수 없는 장치
• intel smart connect technology
• 32G 캐시. 윈도10에서 지원안함. BIOS에서 iSCT끄기->알 수 없는 장치 사라짐
• latencyMon-> ndis.sys
• intel centrino wireless-N 2230 드라이버 설치해보기
• 원본 2015-04-30 15.18.0.1
• WiFI_Win10_64_19.70.0 -> 드라이버 버전 그대로인 듯.
• USB n100mini사용했으나 더 느림...

synergy1.8.8 wayland issue

gnome3.26? 안됨?(-xorg로 들어가면 됨)
cinnamon이나 xfce, plasma 다 됨.
pantheon 설치? 정상 동작안함 arch wiki도 업데이트 안 하는 듯

https://symless.zendesk.com/hc/en-us/articles/115004721927-Wayland-support-on-Linux

touchpad tap to click


for gnome: check this first
https://wiki.archlinux.org/index.php/Libinput

gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true




https://github.com/lxqt/lxqt/issues/92


$ xinput --list
$ xinput --list-props "SynPS/2 Synaptics TouchPad"

$ xinput --set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1

$ xinput set-cp 11 "libinput Tapping Enabled" 1


#script version

 !/bin/bash

# toggle state of synaptics touchpad

tpid=`xinput list | grep Touchpad | sed 's/.*id\=\([0-9]\+\).*/\1/g'`

declare -i status
status=`xinput list-props ${tpid} | grep Tapping\ Enabled\ \( | sed -e 's/.*\:[
\t]\+//g'`

if [ 0 -eq ${status} ] ; then
xinput set-prop ${tpid} "libinput Tapping Enabled" 1
else
xinput set-prop ${tpid} "libinput Tapping Enabled" 0
fi

manjaro console screen off

https://superuser.com/questions/152347/change-linux-console-screen-blanking-behavior#154388

/etc/default/grub
consoleblank=1 을 GRUB_CMDLINE_LINUX에 추가하고 update-grub, 재부팅

egpu omen review from dcinside

http://gall.dcinside.com/mgallery/board/view/?id=laptop&no=30393&page=1

오멘의 단점

존나 크다.

그리고 전원 차단 외에는 끌 방법이 없다.



개발한 사람이 뇌가 없는거 같다..

가끔 전원 차단안하고 출근하면 하루종일 켜두게 되는데.. 존나 빡친다..

그리고 존나 크다.. 사이즈는 일반적으로 니 머릿속에 상상되는 케이스의 절반인데,

바닥 크기는 비슷해서 그냥 저냥 PC 사이즈라고 보면 됨.



오멘의 장점

여러가지 eGPU 중 거의 유일무이하게 썬더볼트 하나만 꼽으면 끝인 모델이다.

외장 SSD, 파워 플레이 패드, 키보드, 모니터 등등등 모두 다 오멘에 연결되어 있어서

출근 할 때 썬더볼트 뽑고 가고 퇴근하면 썬더볼트 연결하면 끝이다. (물론 마우스 챙기는건 덤)

충전은 당연히 된다(60W인가)

antergos cnchi 설치 에러 18.4 -> 18.5 해결

manjaro j1900 설치하려다 실패(부팅 실패함)

usb uefi 로 해서 안된듯. 그냥 antergos로 설치.

* hdmi audio

.profile에 pacmd set-card-profile 0 output:hdmi-stereo

gnome - 추가 소프트웨어에서 bluetooth 선택하니 can't install necessary packages // 다음에는 기본 선택 상태로 진행

yoga book android hdmi issue

• hdmi 연결한 뒤 켜야 작동함
• 위 상태에서 절전모드 들어가면 hdmi 꺼짐
• 연결된다 하더라도 버벅임
• 잠시 놔두면 전원 꺼짐
• nougat 버그일까?(YB1-X90F_171013) marshmallow 다운그레이드 가야 하나?
• 레노보 포럼에서도 별 반응 없음 -> 버려짐? lenovo 똥?
• 리커버리 cache 초기화
• 개발자 모드 -> OEM 잠금 해제 켜기 / 전원끄기 / power + vol up
• 절전에서 hdmi 꺼짐 여전함
• 누가 버그인듯!
https://forum.xda-developers.com/yoga-book/help/nougat-update-sleep-issues-t3684643
• 하지만 마시멜로 YB1-X90F_170718 에서도 절전 꺼짐은 여전함. 리부팅은?

antergos install openbox

install base & reboot
install antergos-common-meta antergos-openbox-meta
copy /etc/skel/.config onto ~/.config

페블 pebble rebooting fix

4.2 펌웨어로 다운그레이드
https://plus.google.com/118414198271205407344/posts/Bvpz4xq3jSD

일련번호: Q353037Y00KW

잘 되는 화면
Analog Hodinky (+예보 -그럭저럭 안보임)
Digital Hodinky (+Analog Hodinky 키먹음, 예보, 그럭저럭 잘 보임)
Ruler Weather
r2d2 face ( +잘 보임 -health)
ROUNDY (+잘 보임 -예보)
* TECHRAD (+잘 보임)
Crystal Fit(+잘 보임 -흑백,-디지털)

Yawn(등록 필요...)
ModernNew by JoRy(+잘 보임, -유료)

최신(?) 시계화면 못씀
BN Digital
DIN Time
TimeStyle
SlideTime
Vinyl
LED Info
Graphite
AllView

retroarch permission

.config/retroarch/retroarch.cfg 에서 /usr로 시작하는 폴더에 퍼미션을 주던지 아니면, 적절한 폴더로 바꾼다.

samba 계정 추가

• 시스템 계정 추가
• useradd kidari
• 로그인 금지
• passwd -l kidari
• /etc/passwd sh을 nologin으로 교체
• 삼바비번추가
• smbpasswd -a kidari

kde plasma antergos 2018

antergos-kde-meta 5.x?

장: 글꼴이 예쁨. dpi 그럭저럭
단: 버그가 많은 듯? meta+p눌렀더니 패널이 날아감(어느 새 패치됨)

fcitx telegram 한글 2018

fcitx-qt4 추가 설치 기왕이면 fcitx-qt5도...
vscode에서 한글 입력 깨짐. ibus-hangul로 돌아감

lxde 단점 2018

meta + p
음량 아이콘
fan control applet
screen lock 단축키?
suspend
버려짐?

lxqt 2018

vcode 한글(ibus) 깨지는 듯 보임

wayland gnome dosbox crash

  • detect xorg or wayland?
    • echo $XDG_SESSION_TYPE
  • 패키지 상태
    • core/linux 4.17.3-1 (base) [설치함]
    • extra/wayland 1.15.0-1 [설치함]
    • extra/wayland-protocols 1.14-1 [설치함]
    • extra/xorg-server-xwayland 1.20.0-9 (xorg) [설치함]

use xorg instead of gnome wayland

budgie desktop cpu temperature indicator

ref: https://solus-project.com/forums/viewtopic.php?t=7758

aurman -S indicator-sysmonitor-budgie-git
budgie-panel --replace
panel > preferences > advanced
cpu: {cpu} mem: {mem} temp:{cputemp}

budgie desktop 2018

super + l 안 먹음?
절전후 복귀할 때 락 안걸림

yoga book firmware updates

최근 분위기에 휩쓸려 요가북(안드로이드)을 질러 버렸습니다.
가격에 비해 디자인이나 기능이 마음에 들었습니다. (어짜피 한달도 안가겠지만...)
받자마자 시스템업데이트를 하는데, 다운을 다 받고 나니 서명이 맞지 않아서 업데이트를 못한다고
합니다.무시하고 전원을 끈 후, 다시 다운받고 시도하니 업데이트 준비됐다고 OK를 누르랍니다. 이때부터
불안감이 몰려 왔습니다. 예상대로 업데이트도중 계속 실패가 뜨는 겁니다.
오기로 다운로드와 실패를 반복하며 대여섯번 시도하니 업데이트가 완료되긴 했는데,
그 다음부터는 더 이상 업데이트가 불가했습니다.

팁이나 강좌라고 하기에는 부족한데, 혹시라도 저와 같은 문제를 겪는 분들이
계실 것 같아 글로 남깁니다. 왜냐하면, 해당 문제에 대해 한글로 된 해결책을 못찾았고
외국 포럼에서도 구체적인 원인규명이나 해결책이 마땅히 없었기 때문입니다.
유일하게 찾은 것은 아래의 링크뿐입니다.
다운그레이드(플래싱)하여 시스템업데이트가 정상적으로 될 수 있도록 하는 방법입니다.
참고로, 계속 사용하시던 분들중엔 마쉬멜로우의 인터페이스가 더 좋아서 일부러 다운그레이드
하는 경우도 있다고 합니다.

https://forum.xda-developers.com/yoga-book/how-to/yoga-book-yb1-x90f-android-how-to-flash-t3709930/amp/

링크의 내용을 요약하자면,

1. 부트로더 언락
개발자메뉴에 가면 "OEM 잠금해제"를 ON으로 하여 부트로더 해제
잘 아시겠지만 개발자메뉴는 설정->태블릿정보-> 빌드번호 메뉴를 계속 터치하면 생성됩니다.

2. PC에 인텔드라이버다운로드 및 설치
3. PC에 인텔플래쉬툴 다운로드 및 설치
4. PC에 Yoga book YB1-X90F Stock Rom 다운로드 (2.xx기가, 다운로드 가속기 권장)
5. 인텔플래쉬툴 실행 및 요가북을 케이블로 PC에 연결
6. 요가북 전원OFF 후, 볼륨업+전원 부트로더진입 (안드로이드 누워있는 화면;)
7. PC의 인텔플래쉬툴 화면에 요가북 인식확인. 저의 경우 바로 인식되었는데, 혹시 인식이 안된다면.
2번의 드라이버를 다시 설치하셔야 합니다.
8. 요가북 인식됨을 확인후, 인텔플래쉬툴에서 4번의 롬을 열어서(Browse) 압축을 풉니다.(Unzip)
9. 압축해제가 완료되면 "Start to Flash"버튼이 활성화되고 버튼을 누르면 플래싱이 시작됩니다.
플래싱중 1~2번 물음이 나오는데 모두 YES 선택하시면 됩니다. (볼륨키와 전원키 이용)
10. 리부팅후 Halo 키보드가 비활성화 되는데, 활성화 하기 위해서는
a) 주소록을 열고 계정을 만들지 않은 채 "test"라는 새 연락처추가를 추가합니다.
b) 추가후 우측 상단의 돋보기(검색)버튼을 누른 후 검색창에
" ####6020#"이라고 입력하면 국가코드리스트가 뜹니다.
c) 여기서 좀 당황했는데, 저의 경우 2자리국가코드와 중국어가 떴습니다.
뽐뿌에서 지른 것이 캐나다 자판이어서 ca加拿大 를 선택했습니다.

11. 국가코드 선택이 끝나면 리부팅이 됩니다. 그후 키보드 사용이 가능하게 됩니다.
12. 링크의 내용에는 TouchPI 문제가 생기면 구글키보드를 선택하면 된다고 합니다만,
저의 경우 그런 문제는 없었습니다.
13. 이제 다운그레이드가 되었고 다시 업데이트를 시도하면 최신 업데이트가 가능해진다고 합니다.

여기까지가 다운그레이드를 통한 시스템업데이트 정상화 방법입니다. 검색을 좀 해보니
이렇게 해서 정상적으로 시스템업데이트가 된 외국분들이 다소 있는 것으로 보입니다.
저도 이후 몇개의 업데이트는 성공을 했으나, 다운그레이드 이전에 막혔던 업데이트에서
다시 동일한 증상을 보였습니다.

저와 같이 위의 방법으로 누가(7.0.1)까지 업데이트가 안되신다면,
안타깝게도 돈이 좀 들지만 아래의 방법이 있습니다.

시작하기에 앞서, 위의 xda 필자와 마찬가지로 죄송합니다만, 벽돌이 되도 책임은 못집니다.
저는 아래의 방법으로 중간의 여러 업데이트 과정없이 바로 누가(7.0.1)로 업데이트가
되었습니다.
(사실, 벽돌이 되더라도 부트로더 진입[볼륨업+전원] 후, 위의 4번에서 다운받으신 롬으로
플래싱하면 원상복구됩니다.당황하지 마시고 순서대로 정확하게 하면 잘못될 일은 없습니다.)

그리고, 다운그레이드를 하신 분들은 반드시 위의 a)~c) 절차를 통해 국가코드를
설정해야 합니다. 저의 경우, 급한 마음에 플래싱후 바로 업데이트를 했더니
국가코드 오류로 업데이트가 중단되고 처음(다운그레이드)부터 다시 해야 했었습니다.

아래의 과정은 커펌작업을 해보신 분들은 잘 아시는 리커버리모드를 이용한 업데이트입니다.

1.https://easy-firmware.com 에 가입하고 15불 지불한 후, 검색창에 YB1-X90F 를
입력하면 펌웨어와 업데이트파일들이 시간대별로 나옵니다.
YB1-X90F_USR_S110086_1710170829_WW08_EP_ROW_otafull.zip 를 다운로드합니다.(누가임, 마시멜로는 아래 1707180010_WW06)
2.1기가이므로 다운로드가속기 사용을 권장합니다.
* 저는 easy firmware 와 아무런 관련이 없습니다. 외국애들이 많이 이용하길래
그냥 15불 버리는 셈치고 가입했습니다. -.-;

2. 해당 파일을 마이크로SD카드에 복사한 후, 요가북의 메모리슬롯에 넣습니다.
3. 개발자메뉴에서 OEM 잠금해제를 ON합니다. (필요없을지도 모르나, 혹시나 해서)
4. 요가북 전원을 끈 후, 부트로더로 진입 (볼륨업+전원)
5. 부트로더 화면이 뜨면 볼륨키를 이용하여 리커버리모드 선택 후 전원키로 실행.
6. 리부팅후 리커버리모드 진입. 리커버리의 모든 메뉴도 볼륨키와 전원키로 이동 및 실행가능 합니다.
7. 메뉴중 Apply update from SD card 를 선택. 마이크로SD 카드에 넣은 업데이트파일 선택 및 실행 후 YES 선택.
8. 리부팅후 중국어로된 업데이트 화면이 나오고 몇차례 리부팅 후 업데이트가 끝납니다. (시간이 좀 걸립니다.)
업데이트는 완료되었지만, 다시한번 리붓(Reboot)이 아닌 종료(POWER OFF)후 재시작을 권장합니다.

여기까지 유료로 누가까지 한번에 가는 방법이었습니다.
현재로선 최신이기 때문에 이후 시스템업데이트가 잘 되는지는 아직 확인을 못했습니다.
나중에라도 확인 해보고 문제가 있으면 추가하겠습니다.
끝으로 죄송합니다만, 언급된 업데이트파일을 제공해 드리는 것은 곤란합니다.

도움되시길 바랍니다. 읽어주셔서 감사합니다.


https://www.clien.net/service/board/lecture/11881178

펌웨어 모음

YB1-X90F_USR_S010022_1707180010_WW06_EP_ROW-flashfiles_SVC.zip

이게 마시멜로 마지막일까?

https://easy-firmware.com/home/browse/category/id/19520/

어메이즈핏 빕 한글화 정리 amazfit bip korean

https://m.cafe.naver.com/ArticleRead.nhn?clubid=27738104&articleid=229563&page=1&boardtype=L&menuid=434

amaztools로 커스텀 펌웨어 올리면 터치가 이상해짐. 한글화만 하고 쓰는게 나을 듯...

https://m.cafe.naver.com/ArticleRead.nhn?clubid=27738104&articleid=246041&page=1&boardtype=L&menuid=434

글로벌판 사서 폰트 올리면 펌업해도 알림은 잘 들어온다?
수신자 번호가 안나올때가 있다?
MMS 알림이 안뜬다?

Mi fit 3.3.0 깔기. Gadgetbridge로 Fw res ft 설치 mi fit 업그레이드? 글로벌은 ft만?

https://m.cafe.naver.com/ArticleRead.nhn?clubid=27738104&articleid=260754&page=1&boardtype=L&menuid=434

최신 글꼴?

kivent 2016

kivy based game engine
kivy와 동일한 GUI(.kv)사용.
직관적이지 않음

kivy 2016

love2d thread vs coroutine

  • thread -> 성능은 좋으나. thread로 passing할 수 있는 것은 Variant 뿐이다. 다른 thread에서는 제한된 클래스만 사용가능하다. (graphics불가.) system thread의 래핑임.
  • coroutine -> channel 이 아니라 yield, 성능이 아니라 로직을 간단하게 하기 위함.