原创 protobuf的編譯和使用,在windows平臺上

0 準備工作: (1)下載protobufhttps://github.com/google/protobuf/releases 下載的是cpp版本,選擇當前最新版本即可 (2)安裝cmakehttps://cmake.org/downl

原创 終於弄了個人網站

我的個人技術網站:點擊打開鏈接

原创 nodejs 對文件進行 壓縮加密和解壓縮解密

utils.js var fs = require('fs'); var zlib = require('zlib'); var crypto = require('crypto'); function geFileList(pat

原创 mnode項目

最近做個一個node.js工具包,完成了大部分功能,還在開發中,分享之... github地址:https://github.com/zhengjinwei123/mnode/tree/develop /** * Created by

原创 css 實現水平居中 和 垂直水平都居中

<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style type="text/css">

原创 mnode第三篇 在mysql之上搭建redis緩存

地址:https://github.com/zhengjinwei123/mnode/tree/master/mnode/mnode/plugin/mysqlRedisCache 此項目主要是爲了解決mysql操作數據緩慢的問題,同時交互

原创 博客項目

在github上掛了一個博客項目, 地址:https://github.com/zhengjinwei123/jadeBlog 項目說明: 1,nodejs框架,基於自己之前寫的mnode工具包(地址:mnode) 2.前端採用boot

原创 整理了一個PHP7+nginx+mysql+linux 安裝步驟

#安裝php wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum install remi-release-7.rpm

原创 nodejs 封裝自己的log模塊

var fs = require("fs"); function fix2num(n) { return [0, n].join('').slice(-2); } function getTime(format) { v

原创 nodejs webSocket 壓測工具

今天用nodejs 提供的WS 模塊寫了一個簡單的壓測機器人,支持多進程分配不同賬號,留着以後看看 app.js  /** * Created by zheng jinwei */ var cluster = require('c

原创 mnode項目-第二篇

緊接着上一篇:mnode項目 (內容太多,一頁寫不下) 1.快速解析csv表格格式文件數據到json格式,支持帶key和不帶key的解析模式 需要滿足一下格式: /** * Created by 鄭金瑋 on 2016/12/5.

原创 B站爬蟲

簡單啊的B站爬蟲,送上代碼: python版本:2.7 #coding:utf-8 __author__ = 'zhengjinwei' import sys reload(sys) sys.setdefaultencoding('u

原创 python 登錄新浪微博爬取粉絲信息

最近有個小需求,爬取新浪微博的粉絲信息,弄了好幾天,終於搞定,送上代碼: 環境: 系統:windows 7 版本:python 3.3 IDE: PyCharm 4.0.4 參考:http://blog.csdn.net/crystal_

原创 web 頁面打開QQ聊天框

<html> <head> <script> function fun1(){ window.location='tencent://message/?uin=2538698032&websiteName=瑋&Menu=yes' }

原创 知乎爬蟲

一個簡單的知乎爬蟲,還有一些問題,後續搞定後補上: python版本:3.3 # -*- coding: utf-8 -*- ''' Required - requests (必須) - pillow (可選) Info - autho