Vincent's Blog


  • Home

  • Categories

  • Archives

  • Tags

JSPM + TypeScript + React

Posted on 2016-03-28   |   In React
基础项目配置 原文地址:https://hansrwindhoff.wordpress.com/2015/10/28/jspm-typescript-reactjs-in-es2015-es6/ node.js typescript -g typings -g lite-server concur ...
Read more »

Rxjs - 重构

Posted on 2016-03-25   |   In RxJS
直接重构后代码对比吧.感觉有进步 import {HTTP_PROVIDERS, Http, Response} from 'angular2/http';import {Injectable} from 'angular2/core';import ...
Read more »

RxJS - 请求数据更新流实例

Posted on 2016-03-21   |   In RxJS
这个实例主要目的是 请求后对数据简单处理 数据缓存到某obj 实现数据更新订阅 onSubmit(value: userInfo): void { console.log('you submitted value: ', value); this._tokenService ...
Read more »

RxJS - Creating Observables

Posted on 2016-03-16   |   In RxJS
create Rx.Observable.create function (subscribe, parent) { return new AnonymousObservable(subscribe, parent);} var observable = Rx.Observable.cre ...
Read more »

RxJS - 基本概念

Posted on 2016-03-16   |   In RxJS
An Observable represents a stream of data. Observable 代表一个数据流 we just express what we want our code to do, not how to do it coding过程只是在描述,而不是具体的”co ...
Read more »

CORS-node.js

Posted on 2016-03-11   |   In Node
app.use(function(req, res, next) { res.header("Access-Control-Allow-Origin", "*"); res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,D ...
Read more »

MongoDB Write Operations

Posted on 2016-02-25   |   In MongoDB
##Insert db.collection.insertOne() db.collection.insertMany() db.collection.insert() 如果没有 _id字段,mongo会自动加一个 ##Update The updateOne(), updateMany() ...
Read more »

MongoDB Read Operations

Posted on 2016-02-25   |   In MongoDB
说些基本的 Mongo 概念: Read 基本上就是 query 拿数据,选定 collection 然后再里面定位 documents db.collection.find() db.users.find( { age: { $gt: 18 } },  ...
Read more »

How to use html as the template with Node

Posted on 2016-02-25   |   In Node
不是很喜欢jade,相对来说还是对html比较亲近 node里想用普通的html做页面。可以选择ejs,然后让后缀变成html 安装ejs app.engine('html', require('ejs').renderFile);app.set('view engine', 'html'); 当 ...
Read more »

CSS - Float

Posted on 2016-02-22   |   In CSS
之前看过一些文章对float不是很喜欢,因为容易破坏布局。但看过一些css设计,用过bootstrap之类的之后,发现太多好东西也是float来搞出来的 所谓的responsive, 不就是float来的么。。空间不够自动就换行了。。所以这里必须单开一个文章给Float. https://css-t ...
Read more »
<i class="fa fa-angle-left"></i>1…202122…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