随笔 - 121  文章 - 1  评论 - 8  阅读 - 20万
06 2018 档案
datatables
摘要:这个错误是因为 数据格式不对, 数据格式: data 当 设置 dataSrc 这个属性时, 需要返回 [{},{}], 这种格式的数组数据, 数组的每个元素对应一行 这个是 columns[{data:'tx'}], 跟 返回数据格式不一致导致的 阅读全文
posted @ 2018-06-20 16:42 listenerln 阅读(126) 评论(0) 推荐(0) 编辑
Linux C语言中sscanf 的详细用法[转载]
摘要:sscanf() - 从一个字符串中读进与指定格式相符的数据. 说明: sscanf与scanf类似,都是用于输入的,只是后者以屏幕(stdin)为输入源,前者以固定字符串为输入源。其中的format可以是一个或多个 {%[*] [width] [{h | l | I64 | L}]type | ' 阅读全文
posted @ 2018-06-15 10:44 listenerln 阅读(3894) 评论(0) 推荐(0) 编辑
html 开发者工具使用教程
摘要:F12打开开发者工具 元素选择器: 鼠标点击后可以选择页面的元素, 下面页面部分会主动将对应源码标识出来 console: 终端, 可以执行js脚本, 显示日志信息 source: 显示源码, 可以修改, 调试页面 url没有指明要访问的页面, 默认就是inde, 所以(index) 这个页面是浏览 阅读全文
posted @ 2018-06-12 17:30 listenerln 阅读(254) 评论(0) 推荐(0) 编辑
http 安全
摘要:HSTS: 响应头中包含 Strict-Transport-Security: max-age=31536000; 表示 使用http访问时, 要求浏览器强制转换为https 当用户已经安全的登录开启过htst功能的网站 (支持hsts功能的站点会在响应头中插入:Strict-Transport-S 阅读全文
posted @ 2018-06-12 17:23 listenerln 阅读(162) 评论(0) 推荐(0) 编辑
Makefile
摘要:# 编译静态/动态库 GCC = gcc AR = ar CFLAGS += -Wall -g -fPIC LIB += -ljson-c LIB += -lcrypto #OBJ = libweb.a OBJ = libweb.so all: $(OBJ) libweb.so: auth.o utiles.o $(GCC)... 阅读全文
posted @ 2018-06-12 16:24 listenerln 阅读(102) 评论(0) 推荐(0) 编辑
http 回应格式
摘要:HTTP/1.1 200 OK\r\n Set-Cookie: fsm_login=21232f297a57a5a743894a0e4a801fc3; path=/\r\n content-type:application/json\r\n Content-Length: 80\r\n\r\n {"hwid":"6cda2df5b71cf8d3d24515fd308a7b73","type":... 阅读全文
posted @ 2018-06-07 11:33 listenerln 阅读(207) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示