Skip to content

Instantly share code, notes, and snippets.

View temberature's full-sized avatar

Tong temberature

  • USA
View GitHub Profile
var i = getPageNumWords();
for (var p = 0; p < i; p++) {
var word = getPageNthWord(0, p, false);
console.println(word);
if (word == "通" && getPageNthWord(0, p - 1, false) == "沟") {
var annot = this.addAnnot({
page: 0,
type: "Highlight",
author: "A. C. Robat",
point: [300, 400],
@temberature
temberature / index.html
Last active August 24, 2022 23:07
rga client
<!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'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
192.168.1.102 gitlab.synology.com
192.168.1.8 nuc.com
@temberature
temberature / chat.mjs
Created February 2, 2023 05:48
chatgpt 迭代总结
import { ChatGPTAPIBrowser } from 'chatgpt'
import fs from 'fs'
import { readdir } from 'node:fs/promises';
const directoryPath = "./text";
async function example() {
// use puppeteer to bypass cloudflare (headful because of captchas)
@temberature
temberature / README.md
Created February 2, 2026 13:09 — forked from emschwartz/README.md
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

@temberature
temberature / main.cpp
Created March 19, 2026 06:13
RID Radar v5.0 - ASTM F3411 Full Decode
#include <Arduino.h>
#include <Wire.h>
#include <TFT_eSPI.h>
#include "esp_bt.h"
#include "esp_bt_main.h"
#include "esp_gap_ble_api.h"
#include "esp_wifi.h"
#include "esp_wifi_types.h"
#include "esp_event.h"
#include "nvs_flash.h"