This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Send / Receive payload using ArrayBuffer, see output in devtools.</p> | |
<button id='send'>Send payload to main</button> | |
<button id='receive'> Receive payload from main</button> | |
<script src="renderer.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zhdate import ZhDate | |
from datetime import datetime | |
def nextYear(date): | |
date = datetime(date.year + 1, date.month, date.day) | |
zhDate = ZhDate.from_datetime(date) | |
return date, zhDate | |
def matched(date, zhDate, orignalDate, originalZhDate): | |
month = date.month == orignalDate.month and zhDate.lunar_month == originalZhDate.lunar_month |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import sys | |
import signal | |
# TODO: How to increase the possibility for turning yellow to green? | |
def stupid_wordle_solver(wordlist, exclude, include, pattern="_____", limit=5): | |
assert(len(exclude) != 0) | |
exclude_pattern = pattern.replace('_', f"[^{exclude}") | |
candidates = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*://0955zn.com/* | |
*://118.119.9.140/* | |
*://124.128.244.211/* | |
*://202.114.181.28/* | |
*://218.75.15.78/* | |
*://221.182.185.154/* | |
*://240722753.kantonalcup.ch/* | |
*://24h.m.pchome.com.tw/* | |
*://27.195.3.39/* | |
*://360ai.org/* |