Skip to content

Instantly share code, notes, and snippets.

View JaeHeyK's full-sized avatar

Jaehyeon Kim JaeHeyK

  • LG Electronics VS Division
  • Seoul, Korea
View GitHub Profile
@JaeHeyK
JaeHeyK / match-color-temp-kelvin.yaml
Created March 29, 2024 18:10 — forked from HarvsG/match-color-temp-kelvin.yaml
HA Blueprint to match color temperature of lights to the sun
blueprint:
name: Match Outside Colour Temperature Kelvin
description: When a light turns on or the sun elevation changes match the outside
colour temperature. It will apply to any bulb that supports color temperature.
It triggers whenever a bulb turns on, on sun elevation changes and every 5 minutes.
domain: automation
input:
target_lights:
name: Lights
description: The primary lights to be controlled
@JaeHeyK
JaeHeyK / Unreal4_Mac_VSCode_setting.txt
Created August 17, 2020 19:51
MacOS에서 VS Code를 이용해 Unreal Engine C++ 파일을 수정하고 컴파일하기
(개인적으로 공부하면서 설정한 내용을 적어놓았기 때문에 오류가 있을 수 있습니다. 참고하시기 바랍니다.)
1. 언리얼 엔진, VSCode 설치
2. 메뉴바에서 Unreal Engine - 개인 설정(혹은 그냥 Command + ,)
3. 설정창에서 일반 - 소스코드 - Accessor - 소스 코드 에디터 드롭다운 메뉴에서 'Visual Studio Code' 선택
4. 메뉴바에서 파일 - Visual Studio Code 프로젝트 생성 (혹은 새로고침) 선택
5. VSCode가 열리면서, .vscode 폴더가 포함된 프로젝트 폴더가 열립니다.
6. 필요한 작업을 하시고, Command + Shift + B를 눌러 빌드 옵션을 엽니다
6-1. Editor에 해당되는 작업을 하신 뒤 Hot Reload를 원하는 경우, [ProjectName]Editor Mac Development Build를 선택하시면 됩니다
(프로젝트 이름이 HelloUnreal 일 경우, HelloUnrealEditor Mac Development Build 선택)
@JaeHeyK
JaeHeyK / tutorial.txt
Last active November 3, 2023 05:47
VS Code에서 C로 컴파일하기(MacOS)
(1)VS Code 설치
1. https://code.visualstudio.com/ 에 가셔서 프로그램 다운받아주세요
2. 설치 후에 프로그램을 여시면 왼쪽 아래에 톱니바퀴 모양 있을 텐데, 클릭하면 <확장> 있을 거에요. 그거 클릭해주세요
3. 그럼 왼쪽에 길게 리스트처럼 나올 텐데, 위에 검색창에 "C/C++"라고 입력해주세요!
그럼 Microsoft에서 만든 확장기능이 하나 나올텐데, 설치해주시면 됩니다.
(2) gcc 설치하기
1. Command+스페이스 로 'terminal' 검색 후 terminal 창 열기
2. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
@JaeHeyK
JaeHeyK / tasks.json
Created August 17, 2020 01:20
VSCode gcc compile tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "gcc build",
"command": "gcc",
"args": [
"${file}",
"-o",