这个月的全部文章
@kidultff

Nginx配置NextCloud强行给静态文件(JS、CSS)添加CDN加速

NextCloud在加载大量插件的时候会引入大量的js和css文件,这些文件如果全部通过CDN进行加速,访问效果将会大幅提升(在自身服务器比较弱的情况下)找了下Nextcloud的appstore,没有发现比较好用的cdn插件,所以直接用nginx来下手。首先nginx保证已 ...
  • 0
  • 3
@kidultff

Python实现推广营销邮件自动发送系统

*文中的全部代码为在Python2.7下开发,在3.x的环境下尚未测试。Python使用自带的email库的SMTP功能发邮件:from email.mime.text import MIMEText import smtplib from email.header import Header def&nbs ...
  • 0
  • 2
@kidultff

C++实现二阶Runge-Kutta算法

算法描述详见《微分方程数值解》或《数值分析》直接上代码:/** * Runge-Kutta Algorithm * @author Kidultff * @Time 2019-03-15 15:15 */ #include <bits/stdc++.h> using namespace& ...
  • 0
  • 1
@kidultff

PAT 2019甲级春季考试真题4 Structure of a Binary Tree

Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, a binary tree can be uniquely determined.Now given a sequence of statements about the structure of th ...
  • 0
  • 0
@kidultff

PAT 2019甲级春季考试真题3 Telefraud Detection

Telefraud(电信诈骗) remains a common and persistent problem in our society. In some cases, unsuspecting victims lose their entire life savings. To stop this crime, you are supposed to write a program to detect those suspects fr ...
  • 0
  • 0