I hereby claim:
- I am astrian on github.
- I am astrian (https://keybase.io/astrian) on keybase.
- I have a public key ASDvVYzlZxZToc9l_lKSWIxinGNaxOtUI797yHABoTHx3Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Importing frameworks | |
import { Bot } from "grammy" | |
import { ScriptServer } from '@scriptserver/core' | |
import { useEssentials } from '@scriptserver/essentials' | |
import * as shell from 'shelljs' | |
// Configs | |
const config = { | |
"bot": "<REDACTED>", | |
"chat": 0 |
I hereby claim:
To claim this, I am signing this object:
// 访问 https://www.ingress.com (记得一定要带 HTTPS,默认访问不带)然后启动控制台工具,复制以下代码。 | |
// 控制台会将旧 IITC 中的所有数据输出,将它复制到剪贴板中再继续下一步(或是启动新的标签页来进行下一步) | |
function exp() { | |
let getKey, i = 0, res = {} | |
do { | |
getKey = localStorage.key(i++) | |
let keyres = localStorage.getItem(getKey) | |
if (getKey) { | |
try { |
// 生成链表 | |
function genChain(callback) { | |
const getInput = require('prompt') | |
getInput.get(['string'], function (err, result) { | |
let input = result.string | |
let chain = {} | |
let start | |
let last | |
for (let i in input) { | |
// 进行编号 |
// 创建一个数组 | |
var array = new Array(5,4,1,2,9,3,8,7,10,6); | |
// 执行函数并输出结果(将在以后的代码声明此函数) | |
console.log("最小值为 "+findMin(array)); | |
// 声明递归函数 | |
function findMin(values){ | |
// 设定基准值 |