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 August 27, 2024 07:37
넀이버 신지도 크둀링 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); //물리식 μ†λ„λŠ” 쀑λ ₯에 λΉ„λ‘€ν•˜κΈ° λ•Œλ¬Έμ— *쀑λ ₯ μˆ˜μ •ν•¨*