潰瘍性結腸炎生物製劑

  1. 抗腫瘤壞死因子α製劑: Adalimumab, Golimumab 與體內TNF-α結合,減少其造成的發炎反應.
  2. α4β7整合蛋白抑制劑: vedolizumab 專一結合α4β7整合蛋白,並阻斷α4β7整合蛋白和第一型黏膜地址素細胞黏合分子(MAdCAM-1)的交互作用,抑制記憶T淋巴細胞穿越血管內皮遷移進入發炎的胃腸道薄壁組織

潰瘍性結腸炎新的嘗試

  1. 妙利散 –> 宫入菌, 曾經食用後獲得緩解. 不過兩個月後再復發無效.
  2. 三七粉 –> 曾經食用後獲得緩解, 但一段時間後也無效.
  3. 益生菌灌腸 –> 作用不明顯.
  4. 三七粉灌腸 –> 嘗試中. 預計 6克三七粉搭配可體灌腸.
  5. 類固醇灌腸 –> 急性期無法有效緩解, 並且會有激素依賴症狀, 各種副作用.
  6. 5asa 灌腸與口服 –> 療效不明, 與未服用無明顯差異.

php7 ppa

出處: https://www.colinodell.com/blog/201711/installing-php-72

Ubuntu 14.04, 16.04, 17.04, 17.10, & 18.04

PHP 7.2 can be installed using Ondřej Surý’s PPA:

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2-cli

View the full list of available packages here.

Debian 8 (Jessie) and 9 (Stretch)

Ondřej Surý also provides PHP 7.2 packages for Debian which can be installed using these commands:

sudo apt-get install apt-transport-https lsb-release ca-certificates
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt-get update
sudo apt-get install php7.2-cli

Debian 7 (Wheezy)

PHP 7.2 can be compiled from source by following the instructions outlined here: Install PHP 7 on Debian Wheezy. Make sure you git checkout the appropriate tag after cloning the php-src repository.

CentOS / RHEL 6+ & Fedora 25+

Remi Collet, one of the release managers for PHP 7.2, also publishes RPM packages for this new version. You can use the configuration wizard to determine the exact setup steps, or see Remi’s website for additional details about the 7.2.0 release.

Mac OS X

PHP 7.2 can easily be installed via Liip’s php-osx tool:

curl -s https://php-osx.liip.ch/install.sh | bash -s 7.2

Or, if you prefer using Homebrew:

brew tap homebrew/homebrew-php
brew install php72

Windows

PHP 7.2 distributions for Windows can be found on the windows.php.net website: http://windows.php.net/download#php-7.2

You can find instructions for installing the distribution here: https://www.webtechgadgetry.com/install-php-7-windows/

phpbrew

phpbrew is a really nice tool that helps you download, compile, and manage multiple versions of PHP. Assuming you’ve already followed the installation directions and have phpbrew up-and-running, PHP 7.2.0 can be installed with two easy commands:

phpbrew update
phpbrew install -j $(nproc) 7.2.0 +default

Docker

Official PHP images can be found on Docker Hub. You can use the php:7.2 tag for base images.

If you’d like to tinker with PHP 7.2 in an interactive shell, simply run this in your terminal:

docker run -it --rm php:7.2

細菌和燒杯

細菌每分鐘一分為二一次, 假如裝滿燒杯要花 60 分鐘, 那從午夜 11:00 開始分裂,
燒杯半滿是什麼時候?11:59 !

燒杯容量 = 2^60, 半滿兩邊除以二,
燒杯容量/2 = 2^60 / 2 = 2^59,
也就是 59 分時是半滿, 60 分 時就滿了

php aspect mock

最近在研究 aspect mock.
發現幾點要注意的:

  1. 文件有提到:
    appDir defines the root of web application which is being tested. All classes outside the root will be replaced with the proxies generated by AspectMock. By default it is a directory in which vendor dir of composer if located. If you don’t use Composer or you have custom path to composer’s vendor’s folder, you should specify appDir.
    意思是如果 你 include 要 mock 的 dir 不在 appDir  底下.
    那就不行.
  2. 如果你要 mock 的 class method 是繼承來的.
    class 本身沒有去 override parent method.
    那麼 parent class 也要在 include path 裡面.
  3. 由於 asspect mock 是利用蓋掉已經註冊進去 spl autoload 的 composer ClassLoader
    把它換成自己的, 所以像是 php 內建 Memcached 這種,
    他就沒轍了…

權利與自由

爭取你自己的權利就是爭取國家的權利; 爭取你自己的自由,就是爭取國家的自由; 一個自由民主國家,從來不是由一幫奴才建成的。 --胡適.

高雄空氣污染

搭飛機從花蓮到高雄,
起飛時真的是天氣晴朗,
萬里無雲,
看著鮮綠的花東縱谷,
心想回到高雄會看到林立的高樓,
彷彿鮮明對比,
不過到了高雄沒有看到高樓,
倒是起了霧,
等等…有冷到起霧嗎?
遲疑了一下,
突然恍然大悟,
原來是空氣污染…