inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

176만명의 커뮤니티!! 함께 토론해봐요.

macOS에서의 whereis

미해결

생활코딩 - Linux

제가 현재 macOS를 사용하고 있는데 shell의 환경은 zsh을 사용하고 있습니다. 근데 whereis라는 명령어는 리눅스의 환경에서만 해당 되는건가요? macOS도 유닉스를 기반으로 나온 운영체제로 알고 있는데 이 부분이 궁금합니다.

  • linux
Hyeontack5 댓글 1 좋아요 0 조회수 557

인프런 사이트 개편되었는데 코드는 업데이트 안되나요??

미해결

파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기

올라와 있는 강의랑 현재 인프런 사이트가 다른데 코드 업데이트 안되나요???파이썬을 처음 공부하는데 수업강의랑 현재 사이트랑 달라서 따라가기가 힘듭니다. 혹시 강의 업데이트 될 가능성은 없는건가요?

  • 웹-크롤링
  • python
[SQL 입문반 10기] 박소영 댓글 1 좋아요 0 조회수 152

모달이 중간이 아니라 페이지 하단에 출력되여

미해결

CSS Flex와 Grid 제대로 익히기

모달이 중간이 아니라 페이지 하단에 출력되는데 css가 잘못된거 같은데 어디서 잘못된건지 잘못찾겠어서여 한번 봐주시면 대단히 감사여 git: https://github.com/hyunsokstar/my_flex

  • flex
  • HTML/CSS
terecal 댓글 3 좋아요 5 조회수 499

build 후 실행이 안 됩니다ㅠ

미해결

실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발

강의에서 말씀해주신대로 java -jar jpashop-0.0.1-SNAPSHOT.jar 커맨드를 입력하였습니다. 그런데 위와 같이 jarfile에 접근할 수 없다고 하네요ㅠ 번히 파일이 있는데 왜 접근이 안된다고 하는지 모르겠습니다ㅠ

  • java
  • spring-boot
  • 웹앱
  • JPA
  • spring
Carrot 댓글 2 좋아요 0 조회수 352

homebrew 사용 질문입니다.

미해결

생활코딩 - Linux

안녕하세요. 제가 현재 macOS를 사용하고 있는데 homebrew를 설치해서 다양한 프로그램을 다운받아서 관리하고 있습니다. 근데 제가 java를 공부하기 위해서 jdk를 다운받아야 하는데 brew search를 해봤는데 나오는 내용이 없어서 oracle에서 받아야 되는건지 궁금합니다. 그리고 홈페이지에서 받은 파일도 homebrew에서 brew uninstall [프로그램 이름] 이렇게 작성하면 깔끔하게 다 삭제되는건지 궁금합니다.

  • linux
Hyeontack5 댓글 1 좋아요 0 조회수 369

/bin 파일 내에 구성에 대해서

미해결

생활코딩 - Linux

4:35 쯤에 강의 부분에 대한 질문입니다. 제가 현재 macOS를 사용하고 있는데 /bin 파일 안에 nano라는 명령어가 없는데 터미널에서 사용하면 동작은 되는거 같은데 그 이유는 뭔가요? 모든 프로그램이 /bin에 들어가 있나요?

  • linux
Hyeontack5 댓글 0 좋아요 0 조회수 390

scrollheight

미해결

애플 웹사이트 인터랙션 클론!

저는 왜3990이 아니라 4060으로뜨는지요?... 이게 사람마다 다를수있는건가요?...

  • 클론코딩
  • svg
  • HTML/CSS
  • 웹 디자인
  • 인터랙티브-웹
  • javascript
nomad p 댓글 7 좋아요 0 조회수 480

DocumentSnapshot과 QuerySnapshot 차이점

해결됨

Flutter 입문 확장판 - 인스타그램 클론 2.0

안녕하세요 강사님 강의잘듣고있습니다! 질문있어 글남기게 되었습니다 강의에서는 Widget _buildBody () { return SafeArea ( child : StreamBuilder < QuerySnapshot >( 이렇게 하였지만 querySnapshot대신 1) documentSnapshot을 넣으면 왜 오류가 뜨는지 질문드리고싶습니다. 현재 제가 documentSnapshot과 querySnapshot 구분이 안되는거 같습니다.2)두개의 차이점이 무엇인지 여쭤보고 싶습니다 print문을 넣어서 차이점을 확실하고싶은데 두개 다 아래처럼나와 명확히 구분이 안되네요.. [Instance of 'DocumentSnapshot', Instance of 'DocumentSnapshot', Instance of 'DocumentSnapshot'] 또 저위 코드에서 <QuerySnapshot>으로 데이터를 받았는데 _buildHasPostBody() 에서 데이터를 받을때 List < DocumentSnapshot > documents 처럼 documentSnapshot으로 3) 왜 다른 데이터 형식으로 받는지도 궁금합니다

  • firebase
  • ios
  • android
  • Flutter
  • 클론코딩
이보성 댓글 2 좋아요 0 조회수 2676

tail -f /opt/lampp/logs/access log

미해결

화이트해커가 되기 위한 8가지 웹 해킹 기술

tail: cannot open '/opt/lampp/logs/access' for reading: 그런 파일이나 디렉터리가 없습니다 tail: cannot open 'log' for reading: 그런 파일이나 디렉터리가 없습니다 tail: 파일이 남아 있지 않습니다 에러가 뜨네요

  • 모의해킹
polepole7777 댓글 1 좋아요 1 조회수 434

NotEmpty 어노테이션이 임포트가 안됩니다.

미해결

실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발

@NotEmpty 어노테이션이 저는 아예 나오지를 않는 이럴 때는 어떻게 해야하는지 알 수 있을까요??

  • spring
  • spring-boot
  • JPA
  • java
  • 웹앱
kjhkjh9753 댓글 2 좋아요 17 조회수 4808

익스텐션

미해결

공공데이터로 파이썬 데이터 분석 시작하기

설치해도 창에 nbextensions 기능이 안나오는데 문제가 있는건가요?

  • numpy
  • python
  • pandas
smilepmg 댓글 3 좋아요 1 조회수 348

main

미해결

3. 웹개발 코스 [스프링 프레임워크+전자정부 표준프레임워크]

url에다가 main.do를 치면 main.jsp에 있는 내용이 안 나와요 머가 문제일까요?? 똑같이 따라 했습니다.

  • 전자정부프레임워크
  • spring
jojoonho 댓글 1 좋아요 2 조회수 428

파이썬 데이터 추출하기 (1) 질문드려요.

미해결

파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기

강의 내용을 그대로 쳐도 안되어서 예제 파일 내용을 그대로 넣었지만 아래와 같이 실행이 안되고 있습니다. ㅜㅜ 원인을 모르겠어요. Traceback (most recent call last): File "C:\Users\MO\Desktop\python_create_app_1-master\python_create_app_1-master\section2\2-2-1-download.py", line 14, in <module> dw.urlretrieve(imgUrl, savePath1) File "C:\Python38\lib\urllib\request.py", line 257, in urlretrieve tfp = open(filename, 'wb') PermissionError: [Errno 13] Permission denied: 'c:/test1.jpg' [Finished in 0.341s]

  • python
  • 웹-크롤링
modangs 댓글 1 좋아요 0 조회수 405

질문있습니다.

미해결

[리뉴얼] React로 NodeBird SNS 만들기

안녕하세요. const oneUser = await User.findOne({ where: {id: data} }); await oneUser.addLikers(req.body) 이런식으로 할려고 하는데 oneUser.addLikers not a function 이라는 알람이 뜨는데 무엇이 문제일까요?

  • nodejs
  • redux
  • react
  • express
  • Next.js
원피스를 찾아서 댓글 6 좋아요 0 조회수 268

간단한 질문이있습니다!

미해결

[개정판] 딥러닝 컴퓨터 비전 완벽 가이드

저는 Deep Learning 기초 수준만 알고 있습니다. 여기까지 강의만 봐서는 region proposal(selective search)를 통해 바운딩 박스들을 추천받고 해당 바운딩 박스들을 NMS로 줄여주는 것까지 이해했습니다. 그런데 궁금한 것은 Bounding 박스들의 Confidence Score를 구할때 추천된 박스들을 모두 Classification해서 Confidence Score를 구하는 것인가요?

  • 컴퓨터-비전
  • keras
  • tensorflow
  • 머신러닝 배워볼래요?
  • 딥러닝
  • python
지호손 댓글 2 좋아요 0 조회수 276

map함수 key질문입니다.

미해결

웹 게임을 만들며 배우는 React

render () { const { title , color , className , trys } = this . state ; return ( <> < div ref = {this . divRef } id = "screen" className = { className } style = { { background : color } } onClick = {this . onClick } > { title } </ div > < ResultTable trys = { trys } /> </> ); } class ResultTable extends Component { averageResult = ( trys ) => { let sum = 0 ; trys . forEach (( v ) => { sum = sum + v . record ; }); return sum / trys . length ; }; printResult = () => { const { trys } = this . props ; if ( trys . length === 0 ) { return ; } else { return ( <> < ul > < div style = { { fontSize : "30px" } } > Result </ div > { trys . map (( v , i ) => { return ( <> < li key = { v . id } > { ` ${ i + 1 } 차 결과 : ${ v . record } ms` } </ li > </> ); }) } < div > { `평균 : ${ this . averageResult ( trys ) } ms` } </ div > </ ul > </> ); } }; render () { return <> { this . printResult () } </> ; } } 부모 컴포넌트에서 자식 컴포넌트 (ResultTable)을 불러와서 map으로 그려주는 함수입니다. 분명히 key값을 넣어줬데 계속해서 key에러가 뜨는데 왜 그런지 알 수 있을까요? trys= [ {id: trys.length + 1, record: time} ] 이런식으로 trys는 구성되어있습니다.

  • react
dlgydlf12345 댓글 1 좋아요 0 조회수 206

submit.bat 코드를 실행하면 오류가 뜹니다!

미해결

프로그래밍, 데이터 과학을 위한 파이썬 입문

안녕하세요:) 과제 제출하는 중에 오류가 떠서 문의드립니다! 숙제 제출 확인 메시지 밑에 이렇게 뜨고, 제출 과제 확인을 누르면 과제 제출 내역이 없다고 뜨는데, 어떻게 하면 되는 걸까요? 아 그리고 visual studio code를 쓰고 있는데, 미니콘다 대신 사용해도 괜찮은거죠? 답변 부탁드립니다! 감사합니다:)

  • bigdata
  • python
[SQL 실전반 3기] 시젤 댓글 0 좋아요 0 조회수 195

오타가 있는 것 같은데 확인 부탁드립니다!

해결됨

실전 리액트 프로그래밍

import myFunc1, { func2, variable1, variable2 } from './file1.js'; 에서 myFunc1 이 func1 으로 되어야할 것 같습니다!

  • react
  • redux
Jess2 댓글 2 좋아요 1 조회수 273

(회고)다른 PC에서 ssh 키 생성해서 하니 주피터 노트북이 안켜졌네요

미해결

[개정판] 딥러닝 컴퓨터 비전 완벽 가이드

개인 PC가 두대에서 개인 맥 pc에도 ssh 키값을 넣고 설정했습니다. 그렇게 되면 Linux계정이 환경을 설정한 계정과 달라서 주피터 노트북을 실행하면 정상적으로 실행이 안되는 것같네요. 접근권한 관련한 문제겠죠? switch user로 설정한 계정으로 진행은 되긴합니다.

  • 머신러닝 배워볼래요?
  • tensorflow
  • 컴퓨터-비전
  • python
  • 딥러닝
  • keras
지호손 댓글 1 좋아요 0 조회수 262

python manage.py test 오류

미해결

파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap

이런 오류가 납니다ㅠㅠ tests.py 코드 입니다 from django.test import TestCase , Client from bs4 import BeautifulSoup from .models import Post , Category , Tag from django.utils import timezone from django.contrib.auth.models import User def create_category (name= 'life' , description= '' ): category , is_created = Category.objects.get_or_create( name =name , description =description , ) category.slug = category.name.replace( '' , '-' ).replace( '/' , '' ) category.save() return category def create_tag (name= 'some tag' ): tag , is_created = Tag.objects.get_or_create( name =name ) tag.slug = tag.name.replace( '' , '-' ).replace( '/' , '' ) tag.save() return tag def create_post (title , content , author , category= None ): blog_post = Post.objects.create( title =title , content =content , created =timezone.now() , author =author , category =category , ) return blog_post class TestModel(TestCase): def setUp ( self ): self .client = Client() self .author_000 = User.objects.create( username = 'smith' , password = 'nopassword' ) def test_category ( self ): category = create_category() post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author = self .author_000 , category =category , ) self .assertEqual(category.post_set.count() , 1 ) def test_tag ( self ): tag_000 = create_tag( name = 'bad_guy' ) tag_001 = create_tag( name = 'america' ) post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author = self .author_000 , ) post_000.tags.add(tag_000) post_000.tags.add(tag_001) post_000.save() post_001 = create_post( title = 'Stay Fool, Stay Hungry' , content = 'Story about Steve Jobs' , author = self .author_000 ) post_001.tags.add(tag_001) post_001.save() self .assertEqual(post_000.tags.count() , 2 ) self .assertEqual(tag_001.post_set.count() , 2 ) self .assertEqual(tag_001.post_set.first() , post_000) self .assertEqual(tag_001.post_set.last() , post_001) def test_post ( self ): category=create_category( ) post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author = self .author_000 , category =category , ) class TestView(TestCase): def setUp ( self ): self .client = Client() self .author_000 = User.objects.create_user( username = 'smith' , password = 'nopassword' ) self .user_obama = User.objects.create_user( username = 'obama' , password = 'nopassword' ) def check_navbar ( self , soup): navbar = soup.find( 'div' , id = 'navbar' ) self .assertIn( 'Blog' , navbar.text) self .assertIn( 'About me' , navbar.text) def check_right_side ( self , soup): category_card = soup.find( 'div' , id = 'category-card' ) self .assertIn( '미분류 (1)' , category_card.text) # 미분류 (1) 있어야 함 self .assertIn( '정치/사회 (1)' , category_card.text) # 정치/사회 (1) 있어야 함 def test_post_list_no_post ( self ): response = self .client.get( '/blog/' ) self .assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) title = soup.title self .assertIn(title.text , 'Blog' ) self .check_navbar(soup) self .assertEqual(Post.objects.count() , 0 ) self .assertIn( '아직 게시물이 없습니다.' , soup.body.text) def test_post_list_with_post ( self ): tag_america = create_tag( name = 'america' ) post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author = self .author_000 , ) post_000.tags.add(tag_america) post_000.save() post_001 = create_post( title = 'The first post' , content = 'Second Second Second' , author = self .author_000 , category =create_category( name = '정치/사회' ) ) post_001.tags.add(tag_america) post_001.save() self .assertGreater(Post.objects.count() , 0 ) response = self .client.get( '/blog/' ) self .assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) body = soup.body self .assertNotIn( '아직 게시물이 없습니다.' , body.text) self .assertIn(post_000.title , body.text) post_000_read_more_btn = body.find( 'a' , id = 'read-more-post-{}' .format(post_000.pk)) self .assertEqual(post_000_read_more_btn[ 'href' ] , post_000.get_absolute_url()) self .check_right_side(soup) # main_div에는 main_div = soup.find( 'div' , id = 'main_div' ) self .assertIn( '정치/사회' , main_div.text) # '정치/사회' 있어야 함 self .assertIn( '미분류' , main_div.text) # '미분류' 있어야 함 # Tag post_card_000 = main_div.find( 'div' , id = 'post-card-{}' .format(post_000.pk)) self .assertIn( '#america' , post_card_000.text) #Tag가 해당 post의 card마다 있다. def test_post_detail ( self ): category_politics = create_category( name = '정치/사회' ) post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author = self .author_000 , category =category_politics ) tag_america = create_tag( name = 'america' ) post_000.tags.add(tag_america) post_000.save() post_001 = create_post( title = 'The first post' , content = 'Second Second Second' , author = self .author_000 , ) self .assertGreater(Post.objects.count() , 0 ) post_000_url = post_000.get_absolute_url() self .assertEqual(post_000_url , '/blog/{}/' .format(post_000.pk)) response = self .client.get(post_000_url) self .assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) title = soup.title self .assertEqual(title.text , '{} - Blog' .format(post_000.title)) self .check_navbar(soup) body = soup.body main_div = body.find( 'div' , id = 'main_div' ) self .assertIn(post_000.title , main_div.text) self .assertIn(post_000.author.username , main_div.text) self .assertIn(post_000.content , main_div.text) self .check_right_side(soup) # Tag self .assertIn( '#america' , main_div.text) # Tag가 해당 post의 card마다 있다. self .assertIn(category_politics.name , main_div.text) #category가 main_div에 있다. self .assertNotIn( 'EDIT' , main_div.text) #EDIT 버튼이 로그인하지 않은 경우 보이지 않는다. login_success = self .client.login( username = 'smith' , password = 'nopassword' ) #login을 한 경우에는 self .assertTrue(login_success) response = self .client.get(post_000_url) self .assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) main_div = soup.find( 'div' , id = 'main-div' ) self .assertEqual(post_000.author , self .author_000) #post.author와 login한 사용자가 동일하다면 self .assertIn( 'EDIT' , main_div.text) #EDIT 버튼이 있다. # 다른 사람인 경우에는 없다. login_success = self .client.login( username = 'obama' , password = 'nopassword' ) #login을 한 경우에는 self .assertTrue(login_success) response = self .client.get(post_000_url) self .assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) main_div = soup.find( 'div' , id = 'main-div' ) self .assertEqual(post_000.author , self .author_000) # post.author와 login한 사용자가 동일하다면 self .assertNotIn( 'EDIT' , main_div.text) # EDIT 버튼이 있다. def test_post_list_by_category ( self ): category_politics = create_category( name = '정치/사회' ) post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author = self .author_000 , ) post_001 = create_post( title = 'The first post' , content = 'Second Second Second' , author = self .author_000 , category =category_politics ) response = self .client.get(category_politics.get_absolute_url()) self .assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) main_div = soup.find( 'div' , id = 'main_div' ) self .assertNotIn( '미분류' , main_div.text) self .assertIn(category_politics.name , main_div.text) def test_post_list_no_category (self): category_politics = create_category( name = '정치/사회' ) post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author =self.author_000 , ) post_001 = create_post( title = 'The first post' , content = 'Second Second Second' , author =self.author_000 , category =category_politics ) response = self.client.get( '/blog/category/_none/' ) self.assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) main_div = soup.find( 'div' , id = 'main_div' ) self.assertIn( '미분류' , main_div.text) self.assertNotIn(category_politics.name , main_div.text) def test_tag_page (self): tag_000 = create_tag( name = 'bad_guy' ) tag_001 = create_tag( name = 'america' ) post_000 = create_post( title = 'The first post' , content = 'Hello World. We are the world.' , author =self.author_000 , ) post_000.tags.add(tag_000) post_000.tags.add(tag_001) post_000.save() post_001 = create_post( title = 'Stay Fool, Stay Hungry' , content = 'Story about Steve Jobs' , author =self.author_000 ) post_001.tags.add(tag_001) post_001.save() response = self.client.get(tag_000.get_absolute_url()) self.assertEqual(response.status_code , 200 ) soup = BeautifulSoup(response.content , 'html.parser' ) main_div = soup.find( 'div' , id = 'main-div' ) blog_h1 = main_div.find( 'h1' , id = 'blog-list-title' ) self.assertIn( '#{}' .format(tag_000.name) , blog_h1.text) self.assertIn(post_000.title , main_div.text) self.assertNotIn(post_001.title , main_div.text)

  • python
  • bootstrap
  • django
오은비 댓글 1 좋아요 0 조회수 422

인기 태그

인프런 TOP Writers

주간 인기글