Skip to content

Instantly share code, notes, and snippets.

View hhhaiai's full-sized avatar
♣️
Focusing

hhhaiai hhhaiai

♣️
Focusing
View GitHub Profile
@hhhaiai
hhhaiai / download-wechat-video.md
Created March 12, 2025 09:37 — forked from zh4n7wm/download-wechat-video.md
下载 微信视频号、网页中的视频文件
@hhhaiai
hhhaiai / agent loop
Created March 11, 2025 07:59 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@hhhaiai
hhhaiai / chelaile.php
Created October 6, 2024 06:18 — forked from Ancientwood/chelaile.php
chelaile
<?php
class chelaile
{
// 城市信息接口
private $citylist_url = 'https://web.chelaile.net.cn/cdatasource/citylist';
// 附近站点线路及信息
private $homePageInfo = 'https://api.chelaile.net.cn/bus/stop!homePageInfo.action';
//实时接口
private $lineDetail = 'http://api.chelaile.net.cn/bus/line!lineDetail.action';
//公交车细节
@hhhaiai
hhhaiai / github-release-download.sh
Created September 18, 2024 12:59 — forked from wfxr/github-release-download.sh
从Github上面下载最新的Release包
# eg: download exa
curl -s https://api.github.com/repos/ogham/exa/releases/latest | grep browser_download_url | grep linux | cut -d'"' -f4
@hhhaiai
hhhaiai / puppeteer.js
Created May 14, 2024 13:21 — forked from i-sync/puppeteer.js
Python use selenium skip cloudflare Verify you are human
//this works.
const puppeteer = require('puppeteer');
const fs = require('fs')
const path = require('path')
const { promisify } = require('util')
const readFileAsync = promisify(fs.readFile)
const writeFileAsync = promisify(fs.writeFile);
@hhhaiai
hhhaiai / LocalWifiIP.md
Created September 24, 2023 06:54 — forked from mathieugerard/LocalWifiIP.md
Get Local Wifi IP address on iOS and Android

Get Local Wifi IP address on iOS and Android

This Gist provide the function to retrieve the local IP address of the device when connected to the wifi.

iOS

No permission is required from the user to access the information. It uses the getifaddrs method that is not directly part of the public iOS API but it's still perfectly fine to use it and allowed by Apple.

Sources

@hhhaiai
hhhaiai / amap.text
Created September 21, 2023 03:49 — forked from hydrz/amap.text
瓦片图说明
高德卫星 AmapSatellite
http://wprd04.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&style=6
高德地图 AmapTile
http://wprd04.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&style=7
高德路网含标注 AmapRoadMark
http://wprd04.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&scl=1&style=8
高德路网不含标注 AmapRoad
@hhhaiai
hhhaiai / fk_root.js
Created September 11, 2023 06:07 — forked from h1code2/main.js
FRIDA过ROOT检测 #root # frida
function showStacks() {
Java.perform(function() {
console.log(Java.use("android.util.Log").getStackTraceString(Java.use("java.lang.Exception").$new()));
});
}
function hook() {
Java.perform(function () {
const commonPaths = [
"/data/local/bin/su",
@hhhaiai
hhhaiai / gist:5d381a36a42640437e396935b23db203
Last active July 31, 2023 01:03 — forked from 0x9be00ff1/gist:3552281
sublime配置文件详解
// While you can edit this file, it’s best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
// 主题文件的路径
//"color_scheme": "Packages/Color Scheme – Default/Monokai.tmTheme",
import android.app.AppComponentFactory;
import android.content.pm.ApplicationInfo;
import android.util.Log;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.Channels;
import java.util.ArrayList;
import java.util.List;
import java.util.zip.ZipFile;