Skip to content

Instantly share code, notes, and snippets.

View nulta's full-sized avatar
๐Ÿ˜‡

nulta nulta

๐Ÿ˜‡
  • Kyungpook National University
  • South Korea
  • 09:29 (UTC +09:00)
View GitHub Profile
// ==UserScript==
// @name Copy all video IDs from current Youtube playlist
// @version 2025-10-01
// @description try to take over the world!
// @author nulta
// @match https://www.youtube.com/watch*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @run-at context-menu
// ==/UserScript==

Windows 11 ์„ค์น˜ ํ›„ ๊ฐ€์žฅ ๋จผ์ € ํ•  ๊ฒƒ

// TODO

Microsoft ๋ถ™์€ ๊ฑฐ ์ „๋ถ€ ์—†์• ๊ธฐ

์‚ญ์ œ

  1. OneDrive ์‚ญ์ œ
  2. ์œˆ๋„์šฐ ๋ฉ”๋‰ด์— ๋ณด์ด๋Š” ๊ด‘๊ณ  ์ „๋ถ€ ์‚ญ์ œ
  3. ํ”„๋กœ๊ทธ๋žจ ์ถ”๊ฐ€/์ œ๊ฑฐ ๋“ค์–ด๊ฐ€์„œ ์—ฌ๊ธฐ์„œ ๋ณด์ด๋Š” ์“ธ๋ชจ์—†๋Š” ๊ฒƒ๋“ค ์ „๋ถ€ ์‚ญ์ œ
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from random import shuffle
def make_lotto_numbers():
pool = list(range(1, 45+1))
shuffle(pool)
return pool[:6], pool[6]
def main():
input_nums = set(map(int, input("์ˆซ์ž 6๊ฐœ๋ฅผ ์ž…๋ ฅ: ").split()))
if len(input_nums) != 6:
@nulta
nulta / explaination.md
Created May 24, 2024 06:29
Programmers 12977

์‹ค์Šต ๊ณผ์ œ 1

2024-05-24

์ฝ”๋“œ ์„ค๋ช…

class PrimeChecker

์†Œ์ˆ˜๋ฅผ ํŒ๋ณ„ํ•˜๋Š” ํ•จ์ˆ˜ is_prime(num: int) -> bool์„ ๊ฐ€์ง„ ํด๋ž˜์Šค์ž…๋‹ˆ๋‹ค. ์—๋ผํ† ์Šคํ…Œ๋„ค์Šค์˜ ์ฒด๋ฅผ ์‚ฌ์šฉํ•˜๋ฉฐ, ์†Œ์ˆ˜ ํŒ๋ณ„์— ํ•„์š”ํ•œ ์—ฐ์‚ฐ ๊ฒฐ๊ณผ์™€ ๊ฐ’๋“ค์„ ๋‚ด๋ถ€์ ์œผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. ์ฆ‰, ์ด ํด๋ž˜์Šค๋Š” ๋˜‘๊ฐ™์€ ์—ฐ์‚ฐ์„ ๋‘ ๋ฒˆ ์ˆ˜ํ–‰ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

MAX_TICK_TIME = 1
MAX_STACK_DEPTH = 100
DO_RUNTIME_TYPE_CHECK = true
Sodacore = {}
Sodacore.Commands = {}
---@alias DataType
---| "string"

Keybase proof

I hereby claim:

  • I am nulta on github.
  • I am nulta (https://keybase.io/nulta) on keybase.
  • I have a public key ASC-Bsj32CFgEM_PTFgBshIBHFzSJ9RgnlGACZMNB8i9lgo

To claim this, I am signing this object:

import os
from os import path
import random
import time
import torch
import numpy as np
import pandas as pd
from glob import glob
import torchvision.transforms as transforms
from torch.utils.data import DataLoader, Dataset