2017-03-26 21:48:47

[服务器开发] , ,


我一直想当php-fpm或者hhvm挂掉的时候nginx能够提供cache的旧页面,但是fastcgi_cache_use_stale的参数似乎不起作用,今天仔细地读了一个nginx的文档。为了实现这个目的,我们需要用的是fastcgi_cache_use_stale 中 error这个参数,然而error这个参数的说明中提到了一句话

EECS3214 Computer Network Protocols and Applications

2017-01-10 9:49:23

[专业笔记] , , ,

This course includes TCP/IP architecture. 这是一门有关网络的基础课程,主要涉及Layer3-5。

This course introduce very fundamental network knowledges. It covers some old technology but that is very critical.

We will study the TCP/IP protocol through out the whole course. Advance topics includes P2P system, multimedia communication (VoIP), network security(IPSec SSL), wireless sensor networks. Top-down approach. Start from top(Application) to bot(Network). More algorithmic. More programming.

Simple core, but complex edges.

EECS2011 Fundamentals of Data Structures

2016-12-08 17:22:52

[专业笔记] , , ,

数据结构课程,其实用Java而不是用C / PASCAL来讲让我有点不太适应。

This content is for YorkU EECS 2011. As usual, I will post some "interesting" course note. This course is not that difficult. And our prof's ppt is so nice. Try not to miss any lecture and you will learn a lot from him. My professor is Andy Mirzaian.



2016-12-07 15:02:25

[App开发] , , , ,

网上现在大部分的教程(包括苹果官方的CloudKit Quick Start)讲述的都是一种简易的方法(convience methods),我这里将要讲述的是如何有效使用队列进行数据库操作,使得操作更加有效规范可控。


EECS2031 Software Tools

2016-09-12 14:44:06

[专业笔记] , , ,

This course introduces very very fundamental C/shell programming skills on linux.

We are using C89 standard in this  EECS 2031 course. That means you cannot declare the iterator variable in a for loop. And you should be very careful when you are trying to copy any C code from Google or Stack Overflow. Because those code fragments might be written in C with C99 standard or Cpp. Professor is very nice but TAs are not that efficient. We have to wait a long time for the grading.

EECS2030 Advanced Object Oriented Programming

2016-06-11 23:24:31

[专业笔记] , ,


This content is for YorkU EECS 2030. I took this course in summer 2016. My professor Navid Mohaghegh is a very nice professor. I do strongly recommend his course.



2016-05-17 14:54:16

[App开发] , , ,

有时候我们需要一些深度定制的并且多次多次复用的UI控件,为了模块化程序,在iOS8 及以后,我们可以将常用的定制UI控件放到自己的Kit里面,在不同的项目中重复使用。



CloudKit 开发手记——读写查询

2016-04-21 14:25:11

[App开发] , , , ,