'잡동사니'에 해당되는 글 13451건

  1. 2023.05.09 rust in windows
  2. 2023.05.08 출근
  3. 2023.05.08 블로그 방문자 수 2
  4. 2023.05.08 golang echo directory listing
  5. 2023.05.07 휴가 10일차 2
  6. 2023.05.06 휴가 9일차
  7. 2023.05.05 휴가 8일차
  8. 2023.05.04 휴가 7일차
  9. 2023.05.03 휴가 6일차
  10. 2023.05.02 휴가 5일차
Programming/rust2023. 5. 9. 13:04

테터링 걸어서 하려니 1번 선택하니 데이터 용량의 압박으로  3번 으로 진행

 

 

 

다운로드 크기 1.37GB...?!

 

3번으로 하면 아래와 같은 메시지가 나오면서 진행된다.

 

다운로드 용량은 좀 줄어, 그나마 테터링으로 비빌용량(100MB)이 나온다.


Rust Visual C++ prerequisites

Rust requires a linker and Windows API libraries but they don't seem to be
available.

These components can be acquired through a Visual Studio installer.

1) Quick install via the Visual Studio Community installer
   (free for individuals, academic uses, and open source).

2) Manually install the prerequisites
   (for enterprise and advanced users).

3) Don't install the prerequisites
   (if you're targeting the GNU ABI).

>3


Welcome to Rust!

This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.

Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:

  C:\Users\free\.rustup

This can be modified with the RUSTUP_HOME environment variable.

The Cargo home directory is located at:

  C:\Users\free\.cargo

This can be modified with the CARGO_HOME environment variable.

The cargo, rustc, rustup and other commands will be added to
Cargo's bin directory, located at:

  C:\Users\free\.cargo\bin

This path will then be added to your PATH environment variable by
modifying the HKEY_CURRENT_USER/Environment/PATH registry key.

You can uninstall at any time with rustup self uninstall and
these changes will be reverted.

Current installation options:


   default host triple: x86_64-pc-windows-msvc
     default toolchain: stable (default)
               profile: default
  modify PATH variable: yes

1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>1

info: profile set to 'default'
info: default host triple is x86_64-pc-windows-msvc
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2023-04-20, rust version 1.69.0 (84c898d65 2023-04-16)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 13.4 MiB /  13.4 MiB (100 %)   9.9 MiB/s in  1s ETA:  0s
info: downloading component 'rust-std'
 25.1 MiB /  25.1 MiB (100 %)   8.7 MiB/s in  2s ETA:  0s
info: downloading component 'rustc'
 58.9 MiB /  58.9 MiB (100 %)   9.4 MiB/s in  6s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
  4.1 MiB /   4.1 MiB (100 %)   3.4 MiB/s in  1s ETA:  0s
info: installing component 'clippy'
info: installing component 'rust-docs'
 13.4 MiB /  13.4 MiB (100 %)   1.3 MiB/s in 20s ETA:  0s
info: installing component 'rust-std'
 25.1 MiB /  25.1 MiB (100 %)   4.0 MiB/s in  6s ETA:  0s
info: installing component 'rustc'
 58.9 MiB /  58.9 MiB (100 %)   4.5 MiB/s in 13s ETA:  0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-pc-windows-msvc'

  stable-x86_64-pc-windows-msvc installed - rustc 1.69.0 (84c898d65 2023-04-16)


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload its PATH environment variable to include
Cargo's bin directory (%USERPROFILE%\.cargo\bin).

Press the Enter key to continue.

 

근데.. 어떻게 실행하지 -ㅁ-?

 

+

하라는대로 환경변수에 아래꺼를 추가해주고 리부팅 하면 끝

%USERPROFILE%\.cargo\bin

 

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

rust if문  (0) 2023.05.11
rust rustup doc  (0) 2023.05.10
rust cargo new를 통한 프로젝트 생성  (0) 2023.05.09
rust 와 main.rs  (0) 2023.05.09
rust 문서 다운로드하기(cargo)  (0) 2023.05.09
Posted by 구차니

으으으 일 정리한다고 정신없지만

정작 진행된게 없는 느낌은 무엇?

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

먼가 갑자기 한가해진 느낌?  (2) 2023.05.23
사설? 다른 길은 안 보이는 ‘코딩 권하는 사회’ 괜찮나?  (0) 2023.05.22
우어어 힘들어  (0) 2023.04.25
일이 꼬이려나..  (0) 2023.04.24
피곤2  (0) 2023.04.23
Posted by 구차니

345, 456은 못 참지 ㅋㅋ

그나저나 누적도 444, 660 이라니 ㅋㅋㅋ

 

 

'개소리 왈왈 > 블로그' 카테고리의 다른 글

티스토리 절찬리에 폭주중 feat 상단광고  (0) 2023.06.05
도메인 결제  (0) 2023.06.02
티스토리 로고변경  (4) 2023.03.29
이글루스 서비스 종료 공지  (2) 2023.03.14
해피빈 기부  (0) 2023.02.17
Posted by 구차니
Programming/golang2023. 5. 8. 10:30

e.Static은 아래와 같이 접근 경로, 디렉토리(상대경로)로 설정되며

index.html은 연결되어도 디렉토리에 대해서 리스팅을 해주지 않는데

e := echo.New()
e.Static("/static", "assets")

 

e.Use에 middleware를 사용하고 Browse:true를 넣어주면

apache에서 처럼 index.html이 없는 디렉토리에서 목록을 리스팅해준다.

Root 는 static과 같이 입력하면 실행으로 부터 상대경로로, /static과 같이 입력하면 절대경로로 작동한다.

 

e := echo.New()
e.Use(middleware.StaticWithConfig(middleware.StaticConfig{
  Root:   "static",
  Browse: true,
}))

[링크 : https://stackoverflow.com/questions/45558773/serving-files-with-echo]

[링크 : https://echo.labstack.com/middleware/static/]

 

테스트 디렉토리에 아래와 같이 파일을 생성하고

# cd test
# ls -al
total 32
drwxr-xr-x    2 root     root         16384 May  8 10:52 .
drwxr-xr-x    6 root     root         16384 May  8 10:52 ..
-rwxr-xr-x    1 root     root             0 May  8 10:52 1.log
-rwxr-xr-x    1 root     root             0 May  8 10:52 2.log

 

localhost/test 로 접속하면 이쁘진 않은데 아래와 같이 목록이 출력된다.

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

golang mutex (sync)  (0) 2023.05.16
go 포맷터  (0) 2023.05.11
golang websocket binary  (0) 2023.03.28
golang 크로스 컴파일 GOARM GOARCH  (0) 2023.02.03
golang map 에 데이터 추가하기  (0) 2023.01.13
Posted by 구차니

드디어 휴가 끝!

으아아 출근하기 싫은거 보니 난 정상 맞는 듯

 

오늘은 처갓댁 가족들과 식사

화기애매~한 분위기로 끝나고

그렇게 벼뤄오던 내 방 정리를 어느정도 끝!

물론 대부분은(!) 악덕의 상자에 넣어 버리고 끝내버렸지만 ㅋ

 

건프라 하나 조립하려다가

최소 30분에서 1시간은 그걸 해야 할텐데

그러면 게임 + 개 산책 이런게 무리일듯 하여

과감하게 다음기회로 패스~

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

앵무새와 cites  (0) 2023.05.15
낮잠 기절  (0) 2023.05.13
휴가 9일차  (0) 2023.05.06
휴가 8일차  (0) 2023.05.05
휴가 7일차  (0) 2023.05.04
Posted by 구차니

8일차 일정 끝!

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

낮잠 기절  (0) 2023.05.13
휴가 10일차  (2) 2023.05.07
휴가 8일차  (0) 2023.05.05
휴가 7일차  (0) 2023.05.04
휴가 6일차  (0) 2023.05.03
Posted by 구차니

어린이날 기념(?) 아내친구가 밥 쏘고

이마트 가서 애들 선물사주고 옴

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

휴가 10일차  (2) 2023.05.07
휴가 9일차  (0) 2023.05.06
휴가 7일차  (0) 2023.05.04
휴가 6일차  (0) 2023.05.03
휴가 5일차  (0) 2023.05.02
Posted by 구차니

애들 치과(예정이 없던)

유통기한 임박 음식들 처리

못켜보고 있던 줍줍 컴 확인

프라모델 하려고 살까하다가 잠시 보류

 

내방 정리는 언제 하나 ㅋㅋ

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

휴가 9일차  (0) 2023.05.06
휴가 8일차  (0) 2023.05.05
휴가 6일차  (0) 2023.05.03
휴가 5일차  (0) 2023.05.02
휴가 4일차  (0) 2023.05.01
Posted by 구차니

빔 프로젝터, 먁북에어 판매 성공

옷 1차로 버리기 성공

청소 대충 성공

 

으아아 정신없어

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

휴가 8일차  (0) 2023.05.05
휴가 7일차  (0) 2023.05.04
휴가 5일차  (0) 2023.05.02
휴가 4일차  (0) 2023.05.01
휴가 3일차  (0) 2023.04.30
Posted by 구차니

머가 이리 바뻐 ㅠㅠ

 

팔려고 내놓은 맥북에어는 안팔리고

빔 프로젝터가 먼저 입질이 오는 이 슬픈 상황 ㅠㅠ

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

휴가 7일차  (0) 2023.05.04
휴가 6일차  (0) 2023.05.03
휴가 4일차  (0) 2023.05.01
휴가 3일차  (0) 2023.04.30
휴가 2일차  (0) 2023.04.29
Posted by 구차니