草庐IT

simple_shellcode

全部标签

对接水仙后台(支持AndLua+、FA、FA2、AIDE lua、Simple Lua等)

前言上一篇文章中写了lua对接水仙后台,不过发现不能支持图片上传,比如修改头像等,通过修改,支持了api封装require"import"import"http"shuixian={post=function(moduleName,method,postdata,filedata,call)localurl="http://shuixian.ltd/main/api/"if(filedata==nil)thencontent,cookie,code,header=http.post(url..moduleName.."/"..method..".php",postdata)call(code,

对接水仙后台(支持AndLua+、FA、FA2、AIDE lua、Simple Lua等)

前言上一篇文章中写了lua对接水仙后台,不过发现不能支持图片上传,比如修改头像等,通过修改,支持了api封装require"import"import"http"shuixian={post=function(moduleName,method,postdata,filedata,call)localurl="http://shuixian.ltd/main/api/"if(filedata==nil)thencontent,cookie,code,header=http.post(url..moduleName.."/"..method..".php",postdata)call(code,

关于 c :Can\\’t apply FFT on a simple cosine wave

Can'tapplyFFTonasimplecosinewave我已经阅读了很多关于离散傅里叶变换的文章,但我发现自己很难将它应用于简单的余弦波。我正在使用Kiss_fft库来计算一组数据的DFT,并使用位图库来可视化结果。这是C代码:#defineFIXED_POINT32#include"kiss_fft.h"intmain(){    constintwidth=512;  constintheight=512;  constintalign_center=256;  constintfft_siz=width;  constintis_inverse=0;  Bitmapbmp_t("

关于 c :Can\\’t apply FFT on a simple cosine wave

Can'tapplyFFTonasimplecosinewave我已经阅读了很多关于离散傅里叶变换的文章,但我发现自己很难将它应用于简单的余弦波。我正在使用Kiss_fft库来计算一组数据的DFT,并使用位图库来可视化结果。这是C代码:#defineFIXED_POINT32#include"kiss_fft.h"intmain(){    constintwidth=512;  constintheight=512;  constintalign_center=256;  constintfft_siz=width;  constintis_inverse=0;  Bitmapbmp_t("