아 진짜라고요;;
카페홈 -> 내카페 관리 -> 내가쓴글보기 -> 작성글 or 작성댓글
ctrl + shift + i or F12 -> console
ctrl c ctrl v
""" | |
The MIT License (MIT) | |
Copyright (c) 2020 SaidBySolo | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
# coding: UTF-8 | |
# title: Discord 서버 커스텀 이모지 다운로드 | |
# author: SaidBySolo | |
""" | |
MIT License | |
Copyright (c) 2020 SaidBySolo | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
# coding: UTF-8 | |
# title: Hiyobi.me 북마크 다운로드 스크립트 | |
# comment: Hiyobi.me 북마크를 다운로드합니다 | |
# author: SaidBySolo | |
""" | |
MIT License | |
Copyright (c) 2020 Saebasol |
from asyncio import run | |
from contextlib import suppress | |
from multiprocessing import freeze_support | |
from os import mkdir | |
from os.path import exists | |
from re import findall | |
from typing import Optional, Union | |
from aiofile import async_open # type: ignore | |
from aiohttp import ClientSession |
from hashlib import md5 | |
from typing import Any, Coroutine, Union, cast | |
from js2py.evaljs import EvalJs # type: ignore | |
from js2py.translators.translating_nodes import trans # type: ignore | |
from js2py.translators.translator import DEFAULT_HEADER # type: ignore | |
def make_js_program(body: list[Any]) -> dict[str, Any]: | |
return {"type": "Program", "body": body} |
# Simple Github action snippet | |
# Author: Ryu juheon(SaidBySolo) | |
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] |
from socket import AF_INET, SO_BROADCAST, SOCK_DGRAM, socket, SOL_SOCKET | |
class WOL: | |
def __init__(self, ip_address: str, mac_address: str, port: int = 6) -> None: | |
self.ip_address = ip_address | |
self.port = port | |
for char in [":", "-"]: | |
if char in self.mac_address: |
import binascii | |
import math | |
from random import Random | |
from qiskit import ( | |
IBMQ, | |
ClassicalRegister, | |
QuantumCircuit, | |
QuantumRegister, | |
BasicAer, |