Skip to content

Instantly share code, notes, and snippets.

View EwhaWhiteMoon's full-sized avatar

김세영 EwhaWhiteMoon

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>test</title>
<style>
.hidden{
display: none;
}
# prompt: 수업중인 교수님 코난처럼 재우는 알고리즘
# 1. 수업 내용을 이해하기 어렵게 만든다.
import random
def generate_confusing_lecture(subject):
"""
Generates a confusing lecture on the given subject.
Args:
def solve(N : int) -> int:
ans : int = 0
arr : list[int] = [0 for i in range(0, N)]
def n_queen(depth : int):
nonlocal ans, arr
for i in range(0, N):
arr[depth] = i
if check_vaild(depth, i):
" Plugins will be downloaded under the specified directory.
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
" Declare the list of plugins.
Plug 'NLKNguyen/papercolor-theme'
" Plug 'tribela/vim-transparent'
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
@EwhaWhiteMoon
EwhaWhiteMoon / readme.md
Last active June 15, 2022 08:22
scrynamu

ScryNamu

Scryfall의 카드 데이터를 나무위키 매직 더 개더링 카드 템플릿에 맞춰서 작성해 주는 Tampermonkey 스크립트입니다.

Tampermonkey가 설치된 브라우저가 필요합니다. 현재 Firefox 최신 버전 기준으로 작동을 확인하고 있습니다. navigator.clipboard를 사용하기 때문에, IE에선 작동하지 않습니다.

사용법

스크립트 설치 후, scryfall의 한글 카드 정보 페이지에 들어가면 카드 이름 옆에 보라색 나무! 버튼을 클릭하시면 됩니다. 클립보드에 복사된 데이터를 붙여넣기해서 사용하세요.

@EwhaWhiteMoon
EwhaWhiteMoon / sHome.ino
Created July 25, 2021 15:37
갸아아악
//LiquidCrystalI2C Library
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
//DHT_Sensor Library
#include <Adafruit_Sensor.h>
#include <DHT.h>
//Servo Library
#include <Servo.h>