优客李李

「给你的生活加点阳光!」

iMac or MacBook Camera Isn't Working? Here's A Simple Solution

Solution 1 Open your terminal and input sudo killall VDCAssistant; Enter your password and quit terminal. Solution 2 Open your Activity Monitor; Search VDCAssistant; Choose all rela...

My Fireman - Udacity Digital Marketing Nanodegree

Actually, I graduated from Udacity Front-end Web Development Nanodegree last August. I know NOTHING about digital marketing, meanwhile I’m a Chinese so I don’t know that much about US culture or th...

My playing and singing -- [活着]

Recently, I’m learning MongoDB. Meanwhile, I made a video that I was playing and singing at the Inspiration Point by using my favorite ukulele. Hope you’ll love it. Whatever you do, be passion...

How to Use Express Generator

Express generator is a tool that helps quickly generate your application skeleton. Preparation Have Node.js with npm installed Installation npm install express-generator -g Now if you ...

Unable To Manipulate MongoDB Due To Unproperly Closed Terminal?

I met a problem while I was learning MongoDB. Here are my steps eliciting the problem: I start MongoDB service: mongod. In my terminal, at the MongoDB service window, I carel...

Learn MongoDB From The Official Video Tutorial

The best way to learn is to get your hands dirty. Background Recently, after having handled the basic knowledge of React, I started the new journey – NodeJS & MongoDB. I successfully fini...

GitHub博客自定义域名——从尝试到放弃

记录一下我最近折腾GitHub自定义域名的过程。简单地说,一句话:鱼和熊掌不可得兼。 前言 我的博客最早是用Wordpress搭建的,当时买了域名和空间,shisaq.com。到现在刚好有一年了。不过期间接触到了GitHub的博客,4个特点: 免费空间 免费域名 markdown https 这么多优势,让我不得不动心。于是在2016年,相当长的一段时间内...

用React, Flask和SocketIO搭建在线聊天室(八)

在React的世界,初学的时候总是会遇到一些新奇的名词:Flux,Redux等。因为React并不是一个完整的前端框架,它只是一个可以创建虚拟DOM的View层。所以要想实现完整的前端框架,它就需要一些朋友帮忙,一个典型的框架就是Backbone。不过Flux和Redux这样的朋友是Facebook自己推出的,这篇文章主要介绍一下Flux这个朋友。这个在线聊天室就是根据Flux的思想架...

我是怎么拿到原创和赞赏功能的

今天拿到了微信公众平台的赞赏功能。作为一个个人公众号,已经拿到所有能拿的权限了。这篇文章分享一下我拿到原创和赞赏功能时的各项数据统计。 基本信息 公众号名称:李海泉 建立时间:2014年4月16日 荒废阶段:2014年7月10日-2016年11月17日 荒废时发表文章数:5 荒废时粉丝数:49 重启-拿到原创功能 重启时间:2016年11月18日 拿到原创:2016年12月2...

用React, Flask和SocketIO搭建在线聊天室(七)

通过上一篇文章的操作,我们已经可以在Flask搭建的服务器下,用SocketIO连接前后端,并成功搭建了React的运行环境。这次就主要剖析在线聊天室的前端结构。 js文件夹结构 先上一个总体结构图。完成后,我的js文件夹下的结构如下图。主要分为main.js, ./components, ./stores, ./actions和dispatcher.js。 1 2 3 4 5...