學術及資源的交流園地 ^_^

Asterisk call log records

最後更新: 2015-07-23

 

目錄

基本設定

cdr.conf
 - Setting
 - Disable CSV
 - cvs log example

cdr_mysql.conf

cdr_adaptive_odbc.conf

memcache

最後更新: 2019-09-09

介紹

memcache 是一個 distributed memory object caching system

in-memory key-value store for small chunks of arbitrary data (strings, objects)

memcache 與 memcached

pecl/memcache

  • First Release Date: 2004-06-08
  • External Dependency: None

pecl/memcached

  • First Release Date: 2009-01-29 (beta)
  • External Dependency: libmemcached

安全問題:

clients may freely connect to any server ==> deployments of Memcached exist within trusted networks

(memcached is built for speed, not for security)

目錄

  • Wiki 上的 Example
  • Debian 安裝
  • 設定檔
  • Telnet it
  • + / - 數
  • Flush Contents
  • PHP Session 存放在 memcached
  • memcached-tool
  • Durpal6 與 memcache
  • PHP Code Connect  Memcache
  • memcached

 

mod_expires

最後更新: 2016-10-14

介紹

 

它是一個設定 responses header 的 module 來, 它會設定

  • "Expires: ..."HTTP header
  • "Cache-Control: max-age=xxx"  HTTP header
    (max-age directive of the Cache-Control)

 * 有時用 "Header set Cache-Control "max-age=600, public"" 可能會簡單一點

 

00. python intro

最後更新: 2019-11-21

介紹

Python = simple and powerful

哲學:

 * Explicit is better than implicit

好處:

  • object-oriented programming
  • scripting language (Interpreted bytecodes)
  • 適合 rapid application development
  • Portable(Linux, M$)
  • 豐富的 Libraries

 

RSS feed