逆向工程说明: 本文档基于 nof1.ai Alpha Arena 的公开文档、交易行为模式、API 响应格式和社区讨论,系统性地逆向推导出其 System Prompt 和 User Prompt 的完整结构,欢迎各路大佬戳戳评论,一起来进行这个有趣的实验。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: MIT | |
| pragma solidity =0.7.6; | |
| pragma abicoder v2; | |
| import "https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/ISwapRouter.sol"; | |
| import "https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/IQuoter.sol"; | |
| import {IERC20, SafeERC20} from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4-solc-0.7/contracts/token/ERC20/SafeERC20.sol"; | |
| interface IUniswapRouter is ISwapRouter { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 通过nginx反向代理go语言写的http服务器 | |
| 1. nginx 配置 | |
| #列出所有服务器地址,nginx 自动均衡分发请求到各个服务器。 | |
| upstream frontends { | |
| ip_hash; | |
| server 192.168.199.1:8088; | |
| server 192.168.199.2:8089; | |
| } | |
| server { | |
| listen 80; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| var | |
| LIVERELOAD_PORT = 35729, | |
| lrSnippet = require('connect-livereload')({ port: LIVERELOAD_PORT }), | |
| mountFolder = function( connect, dir ) { | |
| return connect.static(require('path').resolve(dir)); | |
| }; | |
| module.exports = function( grunt ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // UIImage+H568.m | |
| // | |
| // Created by Angel Garcia on 9/28/12. | |
| // Copyright (c) 2012 angelolloqui.com. All rights reserved. | |
| // | |
| #import <objc/runtime.h> | |
| @implementation UIImage (H568) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| @author: dawn | |
| ''' | |
| import urllib, urllib2, cookielib, json | |
| from datetime import datetime | |
| EMAIL = 'xxx@gmail.com' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| requests==2.4.3 | |
| rsa==3.1.4 |
This is a Chinese version of https://gist.github.com/1207002/86f48cd3b3b72c85e6293926cf7c730de03b2f08 from lucasfais
| ⌘T | 前往文件 |
| ⌘⌃P | 前往项目 |
| ⌘R | 前往 method |
| ⌘⇧P | 命令提示 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* module name: wawaevent | |
| * version: 0.1 | |
| * depend:underscore,backbone | |
| * description: 处理javascript的异步任务流 | |
| * document: | |
| * setup:指定任务流逻辑 | |
| * 1. 可以用sequence来设置一个列表来制定, 如{'sequence': ['worker1', 'worker2', 'worker3']} | |
| * 1. 可以用逗号隔开多个eventName,然后制定一个handler,如{'worker1.error, worker2.error': 'default_error_handler'} | |
| * 1. 可以单独指定一个事件的handler,handler除了可以使用任务流名字外 | |
| * ,还可以直接使用函数,如{'worker1': function(){console.log('worker1 success')}} |
NewerOlder