Skip to content

Instantly share code, notes, and snippets.

View Fazich's full-sized avatar

阿Q虾米 Fazich

View GitHub Profile

nof1.ai Alpha Arena 提示词工程逆向分析

逆向工程说明: 本文档基于 nof1.ai Alpha Arena 的公开文档、交易行为模式、API 响应格式和社区讨论,系统性地逆向推导出其 System Prompt 和 User Prompt 的完整结构,欢迎各路大佬戳戳评论,一起来进行这个有趣的实验。

GitHub - nof0 Follow @wquguru

目录

const input = document.createElement('input');
input.value = '复制内容';
document.body.appendChild(input);
input.select();
document.execCommand('Copy');
document.body.removeChild(input);
@iphone4: ~'only screen and (max-devide-width: 320px) and (-webkit-min-device-pixel-ratio: 2)';
@iphone5: ~'only screen and (max-device-width: 320px) and (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2)'
@iphone6: ~'only screen and (max-device-width: 375px) and (device-height: 736px) and (-webkit-min-device-pixel-ratio: 2)'
@iphoneX: ~'only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) '
@iphoneXR: ~'only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-min-device-pixel-ratio: 2)'
@iphone12: ~'only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-min-device-pixel-ratio: 3)'
@iphone12Max: ~'only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-min-device-pixel-ratio: 3)'
const parseQuery = () => {
const search = window.location.search;
return search
.slice(1)
.split("&")
.reduce((query, it) => {
const [key, value] = it.split("=");
query[key] = decodeURIComponent(value);
return query;
}, {});
@Fazich
Fazich / gist:cedf5c7f96b2b8fc1f2c
Last active August 29, 2015 14:20
日常小问题大杂烩

#####1、使用伪类时注意添加content #####2、页面乱码除了meta标签没设置外,还有一种可能就是文件保存的编码格式不是uft-8 #####3、png-8 压缩高 透明度不是很好,一般是png-24 ie8用透明图片做动画会有黑边,ie6 ie7不支持png图片 #####4、左浮动外边框为1px时,两个div相邻看其实是 #####5、无关紧要的但是要操作的图标用绝对定位 #####6、chrome浏览器比12px小的按12px显示 #####7、百分比根据父级宽度定位,除了绝对定位 #####8、绝对定位设置宽为100%高为100%的话 #####9、em在段落缩进中常用 #####10、rem根据根元素计算