支付宝赞助帐号:service@kuitao8.com 
2017-06-19
2017-06-01
2017-05-31
2017-05-08
  • node.js写入文件和创建目录的方法
  • ```javascript 创建一个p txt的文件var fs = require(fs);fs writeFile(p txt,sfsdfasdfasdfas,function (err) { if(err){
  • node.js解压缩包的方法
  • ```javascriptvar fs = require(fs);var zlib = require(zlib);fs createReadStream(input txt gz) pipe(zlib createGunzip()) pipe(fs createWriteStream(input3 txt));console log(File Decompressed);```
  • node.js打包压缩包的简单方法
  • ```javascriptvar fs = require(fs);var zlib = require(zlib);fs createReadStream(input txt) pipe(zlib createGzip()) pipe(fs createWriteStream(input txt gz));console log( "Success ");```
  • node.js创建一个简单的web应用
  • ```javascriptvar http = require("http");http createServer(function(request,response){ response writeHead(200,{Content-Ty
2017-04-14
  • ubuntu安装google chrome
  • ``` 1 sudo wget http: www linuxidc com files repo google-chrome list -P etc apt sources list d 2 wget -q
  • ubuntu 安装phpstrom
  • ``` 6 wget https: download jetbrains com webide PhpStorm-2017 1 2 tar gz 7 tar zxvf PhpStorm-2017 1 2 tar gz
  • ubuntu安装node.js方法
  • ```1 wget https: npm taobao org mirrors node latest-v6 x node-v6 1 0-linux-x64 tar gz2 tar zxvf node-v6 1 0-linux-x64 ta
  • ubuntu安装node.js方法
  • ```1 wget https: npm taobao org mirrors node latest-v6 x node-v6 1 0-linux-x64 tar gz2 tar zxvf node-v6 1 0-linux-x64 ta
2017-04-11
2017-04-05

邮件订阅

订阅我们的精彩内容