原创 部署Python的框架下的web app的詳細教程

這篇文章主要介紹了Python部署web app的詳細教程,示例代碼基於Python2.x版本,需要的朋友可以參考下 作爲一個合格的開發者,在本地環境下完成開發還遠遠不夠,我們需要把Web App部署到遠程服務器上,這樣,廣大用戶才能訪

原创 spring maven 記錄

DE IDEA git 版本管理 Maven 依賴管理 注意點: jdk版本和路徑要一致;maven的jdk設置要與實際設置的jdk版本一直;拷貝 .m2/settings.xml ,這是maven的私服,速度快,不會卡在Lo

原创 java aes

import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import javax.crypto.Cipher; import

原创 a simple hello world nginx module

#include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> static char *ngx_http_hello_world(ngx_conf_t *cf,

原创 java get/post

import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStreamReader; import java.net.HttpU

原创 The Secret to 10 Million Concurrent Connections -The Kernel is the Problem, Not the Solution

Now that we have the C10K concurrent connection problem licked, how do we level up and support 10 million concurrent co

原创 java日誌處理組件log4j--log4j.xml配置詳解

轉載地址:http://blog.csdn.net/hu_shengyang/article/details/6754031 <!-- log4j 系統日誌-->   注:本資料通過網絡查找然後整理而成 首先要對配置文件的各個參數

原创 Spring MVC測試框架詳解——服務端測試

隨着RESTful Web Service的流行,測試對外的Service是否滿足期望也變的必要的。從Spring 3.2開始Spring了Spring Web測試框架,如果版本低於3.2,請使用spring-test-mvc項目(合併

原创 Nginx Lua

1.1. 介紹 ngx_lua – 把lua語言嵌入nginx中,使其支持lua來快速開發基於nginx下的業務邏輯 該模塊不在nginx源碼包中,需自行下載編譯安裝。使用lua 5.1(目前不支持lua 5.2) 或 luajit 2.

原创 Spring4與log4j2的集成

1. 在pom.xml加入log4j2的依賴 <dependencies> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-a

原创 基於 libnids和libpcap 還原 tcp stream

#include <nids.h> #include <pcap.h> #include <libnet.h> #include <string.h> /* Libnids的頭文件,必須包含 */ char ascii_string

原创 風控相關

風控模型 2.風控參考 https://github.com/threathunterX/nebula

原创 網站安全攻防祕笈:防禦黑客和保護用戶的100條超級策略

第一部分:準備戰場 第一章 網站駐防 列舉了必須的步驟,以實現攻擊識別告警,與管理適當的web交互審計日誌。你也會學到如何構建統一數據存儲以在企業中實現攻擊情報共享。 第二章 漏洞檢測與修復 介紹了主動發現網站中漏洞的關鍵方法,以及

原创 ModSecurity web application firewall (WAF) Research - .Little Hann

轉載地址:http://bluereader.org/article/97681813 catalog 引言 OWASP ModSecurity Core Rule Set (CRS) Project Installation mod

原创 Java工程師成神之路~

http://www.hollischuang.com/archives/489 一、基礎篇 1.1 JVM 1.1.1. Java內存模型,Java內存管理,Java堆和棧,垃圾回收 http://www.jcp.org/en/jsr