自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

chengfangang的专栏

linux c 开发 关注安全

  • 博客(2)
  • 资源 (15)
  • 收藏
  • 关注

原创 Django基于celery的异步任务实现

安装Celery 依赖包: celery 、 django-celery增加celery 配置, 主要是配置好工程的名称 在settings.py 中配置celery用到broker,这里用的是redis 在django工程中引入celery,在工程下面的init.py中加入代码from __future__ import absolute_import# This will make

2017-10-27 18:07:00 1071

原创 keepalived + nginx 配置

只说重点 VIP是由keepalived的conf 文件中设置的,不需要通过网卡设置。 有时候服务器需要绑定到VIP,此时VIP还没有”飘过去”, 可以设置参数 /proc/sys/net/ipv4/ip_nonlocal_bind 为1,绑定VIP keepalived需要用到脚本检测是否需要切换主备的状态,另外,脚本定时检测,一旦脚本检测到服务起来之后,就可以重新切回到主上。 下面是测试的简单配

2017-10-24 15:48:20 560

uthash hash string

Any C structure can be stored in a hash table using uthash. Just add a UT_hash_handle to the structure and choose one or more fields in your structure to act as the key. Then use these macros to store, retrieve or delete items from the hash table

2013-09-04

cJSON解析json数据

Description An ultra-lightweight, portable, single-file, simple-as-can-be ANSI-C compliant JSON parser, under MIT license.

2013-09-04

SecureCRSecureFXPortable打开就能用

秒杀 SecureCRSecureFXPortable打开就能用,其他的弱爆了

2013-08-21

vim+windows 文件

vim+windows 文件

2013-07-27

Burp_Suite使用说明

Burp_Suite使用说明

2013-02-19

Linux系统中vim设置tab键的宽度

Linux系统中vim设置tab键的 宽度

2012-11-26

apache2 简单介绍

apache2 简单介绍

2012-11-26

apt.tar.bz2

apt.tar.bz2

2012-10-30

apt mirror

apt mirrorapt

2012-10-30

openssh_6.0p1.orig.tar

openssh_6.0p1.orig.tar

2012-10-30

Burp Suite教程.pdf

Burp Suite教程.pdf

2012-10-25

Netfilter简介.ppt

Netfilter简介.ppt

2012-03-06

gun 编程规范

编程规范 英文

2012-03-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除