2015/4/5

2015/3/26

2015/2/14

WordPress | 前綴 private_title_format

  • 文章標題的「受保護」前綴字樣改為自訂

add_filter('protected_title_format', 'change_protected_title_format');
add_filter('private_title_format', 'change_protected_title_format');
function change_protected_title_format() {
 return <i class="fa fa-lock"></i> %s';
}

2014/12/13

Ubuntu | install flash player

Ubuntu 14.04 32 Bit OS

  1. Update the repository

  2. sudo apt-get update

  3. Install the flash player

  4. sudo apt-get install flashplugin-installer

Ubuntu 14.04 64 Bit OS

  1. Open /etc/apt/sources.list file . Find and uncomment the below lines .

  2. deb http://archive.canonical.com/ubuntu trusty partner
    deb-src http://archive.canonical.com/ubuntu trusty partner


  3. Update the repository

  4. sudo apt-get update

  5. Install flash plugin

  6. sudo apt-get install adobe-flashplugin

2014/6/23