Skip to content

Instantly share code, notes, and snippets.

View chalkpe's full-sized avatar
πŸ³οΈβ€πŸŒˆ

Seol Park chalkpe

πŸ³οΈβ€πŸŒˆ
  • Republic of Korea
View GitHub Profile

μ λ§ˆλ„μ‚¬

λΆ€μœ„ μ‹ μ‹κΈˆλ‹¨
(ilv 510)
극에메
(ilv 515)
μž¬μƒμΌλ°˜
(ilv 510)
λ¬΅μ‹œμ„νŒ
(ilv 520
RE 530)
μž¬μƒμ˜μ‹
(ilv 530)
무기 κ·ΉλŒ€μ˜μ§€ κ·ΉλŒ€μ§κ²© μ˜μ§€μ§κ²© κ·ΉλŒ€μ§κ²©
λͺ¨μž κ·ΉλŒ€λ§ˆμ‹œ μ˜μ§€μ§κ²© μ§κ²©λ§ˆμ‹œ κ·ΉλŒ€μ˜μ§€
μƒμ˜ μ§κ²©κ·ΉλŒ€ λ§ˆμ‹œμ˜μ§€ μ˜μ§€λ§ˆμ‹œ μ§κ²©κ·ΉλŒ€
μž₯κ°‘ μ˜μ§€κ·ΉλŒ€ μ§κ²©μ˜μ§€ μ§κ²©μ˜μ§€ μ˜μ§€κ·ΉλŒ€
ν—ˆλ¦¬ μ§κ²©κ·ΉλŒ€ λ§ˆμ‹œμ˜μ§€ μ˜μ§€κ·ΉλŒ€ λ§ˆμ‹œμ§κ²©
λ°”μ§€ λ§ˆμ‹œκ·ΉλŒ€ κ·ΉλŒ€μ§κ²© κ·ΉλŒ€μ§κ²© λ§ˆμ‹œμ§κ²©
μ‹ λ°œ λ§ˆμ‹œμ˜μ§€ κ·ΉλŒ€μ§κ²© κ·ΉλŒ€μ§κ²© μ§κ²©μ˜μ§€
@chalkpe
chalkpe / ng-quiz.js
Last active September 8, 2020 18:38
arrQuizDetail.questions.map(q => new DOMParser().parseFromString(q.options.find(o =>
o.questionOptionId === q.chQuestionOptionId).content, 'text/html').body.textContent.trim())
const fs = require('fs')
const puppeteer = require('puppeteer-core')
const MAKER_ENDPOINT = `https://thtl1999.github.io/elf-knight-maker/`
const DATABASE_ENDPOINT = `https://www.db.yugioh-card.com/yugiohdb/card_search.action`
async function fetchCardsFromText (browser, text) {
const page = await browser.newPage()
await page.goto(MAKER_ENDPOINT, {waitUntil: 'networkidle0'})
await page.click('#reset-button')
const {join} = require('path')
const {readdir} = require('fs').promises
const id3 = require('node-id3')
const iconv = require('iconv-lite')
const songs = f => f.isFile() && f.name.endsWith('.mp3')
const albums = f => f.isDirectory() && f.name.startsWith('HTD')
const ls = iconv.skipDecodeWarning = p => readdir(p, {withFileTypes: true})
async function* patch (path) {
@chalkpe
chalkpe / e4s.txt
Created April 1, 2020 23:17
FFXIV Korean macros
ξ‚» λŒ€μ§€μ˜ 울림
    
    
━━━━━━━━━━━━━━━━━━━━━━━━━
ξ‚» 바퀴/μ™„κ°‘
γ€€μ£Όν™©    ξ‚„  
━━━━━━━━━━━━━━━━━━━━━━━━━
ξ‚» λ°”μœ„ν­νƒ„
 : οΌ‘β†’οΌ’
 : οΌ£β†’οΌ€
@chalkpe
chalkpe / act-cwls.sh
Last active October 11, 2019 23:14
ACT λ‘œκ·Έμ—μ„œ μ„œλ²„ μ΄ˆμ›” 링크셸 λŒ€ν™”λ₯Ό ν•˜λ£¨μ”© ν…μŠ€νŠΈ 파일둜 μΆ”μΆœν•΄ μ£ΌλŠ” 슀크립트
#!/usr/bin/env bash
rm -rf ./cwls && awk -F\| '$1 == "00" && $3 == "0025" {
if (!dd[d="./cwls/" substr($2,0,4) "/" substr($2,6,2)]) { system("mkdir -p " d); dd[d] = 1; print d };
print gensub(/\x02[^\x03]+?\x03/, "", "g", "[" substr($2,12,8) "] <" $4 "> " $5) > d "/" substr($2,9,2) ".txt" }' "$@"
@chalkpe
chalkpe / FallenAngel.mml
Created August 8, 2019 12:38
FINAL FANTASY XIV - Fallen Angel (MML)
/* (c) 2010 - 2019 SQUARE ENIX CO., LTD. All Rights Reserved. */
T150
D8A8G8A8 F8G8E8F8
D8A8G8A8 B-8A8G+8A8
B-8A8G8A8 F8G8E8F8
D8A8G8A8 B-8A&A8

문제

νŠΈμœ„ν„° @hibiyasleep

풀이

μˆ˜λΉ„ νƒœμ„Έ: λ°›λŠ” νšŒλ³΅λ§ˆλ²•μ˜ νš¨κ³Όκ°€ 20% ν–₯상

γ„±) μžμ•  -> μ„±μ†Œ -> μ‹¬νŒ -> μΌ€μ•Œκ°€ -> μ‹ μ˜ 이름

μžμ• : μžμ‹ μ˜ νšŒλ³΅λ§ˆλ²• νšŒλ³΅λŸ‰μ΄ 20% 증가

{
"sources": [
{
"name": "Final Fantasy XIV",
"path": "/mnt/c/Users/user/Documents/My Games/FINAL FANTASY XIV - KOREA/screenshots",
"rule": "ffxiv_[YYYY][MM][DD]_[HH][mm][ss]_[SSS].png"
},
{
"name": "Final Fantasy XIV - Global",
"path": "/mnt/c/Users/user/Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/screenshots",