Thanks For showing intrest to check about me, i’m Enhui Rao. I cook delicias code cousins for fun. I’m a Born engineer,Tech savvy, programmer, computer lover, automobiles fan, like to play anykind of machine!, curious towards css3,html5,ruby,nodejs,reactjs,ES6.This is my personal blog. It currently has 23 posts in 14 categories which combinedly have 8516 words, which will take an average reader ( WPM) approximately 42.58 minutes to read. The most recent post is “小程序开发中的那些坑” which was published on . The last commit was on Wednesday, 18 Jul 2018 at 04:43 PM UTC.
+Thanks For showing intrest to check about me, i’m Enhui Rao. I cook delicias code cousins for fun. I’m a Born engineer,Tech savvy, programmer, computer lover, automobiles fan, like to play anykind of machine!, curious towards css3,html5,ruby,nodejs,reactjs,ES6.This is my personal blog. It currently has 23 posts in 14 categories which combinedly have 8516 words, which will take an average reader ( WPM) approximately 42.58 minutes to read. The most recent post is “小程序开发中的那些坑” which was published on . The last commit was on Wednesday, 01 Aug 2018 at 09:12 PM UTC.
前端妹子一枚,我平时比较繁忙(打杂、犯花痴、偷窥帅锅是正业,副业:码农、前端),所以知识点有些可能会有问题,看不过眼(强迫症的请重视我的后面一句),欢迎小伙伴们帮忙评论修改。
diff --git a/_site/feed.xml b/_site/feed.xml index e12a41e3..600b689f 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -7,7 +7,7 @@第一步 前言 实际前端工作中,当UED没有给到确定的图片时,前端需要自己模拟一个图片来实现页面占位。于是写了份自动生成不同大小形状图片的服务。 code地址为https://github.com/raoenhui/create-img/tree/master/server。 demo访问地址还在部署中,尽请期待。 第二步 原理 主要用到的技术是koa、koa-router和canvas。 用koa启动一个webserver服务,用了logger中间键来方便查看记录。 const logger = require('koa-logger'); const koaBody = require('koa-body'); const Koa = require('koa'); const app = module.exports = new Koa(); // middleware app.use(logger()); app.use(koaBody()); // listen if (!module.parent) app.listen(3000); 用koa-router获取用户访问的url,url中包含大小、形状和颜色信息,并调用canvas画图片。 const router...
+第一步 前言 实际前端工作中,当UED没有给到确定的图片时,前端需要自己模拟一个图片来实现页面占位。于是写了份自动生成不同大小形状图片的服务。 code地址为https://github.com/raoenhui/create-img/tree/master/server。 demo访问地址http://47.98.138.195/img。 第二步 原理 主要用到的技术是koa、koa-router和canvas。 用koa启动一个webserver服务,用了logger中间键来方便查看记录。 const logger = require('koa-logger'); const koaBody = require('koa-body'); const Koa = require('koa'); const app = module.exports = new Koa(); // middleware app.use(logger()); app.use(koaBody()); // listen if (!module.parent) app.listen(3000); 用koa-router获取用户访问的url,url中包含大小、形状和颜色信息,并调用canvas画图片。 const router...