Skip to content

Instantly share code, notes, and snippets.

View 000hen's full-sized avatar
Have a seat and take some coffee, let's talk about our life

Muisnow 000hen

Have a seat and take some coffee, let's talk about our life
View GitHub Profile
@000hen
000hen / GoogleFetcher.py
Last active September 16, 2021 10:51
Google Fetcher
# !!Install BeautifulSoup, Requests First!!
import requests as rs
import sys
import json
from bs4 import BeautifulSoup
from urllib.parse import parse_qs, urlparse
search = [
# String of what you want to search
@000hen
000hen / light.cpp
Created July 8, 2022 15:38
Light Table
/*
Light game
This source code is following the rules of the game rules.
Rules should be "Click one light on the table, then the light and its around (top, bottom, left, right) will be toggled."
Author: Muisnow (@000hen)
*/
#include<iostream>
@000hen
000hen / README.md
Last active September 8, 2022 03:52
花蓮高中無線網路自動登入

花蓮高中網路(WIFI)(HLHS)自動登入

請注意: 這個工具目前僅限於Android裝置,IOS裝置你需要自行手動登入(登入步驟相似)

請先下載這個檔案

使用方法

  1. 首先,你需要有一個花中的電子郵件(@hlhs.hlc.edu.tw)
  2. 下載 Automate
  3. 開始你剛下載的檔案
@000hen
000hen / content.js
Last active August 4, 2025 19:23
YouTube Shorts auto scrolling
const vd = document.querySelector("video");
const btn = () => document.querySelector("#navigation-button-down button");
vd.removeAttribute("loop");
vd.onended = () => btn().click();
const observer = new MutationObserver((e) => vd.removeAttribute("loop"));
observer.observe(vd, { attributes: true, attributeFilter: ['loop'] });
@000hen
000hen / index.html
Created May 21, 2026 10:36
Experimential Cross Tab Communication
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cross Tab Communication</title>
<style>
* {
margin: 0;
@000hen
000hen / ac_protocol.h
Created June 15, 2026 13:46
Sampo remote controller protocol
/*
* ac_protocol.h
* -----------------------------------------------------------------------------
* Reverse-engineered IR protocol for a cheap split A/C remote.
* Fully derived in "Branch · 解碼冷氣IR訊號.pdf" by diffing recorded packets.
*
* This header records the *format only* (timings, byte layout, field encodings)
* plus pure helper functions to build/parse a frame. It has no Arduino
* dependency, so the same file is shared by the Arduino sketch and is mirrored
* (and self-tested) by verify.py.