Skip to content

Instantly share code, notes, and snippets.

View Stdev17's full-sized avatar
๐Ÿ’ญ
๐Ÿค”

Min Yoon Stdev17

๐Ÿ’ญ
๐Ÿค”
View GitHub Profile
# This script is used to review the code in the local repository.
# Import modules
import os
import json
from openai import OpenAI
api_key = os.environ["OPENAI_API_KEY"]
# The first prompt
@Stdev17
Stdev17 / Calc.gs
Last active June 13, 2022 22:51
๋ธ”๋ฃจ ์•„์นด์ด๋ธŒ ํŒŒ๋ฐ ์‹œํŠธ v1.00 ์Šคํฌ๋ฆฝํŠธ
const GetFarmingLists = () => {
try {
const farming_lists = sheet.getRange(SHEETS.STUDENT+'!Q2:W101').getValues().filter((arr) => {
// check if the switch is selected
return arr[0]
})
return farming_lists
}
@Stdev17
Stdev17 / collab.py
Last active February 9, 2022 09:06
import numpy as np
net_results = []
INIT_MILE = 0
NET_ITERATIONS = 10000
def iteration_single(init_mileage):
mile = init_mileage
spent_gems = 0
has_Lina = False
@Stdev17
Stdev17 / poisson_evo.py
Last active December 18, 2020 04:35
Poisson calculator for Evo Dungeon in Guardian Tales.
import math
import numpy as np
# config values
# ๊ฐ’์„ ์„ค์ •ํ•ด ์ฃผ์„ธ์š”
avg_evo_per_session = 1.3
tries = 55
target = 71
def poisson(minimum, avg):
@Stdev17
Stdev17 / coupon.py
Created December 14, 2020 13:17
Code calculating Coupon Collector's Problem on Guardian Tales' heroes and exclusives.
import numpy as np
import math
######################
# Set variables here #
iterations = 1000
target = 4
######################
exclusives = {

Keybase proof

I hereby claim:

  • I am stdev17 on github.
  • I am stdev17 (https://keybase.io/stdev17) on keybase.
  • I have a public key ASADaA6nVtjuDtm2edklzTM7S6mvxEifM03QusujzTKCXAo

To claim this, I am signing this object: