修改WordPress 文章内分页样式

最近写了一篇比较长的隐私文章,用到了wp的文章分页功能。却发现默认的分页的页面又小又难找。于是想修改wp的默认分页,网上找了下相关的代码基本都是下面的样子:

 '

',
    'link_before'       => '',
    'link_after'        => '',
    'next_or_number'    => 'next',
    'separator'         => ' | ',
    'nextpagelink'      => __( 'Next »', 'textdomain' ),
    'previouspagelink'  => __( '« Previous', 'textdomain' ),
);
 
wp_link_pages( $args );
?>

但是我尝试了上面的方法并没有任何的效果,通过wp_link_pages( $args );传送的参数没有生效。

Continue Reading

IDA PRO 7.5 KEYGEN

========================= IDA-Pro Key Generator ========================

Use this program to make your IDA-Pro copy look legit or to increase the
number of seats for your license.

I used to support IDA a long time ago but they have exponentially increased
the prices of their products and insisted on a yearly subscription based
payment. Without an active plan one can’t even access the IDA forum.

So I’ve continued to use IDA-Pro and for the last 20 years I had every
single version either leaked or “borrowed” from friends with my own
generated licenses.

Continue Reading

jira无法正常显示图片

jira安装之后,图片在富文本编辑器内能正常显示,但是在附件内无法显示,如果查看会发现图片的连接是127.0.0.1.

nginx原始配置如下:

server{
  listen 80;
  server_name jira.test.net; # 公网ip
  index  index.php index.html index.htm;

  location / {
    proxy_pass  http://127.0.0.1:8002;
    proxy_set_header Host $proxy_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}

将proxy地址设置为公网,并且修改为以下配置就可以正常访问了:

server{
  listen 80;
  server_name jira.test.net; # 公网ip
  index  index.php index.html index.htm;



  location / {
    proxy_pass  http://47.xxx.xxx.12:8002;
                proxy_redirect          off;
                proxy_set_header        Host $host:$server_port;   ##重点在$server_port
                proxy_set_header        X-Real-IP $remote_addr;
                proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_max_temp_file_size 0;
                proxy_connect_timeout 90;
                proxy_send_timeout 90;
                proxy_read_timeout 90;
                proxy_buffer_size 4k;
                proxy_buffers 4 32k;
                proxy_busy_buffers_size 64k;
                proxy_hide_header Vary;
                proxy_set_header Accept-Encoding '';
                proxy_set_header Referer $http_referer;
                proxy_set_header Cookie $http_cookie;

}
}

Delphi RAD Studio 10.4 Sydney Architect 27.0 完美免费注册版

RAD Studio 10.4是一个开发人员的终极RAD环境,带来你想象不到的开发应用程序的便捷性和速度,并具有所有你需要用到的能力和功能,轻松提高生产力,该环境使用强大的可视化设计工具和集成的工具链在现代C ++和Delphi中快速构建高性能的本机跨平台应用程序!

RAD Studio 10.4提供了显着增强的高性能本机Windows支持,通过出色的快速代码完成功能提高了生产率,通过托管记录提高了代码速度,并在现代多核CPU上增强了并行任务,提供了1000多个质量和性能增强功能。此版本在整个产品中添加了重要的新功能和增强的Windows功能,此外还跨支持的平台提供了重要的生产力和性能增强功能。让应用程序更快,功能更强,使用更人性化,更轻松地维护应用程序的向前发展。

RAD Studio 10.4是多年来对Delphi代码工具改进最大的一次,使用语言服务器协议(LSP)实现提供了Code Insight。在处理具有数百万行代码的大型项目时,10.4可大大提高开发人员的工作效率。

Continue Reading

Borland Delphi 7 Science Edition 2020 (x86) (12.2020)

Size File: 1.72 GB

Delphi 7 is a well-known program from Borland, namely a development tool for programming both at the initial and professional levels. One of the best and most popular products from Borland.


The package includes an extended developer kit – more than a hundred third-party components and fixes, correctly configured to avoid conflicts during use.

Add. Information: Since 2004, this package has been successfully used to create software for laboratory instruments, including for communication of equipment with a personal computer, and has been constantly expanded with components of third-party developers. The issue of licensing the package remains open, since the Delphi 7 environment is not officially supported, but all components in the package are full working and verified versions. The environment installer is quite interactive and implemented as a Web interface. Please read the readme.doc file for installation difficulties.
The assembly is supplied with a huge number of examples.

Continue Reading

Cannot open pip-script.py

这几天一直在折腾faceswap,安装过程中发现各种神奇的bug。首先第一个就是github无法正常访问的问题,clone代码的时候各种提示服务器连接超时。可以修改hosts文件添加以下内容:

# github
#192.30.255.113 github.com
#192.30.255.113 gist.github.com
#151.101.52.133  raw.githubusercontent.com
#151.101.53.194  github.global.ssl.fastly.net
140.82.114.4 github.com
199.232.69.194 github.global.ssl.fastly.net

添加之后执行dns刷新:

ipconfig /flushdns

然后github基本就可以正常访问了。安装完成之后发现出现了另外一个问题,提示没有tensorflow-gpu环境。但是尝试执行安装时又提示下面的错误:

Continue Reading

百度拼音输入法引发的智障闪退

换了电脑之后需要安装java的运行环境,于是下载了jdk,开始一切正常,但是点击安装之后就闪退了。安装进程直接消失了。下载jre也是同样的错误,真是tm神奇了。查看系统日志会发现是baiducnTSF.dll_unloaded导致的错误:

详细错误日志如下:

错误应用程序名称: jdk-8u271-windows-x64.exe,版本: 8.0.2710.9,时间戳: 0x5f627c6a
错误模块名称: baiducnTSF.dll_unloaded,版本: 5.5.5063.0,时间戳: 0x5e6a3130
异常代码: 0xc0000005
错误偏移量: 0x000000000001c81f
错误进程 ID: 0x49c8
错误应用程序启动时间: 0x01d6c65777e016e0
错误应用程序路径: C:\Users\obaby\AppData\Local\Temp\jds333500.tmp\jdk-8u271-windows-x64.exe
错误模块路径: baiducnTSF.dll
报告 ID: eb507998-894f-4a2d-a8b3-f608a5da24ab
错误程序包全名: 
错误程序包相对应用程序 ID: 
Continue Reading