This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.cloud import storage | |
import os | |
certificationJsonFile = 'XXXXX.json' | |
bucketName = r'pubsite_prod_rev_XXXXXX' | |
reportYear = 2018 | |
# Connecte with Service Account | |
storage_client = storage.Client.from_service_account_json(certificationJsonFile) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#include <AFMotor.h> | |
AF_DCMotor motor_L(4); // 모터드라이버 L293D 3: M3에 연결, 4: M4에 연결 | |
AF_DCMotor motor_R(3); | |
// ???? | |
int i; | |
int j; | |
//초음파센서 출력핀(trig)과 입력핀(echo), 변수, 함수 선언// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by https://www.gitignore.io/api/unity | |
# Edit at https://www.gitignore.io/?templates=unity | |
# Jetbrain Rider Cache | |
.idea/ | |
Assets/Plugins/Editor/JetBrains* | |
# Visual Studio Code | |
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
// Merge multiple Sprites as one sprite | |
public static class SpriteMerger { | |
public static Sprite MergeSprite(Sprite[] sprites) { | |
// 스프라이트 중 가장 큰 크기의 것으로 지정되야함 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foundAny=false; | |
function selectAllByLetter(remainingLetters) { | |
console.log(remainingLetters) | |
var letter = remainingLetters.pop(); | |
$("#channel_invite_filter").val(letter).trigger("input"); | |
setTimeout(function() { | |
$(".channel_invite_member:not(hidden)").each(function(i, obj) { | |
foundAny=true; | |
this.click(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/TermalRed" { | |
Properties { | |
_NormalTex("Normal Texture",2D) = "white" {} | |
_DistanceFadeOut("DistanceFadeOut",Range(0,3)) = 0 | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
LOD 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using System.IO; | |
// 로컬 이미지 파일 경로를 주면 해당 경로에서 이미지를 로드해 UI Image로 띄어주는 코드 | |
public class ImageLoader : MonoBehaviour { | |
// 스프라이트를 로드할 이미지 컴포넌트 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class RayByAngle : MonoBehaviour { | |
public float angle; | |
public float distance = 1f; | |
// Update is called once per frame |