Skip to content

Instantly share code, notes, and snippets.

View IamGroooooot's full-sized avatar
📚

Juhyeong Ko IamGroooooot

📚
View GitHub Profile
@IamGroooooot
IamGroooooot / ContributionGraphModule.html
Last active July 12, 2020 08:38
티스토리 블로그에 GitHub Contribution Graph 넣는 법 - Embed하기 위해서 https://github.com/Bloggify/github-calendar 사용함
<!-- Include the library. -->
<script
src="https://unpkg.com/github-calendar@latest/dist/github-calendar.min.js"
></script>
<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) -->
<link
rel="stylesheet"
href="https://unpkg.com/github-calendar@latest/dist/github-calendar-responsive.css"
/>
🌞 Morning 88 commits ██▉░░░░░░░░░░░░░░░░░░ 14.1%
🌆 Daytime 147 commits ████▉░░░░░░░░░░░░░░░░ 23.6%
🌃 Evening 200 commits ██████▋░░░░░░░░░░░░░░ 32.1%
🌙 Night 189 commits ██████▎░░░░░░░░░░░░░░ 30.3%
@IamGroooooot
IamGroooooot / CustomJump.cs
Created April 21, 2020 12:55
Simple Jump - using position (Unity)
using UnityEngine;
public class CustomJump : MonoBehaviour
{
public float jumpPower = 5f; // 점프 Force
private const float GRAVITY = -9.81f; // 중력 가속도
private Vector3 vel; // 현재 속도
private Vector3 acc; // 현재 가속도
@IamGroooooot
IamGroooooot / NaverMapSelenium.py
Last active April 15, 2024 04:17
네이버 신지도 크롤링 with Selenium and BeautifulSoup
# 코알라유니브 스터디: 공공공공공경경 - 고주형
# 네이버 신지도 데이터 수집하기
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
from bs4 import BeautifulSoup
driver = webdriver.Chrome("./chromedriver")
driver.get("https://map.naver.com/v5/search")
@IamGroooooot
IamGroooooot / 포물선.cs
Last active October 23, 2019 16:18
포탄(Bomb)을 포물선으로 발사할 때의 속도(velocity)를 계산하는 유니티 코드
//포물선으로 쏘는것
void FireSkelBomb(GameObject Bomb)
{
playerPos = PlayerTrans.position;
displace = playerPos - transform.position;
distance = Mathf.Pow((displace.x) * (displace.x) + (displace.z) * (displace.z), 0.5f); //수평도달거리 계산
BombInitVelocity = new Vector3(displace.x, distance * Mathf.Tan(angle_degr * Mathf.Deg2Rad), displace.z).normalized; //내가 포물선으로 쏠 벡터의 단위벡터 계산
BombInitVelocity = BombInitVelocity * Mathf.Sqrt( Mathf.Abs(Physics.gravity.y) * distance / Mathf.Sin(2 * angle_degr * Mathf.Deg2Rad); //물리식 속도는 중력에 비례하기 때문에 *중력 수정함*