Skip to content

Instantly share code, notes, and snippets.

View luiseok's full-sized avatar

luiseok luiseok

  • localhost
  • 02:30 (UTC +09:00)
View GitHub Profile
@luiseok
luiseok / 3Dprinter-Monitor.yaml
Created February 23, 2025 14:04
TTGO T5 2.13 E-paper ESPHome yaml
substitutions:
allowed_characters: " !#%'()+,-./0123456789:;<>?@ABCDEFGHIJKLMNOPQRSTUVWYZ[]_abcdefghijklmnopqrstuvwxyz{|}°²³가각간갇갈갉갊감갑값갓갔강갖갗같갚갛개객갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫났낮낯낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫달닭닮닯닳담답닷닸당닺닻닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많맏말맑맒맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및
@luiseok
luiseok / DDNotiWidget.js
Last active September 15, 2022 16:19
Scriptable-Dogdripnet-notification
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-gray; icon-glyph: bone;
/**
* @author 어그로학교수
* released at 2022.09.15
* use as your own risk
*/
@luiseok
luiseok / index.js
Created January 21, 2022 08:56
testing xss
alert(1);
@luiseok
luiseok / keybase.md
Created December 20, 2021 04:36
keybase.md

Keybase proof

I hereby claim:

  • I am luiseok on github.
  • I am luiseok (https://keybase.io/luiseok) on keybase.
  • I have a public key whose fingerprint is 5023 CAEE F5A7 8070 F791 6337 6437 33E4 4AF1 EBE2

To claim this, I am signing this object:

@luiseok
luiseok / gist:eb41757ba580f9412783352cb2003700
Created August 11, 2021 14:10
IntelliJ Vue Single File Component File Template
#set( $regex = "([a-z])([A-Z]+)")
#set( $replacement = "$1-$2")
#set( $COMPONENT_NAME_KEBAB = $COMPONENT_NAME.replaceAll($regex, $replacement).toLowerCase())
<template>
<div class="${COMPONENT_NAME_KEBAB}">
#[[$END$]]#
</div>
</template>
<script>
@luiseok
luiseok / docker-compose.yml
Created March 1, 2020 09:56
ST SmartApps Connectors for Raspberry pi
version: "3"
services:
connector:
image: fison67/mi-connector-arm:latest
restart: always
ports:
- "30000:30000"
volumes:
- ./docker/mi-connector:/config
@luiseok
luiseok / component.vue
Last active October 31, 2019 11:58
vue js use cdn
<template>
<div></div>
</template>
<script>
export default {
name: "Component",
data: () => ({
player: null, // 스크립트 로드 이후 객체를 저장 할 변수
script: null, // 스크립트에 대한 정보를 가지고 있을 변수
@luiseok
luiseok / index.js
Last active July 7, 2018 12:44
blog posting
export const actions = {
async nuxtServerInit({commit}, {req}) {
let cookie = req.headers.cookie.split(';').find(c => c.trim().startsWith('token='));
if (cookie == "" ||
cookie == null ||
cookie == undefined ||
(cookie != null && typeof cookie == "object" && !Object.keys(cookie).length)) return
else {
//jwt 토큰이 있는 경우
@luiseok
luiseok / example.vue
Created July 3, 2018 14:13
Vue.js bind URI query to computed
<template>
<div>this is an exmaple of binding url query to vue.js computed property</div>
</template>
<script>
name: "example",
computed : {
page: {
get() {
//set default value here
@luiseok
luiseok / install.sh
Created September 9, 2017 18:13 — forked from ziadoz/install.sh
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`