Skip to content

Instantly share code, notes, and snippets.

View Quanhua-Guan's full-sized avatar
🎯
Focusing

Quanhua Guan Quanhua-Guan

🎯
Focusing
View GitHub Profile
@Quanhua-Guan
Quanhua-Guan / THIS-Photo-Vault-Privacy-and-Support.md
Created October 28, 2026 08:26
THIS Photo Vault — Support and Privacy Policy

THIS / 这个 — Privacy and Support

Last updated: October 28, 2026

This policy describes the THIS / 这个 photo vault for iPhone and iPad, bundle identifier com.cqmh.PhotoLock.

Photos and the local pattern lock

Photos you import, album information and your pattern-lock settings are stored in the app's local container. Imported vault images are stored as encrypted files. We do not operate a service that receives or synchronizes your vault photos or pattern. The app does not require an online account.

//
// Created by はるふ on 2017/12/11.
// Copyright © 2017年 ha1f. All rights reserved.
//
import Foundation
import CoreImage
import AVFoundation
extension CIFilter {
@Quanhua-Guan
Quanhua-Guan / JavaScript
Last active May 21, 2024 04:11
A Flashbots demo
import { ethers } from "ethers";
import {
FlashbotsBundleProvider,
FlashbotsBundleResolution,
} from "@flashbots/ethers-provider-bundle";
//const GWEI = 10n ** 9n;
const CHAIN_ID = 1;//11155111; // goerli测试网,如果用主网,chainid 改为 1
// 1. 普通rpc (非flashbots rpc)