이 강의 링크 등록 부탁드립니다.
미해결
PWA 시작하기 - 웹 기술로 앱을 만들자
강의에 들어 보면 "문제"등에 대한 링크가 있다고 하셨는데 아래에 링크가 보이지 않습니다. 링크 등록 부탁 드립니다. 감사합니다.
- pwa
- 웹앱
- vuejs
176만명의 커뮤니티!! 함께 토론해봐요.
미해결
PWA 시작하기 - 웹 기술로 앱을 만들자
강의에 들어 보면 "문제"등에 대한 링크가 있다고 하셨는데 아래에 링크가 보이지 않습니다. 링크 등록 부탁 드립니다. 감사합니다.
미해결
첫 도메인 구입이라 질문이 미숙할 수 있습니다. 구입하고 싶은 도메인명.com 이 이미 누군가에게 선점되어 있더라구요. 주소를 쳐서 들어가보니 Undeveloped라는 회사에서 거의 400만원에 팔고 있습니다. 저는 도메인은 임대제로 알고 있는데, 넘 비싸서 아래와 같이 질문했습니다. (구글번역) Is the domain I purchased permanently mine? 그러자 아래와 같은 답변을 받았습니다. That is correct. Once the payment is submitted the ownership of this domain will be transferred to you in full. 저 회사 믿을만 한가요? 400내고 도메인 사면 영구적으로 제 것인가요? 1.1 왤케 비쌀까요?ㅠㅠ 도메인을 저렇게 영구적으로 소지하는게 가능한가요? 3.저런 회사들은 먼데 도메인을 잔뜩 가지고 있고 사고팔고 하는 건가요?
미해결
Node.js 교과서 - 기본부터 프로젝트 실습까지
해시태그 검색 하고 랜더링 하는 부분에서 return res.render('main', { title: `${query} | NodeBird`, user: req.user, twits: posts, }.. 이부분에서 user: req.user이 이해가 안갑니다. 제로조님이 강의에서 설명하신 것 처럼 hashtagId로 post를 찾아오고 그 포스트의 작성자까지 찾아와서 main페이지에 작성자 이름이 뜨는건 알겠는데, console.loe(req.user); 을 해도 undefined라고 나오고, console.log(req)를 해도 user객체는 포함되어있지 않은데, 대체 어떻게 req.user이 가르키는 것이 유저의 닉네임인가요? 제가 혼란스러운 이유는, 앞부분의 강의까지는 req.user가 로그인 성공 시 deserializeUser 메서드를 호출하면서 유저의 정보가 req.user에 담긴다고 설명해주셨고 책에 그렇게 적혀있는데.. 로그인을 안한 상태에서 req.user 값이 나타난다는것에 혼란스럽습니다 ㅎㅎ 항상감사합니다!
미해결
블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
PS C:UsersAdministrator> npm -v 6.4.1 PS C:UsersAdministrator> npm install -g truffle npm ERR! Unexpected end of JSON input while parsing near '...nt":"^0.24.0","got":"' npm ERR! A complete log of this run can be found in: npm ERR! C:UsersAdministratorAppDataRoamingnpm-cache_logs2018-11-08T14_58_44_094Z-debug.log PS C:UsersAdministrator> 여기서 막혔습니다 도와주세요
미해결
PS C:UsersAdministrator> npm -v 6.4.1 PS C:UsersAdministrator> npm install -g truffle npm ERR! Unexpected end of JSON input while parsing near '...nt":"^0.24.0","got":"' npm ERR! A complete log of this run can be found in: npm ERR! C:UsersAdministratorAppDataRoamingnpm-cache_logs2018-11-08T14_58_44_094Z-debug.log PS C:UsersAdministrator> 여기서 막혔습니다. 도와주세요
미해결
홍정모의 따라하며 배우는 C++
만약 vcpkg를 64비트로 설치하고 비주얼 스튜디오는 86비트이면 <boost/asio.hpp>가 인클루드가 안되나요?
미해결
Node.js 교과서 - 기본부터 프로젝트 실습까지
안녕하세요. 항상 좋은 강좌 잘 듣고 있습니다. 호주 귀국 하루전에 우연히 서점에 들려서 펼처봤는데 내용이 너무 좋아서, 동영상 강좌도 듣고 있습니다. 질문이 있는데 form 에 관한 부분입니다. 제가 기억하기로는 form은 action 부분이 있어야 어디로 보내는지를 설정할 수 있는데 본문의 sequelize.pug에 있는 form에는 action이 들어있지 않네요. 특별한 이유가 있나요? 없어도 처리가 된다면 어떤 원리도 처리가 되나요? 이하는 코드 전문입니다. doctype html html head meta(charset='utf-8') title 시퀄라이즈 서버 style. table { border: 1px solid black; border-collapse: collapse; } table th, table td { border: 1px solid black; } body div form#user-form fieldset legend 사용자 등록 div input#username(type="text" placeholder="이름") div input#age(type="number" placeholder="나이") div input#married(type="checkbox") label(for="married") 결혼 여부 button(type="submit") 등록 br table#user-list thead tr th 아이디 th 이름 th 나이 th 결혼여부 tbody for user in users tr td= user.id td= user.name td= user.age td= user.married ? '기혼' : '미혼' br div form#comment-form fieldset legend 댓글 등록 div input#userid(type="text" placeholder="사용자 아이디") div input#comment(type="text" placeholder="댓글") button(type="submit") 등록 br table#comment-list thead tr th 아이디 th 작성자 th 댓글 th 수정 th 삭제 tbody script(src='/sequelize.js')
미해결
프로그래밍, 데이터 과학을 위한 파이썬 입문
항상 수업 열심히 듣고, 복습/자습 열심히 하고 있습니다 감사합니다 :D % , format, f-string에서 %가 제일 빠르다고 하던데 정말인지 궁금합니다! print() 함수에서 출력되는 문자 마지막에 엔터가 안들어가게 하는 방법이 있을까요? print("구구단게임시작![1~9=구구단외우기, 0=게임종료]") x = 1 while x != 0: print("몇 단을 계산할까요?") x = int(input()) if (x == 0): break if not x in range(1, 10): print("잘못된 값을 입력하였습니다.") continue else: print(f"구구단 {x}단을 계산합니다.") for i in range(1, 10): print(f"{x} X {i} = {x*i}") else: print("게임다시하기[1~9=구구단외우기, 0=게임종료]") print("구구단 게임 종료")
미해결
프로그래밍, 데이터 과학을 위한 파이썬 입문
SSL handshake failed on verifying the certificate protocol: <asyncio.sslproto.SSLProtocol object at 0x106f89a90> transport: <_SelectorSocketTransport fd=10 read=polling write=<idle, bufsize=0>> Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 625, in _on_handshake_complete raise handshake_exc File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata self._sslobj.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1051) SSL error in data received protocol: <asyncio.sslproto.SSLProtocol object at 0x106f89a90> transport: <_SelectorSocketTransport closing fd=10 read=idle write=<idle, bufsize=0>> Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 526, in data_received ssldata, appdata = self._sslpipe.feed_ssldata(data) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata self._sslobj.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1051) ✘ BackendClientError('Request to the API endpoint has failed.nCheck your network connection and/or the server status.')
미해결
누구나 따라하면서 배우는 JSP 커뮤니티 게시판 만들기
안녕하세요. 강의 수강 중인 인원입니다. 제 질문 내용은 아래와 같습니다. 질문 내용 ▶ 오류 내용 : 비밀번호 입력을 제대로 했음에도 불구하고 main.jsp page 로 넘어가지 않고 비밀번호 틀림 안내문구가 계속 발생. ''' package user; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; public class UserDAO { private Connection conn; private PreparedStatement pstmt; private ResultSet res; public UserDAO() { try { String dbURL = "jdbc:mysql://localhost:3306/BBS?serverTimezone=UTC"; String dbID = "root"; String dbPassword = "1234"; Class.forName("com.mysql.jdbc.Driver"); conn = DriverManager.getConnection(dbURL, dbID, dbPassword); } catch (Exception e) { e.printStackTrace(); } } public int login(String userID, String userPassword) { String SQL = "SELECT userPassword FROM USER WHERE userID=?"; try { pstmt = conn.prepareStatement(SQL); pstmt.setString(1, userID); res = pstmt.executeQuery(); if(res.next()) { if(res.getString(1).equals(userPassword)) return 1; //로그인 성공 else return 0; // 로그인 실패, 비밀번호 다름 } return -1; //아이디 존재 없음 } catch (Exception e) { e.printStackTrace(); } return -2; //DB 오류 } public int join(User user) { String SQL = "INSERT INTO USER VALUES(?, ?, ?, ?, ?)"; try { pstmt = conn.prepareStatement(SQL); pstmt.setString(1, user.getUserID()); pstmt.setString(2, user.getUserPassword()); pstmt.setString(3, user.getUserName()); pstmt.setString(4, user.getUserGender()); pstmt.setString(5, user.getUserEmail()); return pstmt.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } return -1; } } ''' 인프런 지식인 분들의 답변 부탁드립니다.
미해결
Node.js 교과서 - 기본부터 프로젝트 실습까지
if user && user.id !== twit.user.id && !follow 위의 if 조건문에 따라서 팔로우하기 버튼이 보이고 안보이고가 정해지는데 저 조건문에서 조건을 따지는 순서나 방법이 궁금합니다 !== 연산자의 순위가 &&보다 높으니 user.id !== twit.user.id 먼저 비교를 하고 if user && 결과 && !follow 이 상태에서 앞에서 차례로 true, false를 따져주면 되는건가요? ㅠㅠ 헷갈립니다 도와주세요!
미해결
Node.js 교과서 - 기본부터 프로젝트 실습까지
path와 directory의 차이가 뭔가요? 둘다 경로를 말하는 건 알겠는데 차이를 모르겠습니다. 어떤때에 어떤걸쓰는지 궁금합니다
미해결
홍정모의 따라하며 배우는 C++
git config --global user.name \"Mona Lisa\"명령어를 수행해도 자격증명관리자에 접근이 되지 않는데 이럴때는 어떻게 해야 하나요?
미해결
홍정모의 따라하며 배우는 C++
git config --global user.name \"Mona Lisa\"명령어를 수행해도 자격증명관리자에 접근이 되지 않는데 이럴때는 어떻게 해야 하나요?
미해결
비박스환경을 활용한 웹모의해킹 완변실습 강의자료, kali linux virtualbox버전 좀 부탁드립니다. kali linux virtualbox버전이 다운로드가 안됩니다. 수고하세요
미해결
비박스환경을 활용한 웹모의해킹 완변실습 강의자료, kali linux virtualbox버전 좀 부탁드립니다. kali linux virtualbox버전이 다운로드가 안됩니다. 수고하세요
미해결
비박스환경을 활용한 웹모의해킹 완변실습 강의자료, kali linux virtualbox버전 좀 부탁드립니다. kali linux virtualbox버전이 다운로드가 안됩니다. 수고하세요
미해결
비박스환경을 활용한 웹모의해킹 완변실습 강의자료, kali linux virtualbox버전 좀 부탁드립니다. kali linux virtualbox버전이 다운로드가 안됩니다. 수고하세요
미해결
비박스환경을 활용한 웹모의해킹 완변실습 강의자료, kali linux virtualbox버전 좀 부탁드립니다. kali linux virtualbox버전이 다운로드가 안됩니다. 수고하세요
미해결
Node.js 교과서 - 기본부터 프로젝트 실습까지
ParseCookies=(cookie~ 로 시작하는 부분에 질문있습니다. 이게 쿠키 property를 받아서 나누고 쪼개는 역할을 하는 거 같은데요, 처음에 (cookie = '') => 이 부분은 기본 쿠키값이 비어있게 설정하는 건가요? 쿠키를 ; 로 나누고, 그다음 = 으로 나눈 후에, 인자 "k" 부분 부터 이해가 안갑니다. 여기서 인자 k는 뭔가요 ㅇ,.ㅇ; 마지막에 reduce를 해 주는 곳에서 인자 갑자기 "acc" 가 나오는데, 이 친구는 뭐를 가르키는 건가요? 이하는 쿠키 부분의 코드 입니다. const parseCookies = (cookie = '') => cookie .split(';') .map(v => v.split('=')) .reduce((acc, [k, v]) => { acc[k.trim()] = decodeURIComponent(v); return acc; }, {}); 이하는 코드 전문입니다. ``` const http = require('http'); const fs = require('fs'); const url = require('url'); const qs = require('querystring'); const parseCookies = (cookie = '') => cookie .split(';') .map(v => v.split('=')) .reduce((acc, [k, v]) => { acc[k.trim()] = decodeURIComponent(v); return acc; }, {}); const session = {}; http.createServer((req, res) => { const cookies = parseCookies(req.headers.cookie); if (req.url.startsWith('/login')) { const { query } = url.parse(req.url); const { name } = qs.parse(query); const expires = new Date(); expires.setMinutes(expires.getMinutes() + 5); const randomInt = +new Date(); session[randomInt] = { name, expires, }; res.writeHead(302, { Location: '/', 'Set-Cookie': session=${randomInt}; Expires=${expires.toGMTString()}; HttpOnly; Path=/ , }); res.end(); } else if (cookies.session && session[cookies.session].expires > new Date()) { res.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' }); res.end( ${session[cookies.session].name}님 안녕하세요 ); } else { fs.readFile('./server4.html', (err, data) => { if (err) { throw err; } res.end(data); }); } }) .listen(8084, () => { console.log('8084번 포트에서 서버 대기중입니다!'); });