Skip to content

Instantly share code, notes, and snippets.

View devunt's full-sized avatar
🙃
Being unproductive

Bae Junehyeon devunt

🙃
Being unproductive
View GitHub Profile
import { ESLintUtils } from '@typescript-eslint/utils';
export default ESLintUtils.RuleCreator((name) => name)({
name: 'no-excessive-whitespace',
meta: {
type: 'layout',
fixable: 'whitespace',
docs: {
description: 'Find excessive whitespace in classnames',
recommended: false,
Dart +22.5k/ -19.1k ███████████████████▍░ 92.7%
Svelte +441/ -365 ▋░░░░░░░░░░░░░░░░░░░░ 3.1%
TypeScript +520/ -208 ▌░░░░░░░░░░░░░░░░░░░░ 3.0%
GraphQL +408/ -14 ▏░░░░░░░░░░░░░░░░░░░░ 0.8%
JavaScript +30/ -12 ░░░░░░░░░░░░░░░░░░░░░ 0.2%
Text +12/ -20 ░░░░░░░░░░░░░░░░░░░░░ 0.2%
YAML +8/ -0 ░░░░░░░░░░░░░░░░░░░░░ 0.0%
JSON +3/ -0 ░░░░░░░░░░░░░░░░░░░░░ 0.0%
Markdown +16/ -0 ░░░░░░░░░░░░░░░░░░░░░ 0.0%
🌞 Morning 22 commits ███░░░░░░░░░░░░░░░░░░ 14.3%
🌆 Daytime 66 commits ████████▉░░░░░░░░░░░░ 42.9%
🌃 Evening 52 commits ███████░░░░░░░░░░░░░░ 33.8%
🌙 Night 14 commits █▉░░░░░░░░░░░░░░░░░░░ 9.1%

Keybase proof

I hereby claim:

  • I am devunt on github.
  • I am devunt (https://keybase.io/devunt) on keybase.
  • I have a public key whose fingerprint is 6319 6E84 D527 B115 7313 FC91 C9E4 965E 901B 88E7

To claim this, I am signing this object:

@devunt
devunt / ozinger-api.md
Last active November 15, 2022 10:00
오징어 IRC 네트워크 API 문서

오징어 IRC 네트워크 API 문서

관련 IRC 명령

  • /s registerapp ? (앱 최초 등록 및 토큰 발급)
  • /s enableapp ? (앱을 특정 채널에서 사용 가능하도록 활성화)
  • /s disableapp ?
  • /s unregisterapp ?
import re
import requests
RE_AUTHENTICITY_TOKEN = re.compile(r'<input.*value="(?P<token>[a-z0-9]{40})".*>')
class Twitter:
def __init__(self, username, password):
self.session = requests.Session()
@devunt
devunt / neurolinker.py
Last active August 29, 2015 14:04
BLE rssi catcher
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import atexit
import bluetooth._bluetooth as bluez
import struct
import subprocess
from time import time
from threading import Timer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from threading import Thread
import subprocess
import logging
import os
SCREEN_LOCK = ["sudo", "-u", "devunt", "/usr/bin/gnome-screensaver-command", "-a"]
SCREEN_UNLOCK = ["sudo", "-u", "devunt", "/usr/bin/gnome-screensaver-command", "-d"]
@devunt
devunt / xchat_disable_shortcut.patch
Created December 6, 2013 01:11
A xchat patch to disable annoying keyboard shortcuts.
--- src_old/fe-gtk/menu.c 2013-12-06 10:07:24.153513364 +0900
+++ src_new/fe-gtk/menu.c 2013-12-06 10:07:09.105417417 +0900
@@ -1562,11 +1562,13 @@
static struct mymenu mymenu[] = {
{N_("_XChat"), 0, 0, M_NEWMENU, 0, 0, 1},
- {N_("Network Li_st..."), menu_open_server_list, (char *)&pix_book, M_MENUPIX, 0, 0, 1, GDK_s},
+ //{N_("Network Li_st..."), menu_open_server_list, (char *)&pix_book, M_MENUPIX, 0, 0, 1, GDK_s}, --20131206 devunt
+ {N_("Network Li_st..."), menu_open_server_list, (char *)&pix_book, M_MENUPIX, 0, 0, 1},
{0, 0, 0, M_SEP, 0, 0, 0},
~모그님 디도스 쏘신다~
디도스 디도스 모그님 쏘신다
유선번쩍 무선번쩍 전산망을 쥐락펴락
좀비들을 한대모아 디도스 쏘신다
브레인 쏘시던 디도스 오늘은 선관위 쏘신다
TCP(티씨피) 패킷 UDP(유디피) 패킷
디도스 쏘신다