Skip to content

Instantly share code, notes, and snippets.

View SaidBySolo's full-sized avatar
🪖
2023.3.13~2024.09.12

Ryu Juheon SaidBySolo

🪖
2023.3.13~2024.09.12
View GitHub Profile

Keybase proof

I hereby claim:

  • I am saidbysolo on github.
  • I am saidbysolo (https://keybase.io/saidbysolo) on keybase.
  • I have a public key ASDePNxfaxwkL75pas6FGgRG9WzfS5OB-Iee6YbyO6Zw5Ao

To claim this, I am signing this object:

import binascii
import math
from random import Random
from qiskit import (
IBMQ,
ClassicalRegister,
QuantumCircuit,
QuantumRegister,
BasicAer,
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:
# Simple Github action snippet
# Author: Ryu juheon(SaidBySolo)
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
@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}
@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
# coding: UTF-8
# title: Hiyobi.me 북마크 다운로드 스크립트
# comment: Hiyobi.me 북마크를 다운로드합니다
# author: SaidBySolo
"""
MIT License
Copyright (c) 2020 Saebasol
@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: 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: 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