wechatwin.dll细则若干
微信2.6.8.68sha1(WeChatWin.dll) = 2E9417F4276B12FE32CA7B4FEE49272A4A2AF334打开log参考: https://s7so.com/article/100.html需要准备:x64dbg/ida等等debug工具微信Mars源码 https://github.com/Tencent/mars按照参考文章,需要sg_console...
cmake, HOW TO
有时就该放弃幻想CMake使用技巧合集我们需要引第三方库的时候,有几个法子:add_subdirectory(subprojectfolder)include(findRapidJson.cmake) -> findRapidJson()ExternalProject_Add(childproject ...)最后一个:ExternalProject_Add是万金油写法,指执行外部脚本...
nginx add_header not working
See this conf first:location /i/ {
add_header X-Frame-Options "SAMEORIGIN" always;
if ($uri ~ "^/i/([0-9a-zA-Z]*)([/]{0,1})$") {
set $id $1;
add_header Set-Cookie "...
chrome headless by puppeteer: No dialog is showing
I wrote these code and run on chrome headless mode.page.on('dialog', async dialog => {
console.log('Dialog: ', dialog.type()); // 'confirm'
await delay(2000...
趣题 摆书 USACO 2012 Bookshelf
http://www.usaco.org/index.php?page=viewproblem2&cpid=138首先第一反应是可以做n2的dp,但是总有种预感是会有更优化的解法,想了想优化dp的迭代过程又没有结果。这时我有种感觉是这题可以用队列做,找单调性。好的答案来了设dp[i]是放完前i本书以后 书架的最小高度,显然dp单调递增。程序从第一本书开始,一本一本的往书架里填塞:我们用一个双...