Skip to content

Instantly share code, notes, and snippets.

View Determinant's full-sized avatar
🛩️
Focusing

Ted Yin Determinant

🛩️
Focusing
View GitHub Profile
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@Determinant
Determinant / log.rst
Created July 20, 2014 16:29
Log of My Academic Life

Log of My Academic Life

Sun Jul 20

  • kaldi
    • 完成kaldi动态链接
    • 几经周折后,在小集群上重现

How to Configure AppArmor on Ubuntu

Author

Ted Yin <ted.sybil@gmail.com>

  • AppArmor is a Mandatory Access Control (MAC) system which is a kernel (LSM) enhancement to confine programs to a limited set of resources. Instead of binding access control attributes to users, it confines specific programs.
  • AppArmor is shipped with Ubuntu, which means it is fairly easy to get started.
  • In order to ease the maintenance, we first install the utilities by sudo apt-get install apparmor-utils

PPCA for IEEE 2014 Arrangement & Schedule

Teaching Assistants

Yiming Liu & Xutong Chen

Exams (problem sets and lectures)

Ted Yin & Tongliang Liao

The Project

Jiachen Shi

Lectures on Programming Skills

#include <cstdio>
#include <cassert>
#include <cctype>
#include <cstring>
#include <cstdlib>
#define SCAST_FLOAT(x) static_cast<Float*>(x)
#define SCAST_INT(x) static_cast<Int*>(x)
/* Abstract interface for numbers */

Enhanced Calculator Project

Overview

Write an S-expression calculator with following functionalities:

  • Reads the expressions from stdin and prints the output to stdout
    • Note that you should guarantee that your program only writes revelant