Server酱

NodeJs 封装一个简单的请求.key:server酱SCKEYtext:标题desp:内容(支持MarkDown) const https = require('https'); var iconv = require("iconv-lite"); function serverBot(key = '', text = '', desp = '') { return new Promise((resolve, reject) => { let url = `https://sc.ftqq.com/${key}.send?text=${text}&desp=${desp}` https.get(url, function (res) { ...

read more..

TgBot

先去@BotFather创建一个机器人,具体步骤谷歌,拿到TOKEN npm i node-telegram-bot-api const token = "XXXXXXX"; const TelegramBot = require('node-telegram-bot-api'); const bot = new TelegramBot(token, {polling: true}); //监听信息 bot.on('message', (msg) => { //处理函数 // msg.chat.id 相当于用户ID // bot.sendMessage(msg.chat.id,"发送的文本"); }); on...

read more..

Flutter 第一次启动安卓报错

Running Gradle task 'assembleDebug'... Exception in thread "main" javax.net.ssl.SSLException: Connection reset at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:326) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:269) at java.base/sun.security.ssl....

read more..

NodeJs安装

wget http://ossfp.oss-cn-beijing.aliyuncs.com/1620366384005.xz tar -xvf 1620366384005.xz mv node-v12.11.1-linux-x64 nodejs ln -s /app/nodejs/bin/node /usr/local/bin/ ln -s /app/nodejs/bin/npm /usr/local/bin/ ln -s /app/nodejs/bin/pm2 /usr/local/bin/

read more..

个人收款免签约

这个软件叫做“双卡助手”,是一个监听手机短信、应用通知的软件,他可以将你手机的短信、应用通知等信息进行转发,可以转发到邮箱,公众号,甚至是手机号,还可以转发给服务器。 我们只需要使用他这个特性,将收到的微信支付通知,转发给服务器。 软件 软件: https://www.coolapk.com/apk/com.cozylife.smshelper2021/5/6备份:app-release-176517-o_1f3mfcmeqboi1ogbrm91j7u1luc10-uid-855054.apk...

read more..

gravatar全球通用头像

 https://cn.gravatar.com/avatar/4c6e391ddde7dae7d9ebf03bb584c064?s=73&d=retro 这里需要一个哈希值来确定头像的唯一性, 通过MD5加密就可以. s是尺寸, d是类型对应如下 .item { display: flex; align-items: center; margin-top: 20px; } .item img { margin-right: 12px;margin-left: 10px; } .item b { font-size: 2...

read more..

微信机器人

https://github.com/padlocal/wechaty-puppet-padlocal/wiki/TOKEN-%E7%94%B3%E8%AF%B7%E6%96%B9%E6%B3%95 app.ts import { PuppetPadlocal } from "wechaty-puppet-padlocal"; import { Contact, log, Message, ScanStatus, Wechaty, Friendship } from "wechaty"; const puppet = new PuppetPadlocal({ token: "token" }) const delay = ms => new Promise(resolve => setTimeout(resolve, m...

read more..