'Programming'에 해당되는 글 1785건

  1. 2022.07.14 node.js 웹소켓 채팅 서버 예제
  2. 2022.07.07 kore - c restful api server 1
  3. 2022.07.04 grid와 flex
  4. 2022.05.19 ubuntu 18.04 / nodej.s 18.x 실패
  5. 2022.05.12 android hdmi rotate 4
  6. 2022.04.27 window USB VID,PID enumeration
  7. 2022.04.27 c# postgresql 패키지
  8. 2022.04.27 vulkan on macos
  9. 2022.04.27 vulkan tutorial
  10. 2022.04.18 go run ./ 2
Programming/node.js2022. 7. 14. 19:44

node.js 의 ws 패키지를 이용하여 웹소켓 채팅 서버를 만드는 예제

웹소켓 전체 목록을 통해 접속시 메시지를 보내는게 유용함.

 

[링크 : https://hudi.blog/websocket-with-nodejs/]

'Programming > node.js' 카테고리의 다른 글

node excel export  (0) 2024.07.18
web qr decoder  (0) 2024.04.04
ubuntu 18.04 / nodej.s 18.x 실패  (0) 2022.05.19
웹소켓  (0) 2022.03.25
broadway / jsmpeg  (0) 2020.09.16
Posted by 구차니
Programming/C Win32 MFC2022. 7. 7. 19:08

c언어로 작성된 REST API

당연하지만(?) openSSL을 요구한다.

 

[링크 : https://choiseokwon.tistory.com/310]

[링크 : https://docs.kore.io/4.0.0/]

'Programming > C Win32 MFC' 카테고리의 다른 글

c에서 cpp 함수 불러오기  (0) 2023.01.04
MSB / LSB 변환  (0) 2022.08.29
fopen exclusivly  (0) 2021.07.09
vs2019 sdi , mdi 프로젝트 생성하기  (0) 2021.07.08
vkey win32 / linux  (0) 2021.04.30
Posted by 구차니
Programming/web 관련2022. 7. 4. 18:06

웹 2년 넘게 안했더니

또 어떤 놈(?)들이 사악한걸 만들어 놨네

 

[링크 : https://studiomeal.com/archives/197]

[링크 : https://studiomeal.com/archives/533]

 

+

2022.08.08

display: flex; 로 설정하고

flex-direction: row;

flex-direction: column;

으로 쌓일 방향을 지정가능하다.

[링크 : https://heropy.blog/2018/11/24/css-flexible-box/]

'Programming > web 관련' 카테고리의 다른 글

JWT 로그인 예제  (0) 2022.08.24
quirks mode  (0) 2022.08.08
web gl on chrome  (0) 2021.12.14
markdown 문법 - 체크박스  (0) 2020.10.15
크롬 확장도구 - json viewer  (0) 2019.08.07
Posted by 구차니
Programming/node.js2022. 5. 19. 21:06

glic  버전 문제로 설치 불가.

17.x를 써야지 머..

 

$ node
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)

$ ls -al /lib/x86_64-linux-gnu/libc.so.6
lrwxrwxrwx 1 root root 12  1월 24 21:53 /lib/x86_64-linux-gnu/libc.so.6 -> libc-2.27.so

'Programming > node.js' 카테고리의 다른 글

web qr decoder  (0) 2024.04.04
node.js 웹소켓 채팅 서버 예제  (0) 2022.07.14
웹소켓  (0) 2022.03.25
broadway / jsmpeg  (0) 2020.09.16
node.js array.sort() 주의사항  (0) 2020.02.01
Posted by 구차니
Programming/android2022. 5. 12. 08:18

핸드폰을 HDMI로 연결해서 쓰다보니 세로 모드에서 HDMI 미러링시

작게 나오는게 그게 아쉬워서, 세로 모드를 화면 돌린채로 가득 채울수 없나 찾아보는 중.

 

the HDMI output can be rotated, after unlocking the rotation lock:

adb shell root
adb shell remount
adb shell setprop persist.demo.hdmirotation portrait
adb shell setprop persist.demo.hdmirotationlock false
adb shell setprop persist.demo.singledisplay true
adb reboot
one can then set the wm's display geometry:

adb shell wm size 1080x1920
adb shell wm size 1920x1920
or switch the user_rotation:

settings put system user_rotation 1
settings put system user_rotation 3
the NXP community seems to be the source.

[링크 : https://stackoverflow.com/questions/54468895]

[링크 : https://m.clien.net/service/board/cm_andro/11264652]

 

Posted by 구차니
Programming/c# & winform2022. 4. 27. 17:00

'Programming > c# & winform' 카테고리의 다른 글

c# postgresql 패키지  (0) 2022.04.27
winform udp 소켓 여러개  (0) 2021.10.26
c# thread  (0) 2021.10.20
Dispatcher / Control BeginInvoke()  (0) 2021.10.20
this.BeginInvoke()가 느려!  (0) 2021.10.20
Posted by 구차니
Programming/c# & winform2022. 4. 27. 15:52

azure 예제에서도 나올정도면 가장 믿을만 하려나?

[링크 : https://www.nuget.org/packages/Npgsql/]

 

[링크 : http://www.gisdeveloper.co.kr/?p=5963]

[링크 : https://dodo1054.tistory.com/22]

[링크 : https://docs.microsoft.com/ko-kr/azure/postgresql/connect-csharp]

'Programming > c# & winform' 카테고리의 다른 글

window USB VID,PID enumeration  (0) 2022.04.27
winform udp 소켓 여러개  (0) 2021.10.26
c# thread  (0) 2021.10.20
Dispatcher / Control BeginInvoke()  (0) 2021.10.20
this.BeginInvoke()가 느려!  (0) 2021.10.20
Posted by 구차니
Programming/vulkan2022. 4. 27. 15:16

macos 10.14+ 이후 버전에서 사용가능 (Metal 지원해야 함)

맥은 so 대신 dylib 이라는 확장자를 쓰나보네?

 

[링크 : https://aslike.tistory.com/26]

[링크 : https://aslike.tistory.com/27?category=771054]

[링크 : https://aslike.tistory.com/28?category=771054]

 

+

[링크 : https://vulkan.lunarg.com/sdk/home]

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

vulkan tutorial  (0) 2022.04.27
vulkan 문서  (0) 2020.04.06
nvidia vulkan graphics api  (0) 2016.02.17
Posted by 구차니
Programming/vulkan2022. 4. 27. 14:55

 

[링크 : https://github.com/KhronosGroup/Vulkan-Samples]

 

[링크 : https://github.com/SaschaWillems/Vulkan]

[링크 : https://www.saschawillems.de/creations/vulkan-examples/]

 

[링크 : https://vulkan-tutorial.com/Introduction]

 

아 슬프네.. 맥북에어가 3세대로 된녀석이 있으니 가능하려나?

There is no driver to install. Intel graphics only supports Vulkan on Ivybridge and newer chips. Sandybridge is too old.

[링크 : https://askubuntu.com/questions/1096986/how-to-install-vulcan-for-intel-graphics-card]

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

vulkan on macos  (0) 2022.04.27
vulkan 문서  (0) 2020.04.06
nvidia vulkan graphics api  (0) 2016.02.17
Posted by 구차니
Programming/golang2022. 4. 18. 19:15

 

$ cat hello.go 
package main

import "fmt"

func main() {
fmt.Println("Hello world")
hello()
}

$ cat func.go 
package main

import "fmt"

func hello() {
fmt.Println("Hello world 2")
}

$ go run .
go: go.mod file not found in current directory or any parent directory; see 'go help modules'

$ go mod init
go: creating new go.mod: module go2
go: to add module requirements and sums:
go mod tidy

$ go run .
Hello world
Hello world 2

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

golang unused import  (0) 2022.07.20
golang websocket package  (0) 2022.07.15
golang module  (0) 2022.04.13
golang 구조체  (0) 2022.04.11
golang defer와 if  (0) 2022.04.11
Posted by 구차니