해외 개발자들이 올린 파일이나 영상을 보면 예로.. get 으로 articles를 모두 불러오는 방법 Route::get('articles') 도 사용하며 get 으로 article 하나를 불러오는 방법 Route::get('article/{id}) 또한 사용한다.. 그러나 여기서 의문이었던 점은 (내가 본 글들만 이상한건지..) post와 put을 동시에 하나의 method로 처리하는것이다. method store가 있다고 치면 store () {put이면 update_id를 받아 article에 저장. post면 새로운 article을 만듬. 그 후 저장..} 위와 같이 처리한다. 저렇게 함으로써 method를 하나로 통합하는것에 장점을 느끼는건지는 몰라도 개인적으로 edit라는 method를 따로 ..
OPEN SSL 에러 시 (+ @를 사용하면 기타에러를 무시가능함.)$arrContextOptions=array( "ssl"=>array( "verify_peer"=>false, "verify_peer_name"=>false, ), ); $context = stream_context_create($arrContextOptions);$contents = @file_get_contents($url, $use_include_path, $context, $offset); 만약 PHP의 simple_html_dom을 사용한다면 $contents = @file_get_contents($url, $use_include_path, $context, $offset);이부분에서 $offset을 -1에서 0으로 수정해주어야..
Vue의 style scoped 같은 경우 컴포넌트를 컴파일 하게 될경우 각 요소마다 TEST와 같이 data-v-c14f2f8c 가 붙게 된다 여기서 style scoped에 h3 {color: red;} 라는 것을 적게 되면 사실상 h3[data-v-c14f2f8c] {color: red;} 로 적용되는 것이다. 그런데 여기서 내가 jquery나 javascript로 동적요소를 append했다고 생각해보자 그렇다면 $('body').append('Hello'); 를하게되면 Hello 가 있게 된다. 즉 h3은 [data-v-c14f2f8c]와 같은 속성을 가지지 않게 되므로 css가 적용되지 않는 다는 것이다. 해결방법은 다음에 이어 쓰도록 하겠다~
1. 오브젝트에 Material 추가 2. Shader 변경 Legacy Shaders/Transparent/Diffuse 응용.. (FadeIn, FadeOut) 키보드 i, o로 컨트롤 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364using System.Collections;using System.Collections.Generic;using UnityEngine; namespace Main{ public class Script1 : MonoBehaviour { Renderer renderer; public GameObject targ..
https://github.com/Jrady721/School-meal-api