묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[2026년 출제기준] 웹디자인개발기능사 실기시험 완벽 가이드
공지사항 만들기 시작부분 부터의 html과 css 코딩파일을 얻고 싶습니다.
안녕하세요. 위의 다른 강의로 html과 css로 만든걸로 하니까 좀 다른것 같아서요. 해당 강의 부분의 html과 css 파일을 올려주시면 감사하겠습니다.
-
미해결피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
또다른 예제파일은 어떻게 이용할 수 있을까요?
안녕하세요:) 첨부해주신 예제파일 말고 개인적으로 잘된 예제를 가져와서 만들려고 하는데 그냥 캡쳐해서 이미지로 가져오면 되나요??
-
미해결UX/UI 시작하기 : UI 디자인 (Inflearn Original)
질문드립니다
제가 질문은
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
github 레파지토리 권한 요청 드립니다.
인프런 아이디 : cds301인프런 이메일 : cds301@gmail.com깃헙 아이디 : cds301@gmail.com깃헙 Username : cds9046
-
미해결자바스크립트 비기너: 튼튼한 기본 만들기
정리
중고급 과정을 듣고 나서 다시 한 번 정리하였습니다. const test = ["<ul>"]; for(var i = 1; i <= 10; i++) { test.push(`<li id=id${i}>id${i}</li>`); } test.push("</ul>"); document.body.innerHTML = test.join(""); 우선 코딩시간에 나와있는 배열 사용의 예제풀이 입니다. 텍스트로 덧붙이는 형태라 DOM 구조를 이해하는게 아닌 듯한 느낌이 들었습니다. 따라서 Tag요소부터 만들어 나가는 형태로 반복문을 진행해보았습니다. const newUl = document.createElement('ul'); document.body.append(newUl); const Ul = document.querySelector('ul'); for(var i = 0; i < 10; i++) { const newLi = document.createElement('li'); Ul.append(newLi); const Li = document.querySelectorAll('li')[i]; Li.id = `id${i+1}`; Li.textContent = `id${i+1}`; } 보완할 요소가 더 있을 거 같은데 도통 떠오르질 않네요. 배열 구조로 한꺼번에 추가하는 형식으로 트리를 만들어가는 건 어려울 거 같아 질문드려요.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part5: 데이터베이스
트랜잭션에 대해서 질문이 있습니다.
프로그래밍적으로 트랜잭션은 객체를 생성할 때와 객체의 상태를 변경할 때와 객체를 삭제할 때 함께 영향을 받는 것들을 묶어 주라는 걸로 이해하면 되는 걸까요 ?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
아예 종료시키는 방법
졌을 때나 로비에서 바로 종료시키는 ending()을 추가하고싶은데 어케해야하나요.. break는 빠져나갈 루프가 없다고 안되네요. while문이 있는 main메소드에서 직접 처리해야하나요?
-
미해결코로나맵 개발자와 함께하는 지도서비스 만들기 2
서버접속시 오류가 발생하네요
C:\Users\ms\first_map\bin\www:14 TypeError: Cannot read property 'on' of undefined 이런오류가 나는데 이유가 있는것인지요? 무엇인가 위에서 정의를 해줘야하는것인지요? var app = require("../app"); var debug = require("debug")("first-map:server"); var http = require("http"); const mongoose = require("mongoose"); const userConfig = require("../config/userConfig.json"); let db = mongoose.collection; db.on("error", console.error); db.once("open", () => { console.log("Connected to mongo Server"); }); mongoose.connect( `mongodb+srv://jinnise21:${userConfig.pw}@firstmap.roaz5.mongodb.net/firstmap?retryWrites=true&w=majority`, { useNewUrlParser: true, useUnifiedTopology: true } );
-
미해결스프링 핵심 원리 - 기본편
애러 질문이 있습니다.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderService' defined in class path resource [appConfig.xml]: Cannot resolve reference to bean 'discountPolicy' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'discountPolicy' available 이렇게 애러가 발생하네요,,다시 코딩 해보면서 실수한거 없는지 살펴봤는데.. 잘 모르겠습니다 ㅠ_ㅠ
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
UI 접근 질문이요.!!
강사님 강의도 듣고 다른 강의도 들어보면서 UI관련 궁금한점이 생겼습니다.!! 예를들어 총을발사 후 총알수보여주는 UI에서 총알수를 변경을 하고싶은데요. 어떤식으로 접근해야하는지 궁금합니다. 예를들어 총 관련스크립트{ 총알 발사 => 총알숫자감소 총알관련 UI접근 =>감소 } UI스크립트{ Update() { 총관련스크립트에서 총알 수를 읽어 온 후 UI변경 } } 주로 첫번째 방법을 이용했었는데요. 첫번째 방법처럼한다면 Manager.UI. 이런식으로 어떻게 접근을 해야할것같은데 어떻게 접근을 해야하는지 궁금합니다. 이런 총알 관련 UI가 UI_Scene을 상속받은 후 접근을 해야하는지.. 아니면 UI_HpBar.cs 코드처럼 2번째 방법을 이용하는게 나중에 코드들이많아지면 이방법이 더 좋은방법인가요?.이방법도 옵저버패턴인지도 궁금합니다.!
-
미해결[NarP Series] MVC 프레임워크는 내 손에 [나프1탄]
JDBC와 DB(오라클기반)수업 연계
수업 잘 듣고 있습니다. JDBC와 DB(오라클기반)수업 교육도 해 주실 수 있는지요??
-
미해결스프링 핵심 원리 - 기본편
궁금한점이 있어서 질문드립니다.
안녕하세요 강의 잘 보고 있습니다, 영상을 3번 들어도 이해가 조금 안되는 문제가 있습니다. 영상 18:20쪽에 보시면 생성자에서 MemberRepository , DisconuntPolicy 타입으로 스프링 빈 저장소에서는 -> memoryMemberRepository 와 rateDiscountPolicy 을 가지고 와서 주입시킨다라고 이해를 하였습니다. 그런데 궁금한점은 AutoAppConfig에서 AppConfig 를 필터를 걸어서 제외를 시켰는데, 어떤방식으로 스프링 빈 저장소에서 rateDisCountPolicy하고 memoryMemberRepository 를 주입시켰는지 궁금합니다.. 간단하게 말씀드리자면 AppConfig 에선 Bean등록 한건 제외시킨걸로 이해를 하였는데.. Appconfig도 실행이 되는거 같아서 질문드립니다.
-
미해결해커를 위한 iOS 앱 모의 해킹 전문 과정
탈옥 버전 질문드립니다.
아이폰 6s ios 14.4.2 버전으로 탈옥 하려는데요. checkra1n 0.12.2 beta 버전을 써도 ios 14.3 버전까지만 지원하네요. unc0ver도 마찬가지고요. 다운그레이드 하려고 보니 ipsw.me 에서도 14.4.2 버전밖에 구할수가 없는데 실습진행이 불가할까요??
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
통합 컨트롤러에서 핸들러의 기준은 컨트롤러인가요? 메서드인가요?
안녕하세요. 먼저 좋은 강의 감사합니다. MVC 패턴을 구현할 때에는 handlerMapping 정보에 key로 URL과 value로 controller 객체를 담고 실행했는데요. 통합된 컨트롤러를 하게되면 URL 정보가 메서드마다 매핑되는데 handler Mapping에 controller를 handler로 담고 있다면 어떻게 해당 메서드를 찾는지 궁금합니다. 감사합니다.
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
actuator 인증 관련
안녕하세요 선생님, actuator 관련해서 질문이 있습니다. 실습에서 actuator 관련해서 user-service의 WebSecurity에는 아래와 같은 코드를, http.authorizeRequests().antMatchers("/actuator/**").permitAll(); apigateway-service의 application.yml 파일에서는 아래와 같은 코드를 추가했습니다. - id: user-service uri: lb://USER-SERVICE predicates: - Path=/user-service/actuator/** - Method=GET, POST filters: - RemoveRequestHeader=Cookie - RewritePath=/user-service/(?<segment>.*), /$\{segment} 제가 궁금한 것은, actuator로 누구나 접근할 수 있게 permitAll() 설정을 해주었고, 인증 필터 또한 설정하지 않았는데 포스트맨으로 actuator 접근할 시 토큰이 필요한 이유에 대해 잘 모르겠습니다. (8분 15초 이후 관련)
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
patch명령어 질문입니다.
현재 스프링은 아니고 javax.servlet.http 기반으로 was를 구축해서 사용중입니다. 최신버전(?)을 사용중인데도 patch명령어가 없는데 스프링 rest api개발할때는 있는 건가요? https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api
-
미해결1:1채팅 만들기(Android + Kotlin + Firebase)
4강 회원가입 강의중입니다 오류납니다.
조인 버튼 눌렀는데 실패라고 뜹니다. package com.example.chatting108import android.content.Intentimport android.nfc.Tagimport androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.util.Logimport com.google.firebase.auth.FirebaseAuthimport kotlinx.android.synthetic.main.activity_main.*class MainActivity : AppCompatActivity() { private val TAG : String? = MainActivity :: class.simpleName private lateinit var auth: FirebaseAuth private val IAG:String = MainActivity::class.java.simpleName override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) auth = FirebaseAuth.getInstance() join_button.setOnClickListener { val email =email_area.text.toString() val password = passwordarea.text.toString() auth.createUserWithEmailAndPassword(email, password) .addOnCompleteListener(this) { task -> if (task.isSuccessful) { Log.d(TAG,"성공") } else { Log.d(TAG, "실패") } } } login_button_main.setOnClickListener{ val intent = Intent(this, LoginActivity::class.java) startActivity(intent) } }} // Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { ext.kotlin_version = "1.4.32" repositories { google() jcenter() } dependencies { classpath "com.android.tools.build:gradle:4.1.3" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.5' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}allprojects { repositories { google() jcenter() }}task clean(type: Delete) { delete rootProject.buildDir} plugins { id 'com.android.application' id 'kotlin-android'}apply plugin: 'kotlin-android-extensions'apply plugin: 'com.google.gms.google-services'apply plugin: 'com.android.application'apply plugin: 'kotlin-kapt'android { compileSdkVersion 29 defaultConfig { applicationId "com.example.chatting108" minSdkVersion 21 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' }}dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'androidx.core:core-ktx:1.3.2' implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'com.google.firebase:firebase-auth:20.0.4' testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' //로그인 kapt 'com.google.dagger:dagger-compiler:2.8' kapt 'com.android.databinding:compiler:2.3.1' //파이어베이스 implementation platform('com.google.firebase:firebase-bom:27.0.0') implementation 'com.google.firebase:firebase-analytics'}
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
Post, Comment, User 및 dispatch 함수 타이핑
안녕하세요. 리액트-타입스크립트 강좌에서 배운 걸 이 강좌에도 적용하면서 진행중인데요. 우선 Post, Comment, User를 타이핑하면서 궁금한 점이 생겼습니다. 현재 Post, Comment, User를 위해 아래와 같은 인터페이스를 작성하였는데요. User의 경우 Post에도 들어있고, 구현에 따라 Comment에도 들어있고요. Post의 경우에도 구현에 따라서 Comment 안에도 들어갈 수도 있고, 아니면 그냥 현재처럼 postId라는 속성을 만들어서 사용할 수도 있을 것 같습니다. User 안에 있는 Followings나 Followers 같은 경우에도 현재는 User의 array로 했지만 user들의 id들의 array를 쓸 수도 있을 것 같고요. 이렇게 서로 다른 타입 간에 관계가 있을 때 타입 설계를 어떤 식으로 하는 게 바람직한지 궁금합니다. 아래처럼 최대한 작성된 인터페이스를 활용하는 경우에는 타입 관리를 하기에는 좋을 것 같지만 불필요하게 많은 데이터를 컴포넌트에 전송하거나 하는 건 아닌가 하는 생각이 들고요. 컴포넌트 내에서 필요한 정보만 간략하게 전달하는 방향으로 작성하면 대신에 타입을 관리하는 게 복잡해지는 것 같습니다. 이런 경우는 어떤 식으로 처리하는 게 좋을까요? export interface User { id: number; nickname: string; Posts: Post[]; Followings: User[]; Followers: User[]; } export interface Comment { User: User; //userId: number; content: string; postId: number; } export interface Post { id: number; User: User; content: string; Images: { src: string }[]; Comments: Comment[]; } 그리고 dispatch 함수나 redux-saga의 put함수의 경우 동적 액션 함수를 쓰지 않고 액션 객체를 바로 주는 경우에 dispatch<LoginRequestAction>({ type: LOG_IN_REQUEST, data }) 혹은 put<LoginSuccessAction>({ type: LOG_IN_SUCCESS, data: action.data }) 이런 식으로 작성하였는데 이런 식으로 하면 괜찮은 것인가요?
-
미해결WEB2 - Node.js
강의를 듣는 2021년 지금.. parse가 deprecated 되어 줄이가서 약간 변형해야되는 것 같아요!
var http = require('http'); var fs = require('fs'); var url = require('url'); var app = http.createServer(function(request,response){ var _url = request.url; const myURL = new URL('http://localhost:3000'+_url); var queryData = myURL.searchParams.get('id'); if(!queryData) { queryData = undefined; } if(_url == '/'){ _url = '/index.html'; } if(_url == '/favicon.ico'){ return response.writeHead(404); } response.writeHead(200); response.end(queryData); }); app.listen(3000);
-
미해결리액트로 나만의 블로그 만들기(MERN Stack)
npm run start 에러질문
PS C:\Users\KHS\Desktop\web_class\mern\client> npm run start > client@0.1.0 start > react-scripts start There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally. The react-scripts package provided by Create React App requires a dependency: "webpack": "4.44.2" Don't try to install it manually: your package manager does it automatically. However, a different version of webpack was detected higher up in the tree: C:\Users\KHS\Desktop\web_class\mern\node_modules\webpack (version: 5.27.2) Manually installing incompatible versions is known to cause hard-to-debug issues. If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project. That will permanently disable this message but you might encounter other issues. To fix the dependency tree, try following the steps below in the exact order: 1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder. 2. Delete node_modules in your project folder. 3. Remove "webpack" from dependencies and/or devDependencies in the package.json file in your project folder. 4. Run npm install or yarn, depending on the package manager you use. In most cases, this should be enough to fix the problem. If this has not helped, there are a few other things you can try: 5. If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead. This may help because npm has known issues with package hoisting which may get resolved in future versions. 6. Check if C:\Users\KHS\Desktop\web_class\mern\node_modules\webpack is outside your project directory. For example, you might have accidentally installed something in your home folder. 7. Try running npm ls webpack in your project folder. This will tell you which other package (apart from the expected react-scripts) installed webpack. If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project. That would permanently disable this preflight check in case you want to proceed anyway. P.S. We know this message is long but please read the steps above :-) We hope you find them helpful! npm ERR! code 1 npm ERR! path C:\Users\KHS\Desktop\web_class\mern\client npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c react-scripts start npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\KHS\AppData\Local\npm-cache\_logs\2021-04-15T20_44_19_476Z-debug.log 이렇게뜨는데요 저기서 제시해준 1~4번부터는 시도해봤습니다만 같은에러가 뜹니다