Skip to content

Instantly share code, notes, and snippets.

View SaidBySolo's full-sized avatar

Ryu Juheon SaidBySolo

View GitHub Profile
@SaidBySolo
SaidBySolo / corona.py
Last active February 26, 2020 02:42
Current status korea crawling of coronavirus 19 on Naver(discord.py)
"""
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: Download naver post image
# author: SaidBySolo
# comment: 네이버 포스트의 이미지를 다운로드합니다
"""
MIT License
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
# 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
@SaidBySolo
SaidBySolo / README.md
Last active May 6, 2021 13:49
네이버 카페 작성 글 댓글 자동삭제

저는 비틱이 아닙니다

아 진짜라고요;;

카페홈 -> 내카페 관리 -> 내가쓴글보기 -> 작성글 or 작성댓글

ctrl + shift + i or F12 -> console

ctrl c ctrl v

# coding: UTF-8
# title: Hiyobi.me 북마크 다운로드 스크립트
# comment: Hiyobi.me 북마크를 다운로드합니다
# author: SaidBySolo
"""
MIT License
Copyright (c) 2020 Saebasol
@SaidBySolo
SaidBySolo / poc.py
Created October 21, 2021 07:43
fast_download.py
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
@SaidBySolo
SaidBySolo / main.py
Last active November 13, 2021 06:52
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,