본문 바로가기

전체 글

(9)
무료 html + css 웹 페이지 호스팅 하는 법 (github pages) intro github로 간단하게 깃허브 페이지를 호스팅 할 수 있어서 기록으로 남겨보고자 합니다. 간단한 깃 + 깃허브 이용하는 방법은 알고 계신다고 가정하고 진행하려합니다. (모르신다면 참고자료에 튜토리얼 링크를 보시길 권장합니다.) 과정 먼저 https://github.com/ 에서 새로운 repository 를 생성합니다. 그리고 해당 repo를 local로 받아옵니다. git clone {copy 한 url} 그 다음 아래와 같은 html 파일을 index.html 이름으로 root 디렉토리에 만들고 remote의 main 브랜치에 push 합니다. index.html 👨‍💻 Portfolio git commands git add index.html git commit -m "Add index...
macOS 에서 nvm 설치하기 macOS 에서 nvm 설치시 살짝 삽질 했어서 기록으로 남겨놓습니다. 설치 과정 먼저 nvm을 brew로 설치합니다 brew install nvm 그럼 위와같이 뜨는데 위를 따라하면 됩니다. mkdir ~/.nvm vim ~/.zshrc or code ~/.zshrc 그리고 .zshrc 파일의 마지막 부분에 다음을 입력하시면 됩니다. export NVM_DIR="$HOME/.nvm" [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completi..
[HTML5] video tag 크롬(chrome) autoplay + muted 버튼 음소거 해제 삽질기 삽질기 다음과 같은 코드로 페이지가 로딩되자마자 video 가 autoplay되는 기능을 구현하고 있었습니다. 하지만 역시나 마음처럼 되지 않았는데, 다른 브라우저에서는 동작하지만 chrome 에서만 동작하지 않는 상황이 벌어졌습니다... 대안 그래서 열심히 구글링을 하던 중... d0gf00t.tistory.com/36 [번역] 자동 재생 정책 변경사항 Autoplay Policy Changes 원문: Autoplay Policy Changes Autoplay Policy Changes | Web | Google Developers Learn best practices for good user experiences with the new autoplay policies in Chrome, coming ..