基础知识 看c++ primier (直接网上刷题) 一些关键字的作用的使用场景,static, protected, private 几种 cast 的区别 static_cast static_cast For “well-behaved” and “reasonably well-behave ...
分类:
编程语言 时间:
2018-10-27 16:13:48
阅读次数:
162
起因,在下班准备回家之际,收到几条朋友发来的信息,说他的网站在百度搜索做信息流广告推广,但是从百度搜索点击打开就会跳转的×××,让我帮忙排查下问题,是不是被挂马了,于是乎就开始了后面的故事
分类:
其他好文 时间:
2018-10-26 16:22:35
阅读次数:
182
一,GDI基础 GDI的绘图函数基本上都是有状态的,所有的函数都要求一个HDC类型的句柄。这个HDC的获得有几个途径BeginPaint,GetWindowDC, GetDC.他们的参数都只需要一个HWND就差不多了。记得调用了BeginPaint后要调用EndPaint进行清理,调用GetWind ...
我是按照这篇文章来的https://www.linuxidc.com/Linux/2016-09/135273.htm 但是看样子觉得https://www.cnblogs.com/xiaoluo501395377/archive/2013/05/14/3077880.html这篇文章也像是靠谱的样 ...
分类:
数据库 时间:
2018-10-25 15:38:43
阅读次数:
127
In a directed graph, we start at some node and every turn, walk along a directed edge of the graph. If we reach a node that is terminal (that is, it h ...
分类:
其他好文 时间:
2018-10-25 11:06:24
阅读次数:
176
Implement a Queue with pop and push operations using concurrency coding. package com.company; import java.util.*; import java.util.concurrent.locks.*;... ...
分类:
其他好文 时间:
2018-10-24 10:43:25
阅读次数:
114
主要内容: 1 分页: views里的代码: 2 html中的代码段: 3 自定义一个类分页 from django.utils.safestring import mark_safe class Pagination: def __init__(self, request, total_num, ...
分类:
其他好文 时间:
2018-10-23 23:05:12
阅读次数:
250
""" 分页器 """ from django.utils.safestring import mark_safe class Pagination: # request 为request请求, all_count为所有数据的个数, per_num为一页展示多少数据, max_show分多少页 de ...
分类:
其他好文 时间:
2018-10-23 21:07:18
阅读次数:
113
【一、在服务器端配置】 安全,PHP代码编写是一方面,PHP的配置更是非常关键。我们php手手工安装的,php的默认配置文件在 /usr/local/apache2/conf/php.ini,我们最主要就是要配置php.ini中的内容,让我们执行 php能够更安全。整个PHP中的安全设置主要是为了防 ...
分类:
数据库 时间:
2018-10-22 17:45:56
阅读次数:
242