Vincent's Blog


  • Home

  • Categories

  • Archives

  • Tags

RabbitMQ初体验

Posted on 2016-11-17   |   In Node
最近看redis的时候碰到书上讲MQ,这里也想大概记录下目前基本的理解 var rabbit = amqp.createConnection();// rabbit ready 后创建了ex 和 charge 这个q, bind后啥都没做rabbit.on('ready', function () ...
Read more »

从boilerplate中学到的redux里replaceReducer的按需使用

Posted on 2016-09-20   |   In React , Redux
脚手架代码 const store = createStore( makeRootReducer(), initialState, compose( applyMiddleware(...middleware), ...enhancers ) ) s ...
Read more »

浅谈RSK_Mobx_SSR整个改进过程

Posted on 2016-09-20   |   In React
这是一个以RSK为基础,准备为实际项目使用的seed先干掉了GraphL那套和facebook验证那套 整合mobxmobx的整个过程并不费劲,基本就是对组件的改写,和store的分离基本采取的是单例store,让大家基本可以沿用原来的基本MVC思路来写,完全舍弃setState,不可变数据那套,也 ...
Read more »

github_免输入密码

Posted on 2016-08-26   |   In Tools
使用Github SSH Key以免去Hexo部署时输入密码列出已存在的SSH Key打开Git Bash,并且输入: ls -al ~/.ssh 这个命令会列出你.ssh账户中已经存在的SSH key,如果之前没有设置过,一般都是没有。 生成密钥然后输入:ssh-keygen -t rsa -C ...
Read more »

Cmder - Git

Posted on 2016-08-26   |   In Tools
原文:https://www.awmoore.com/2015/01/14/setting-up-git-and-cmder/ 单独安装git Use Git and optional Unix tools from the Windows Command Prompt EndLine选第一项 ...
Read more »

Almost complete guide to flexbox (without flexbox)

Posted on 2016-08-26   |   In CSS
如果遇到浏览器不给力,不兼容flex 怎么整???网上搜到这么个文章,记录在此以便后用.转载地址 flex-direction row Displays items horizontally .item { display: inline-block;} row-revers ...
Read more »

SCSS Helper

Posted on 2016-08-10   |   In CSS
Some Helper Function/*unit helper*/@function tranformREM($px) { @return ($px/($rootSize/1px))+rem}@function get-vw($target) { $vw ...
Read more »

Responsive Embeds

Posted on 2016-07-08   |   In CSS
这个其实就是一些图片,视频等,需要异步加载到页面的东西需要responsive的时候,如果网速较慢,会出现页面抖动的现象其实就是这些内容会动态插入造成的 这种嵌入技术就是 先用一个div 百分比的来占位置,然后等这些资源加载完成 <div class="embed-container rati ...
Read more »

JS - modules

Posted on 2016-07-08   |   In JS
原生js我们怎么封装module虽然现在各种module loader, requirjs, seajs, webpack, systemjs,es6 这次我们回归下,看看原生 我喜欢这种简单直接的,直接返回obj给个全局变量 var myGradesCalculate = (function () ...
Read more »

循环事件注册

Posted on 2016-06-16   |   In JS
昨天看了node群的提问,就是大家经常遇到的循环里注册事件的问题: 由于最近在玩rx, 所以自然而然想到的map之类的 Solution1var gos = document.querySelectorAll('.go');Array.prototype.map.call(gos, function ...
Read more »
<i class="fa fa-angle-left"></i>1…131415…29<i class="fa fa-angle-right"></i>
Vincent Guo

Vincent Guo

the blog to remeber all things about code

290 posts
44 categories
103 tags
RSS
github twitter facebook google weibo
Links
  • KunLin
  • Rx Introduction
  • 三哥
  • 元龙
© 2024 Vincent Guo
Powered by Hexo
Theme - NexT.Mist