跳到主要內容

發表文章

What is the version of Drush that we should use at the moment of Drupal 8.4.2?

Up to now, it is recommended to use 8.15.

There are some issues having not been ported to 9.0. For example, migration commands cannot run on drush9.0
最近的文章

Drupal 8.x

今年最大得著是學了Drupal, 由8.2.4學起, 要有很大的php, css, html5, javascript 的基礎才容易掌握. 學多了越對Drupal有興趣. 希望寫多些有關Drupal筆記

怎麼可以讓PuTTY到Linux host上,出現經典matrix screensaver 畫面 ?

cmatrix
在Linux host上, 安裝主要程式: sudo apt-get cmatrix


screen是一個很強大的終端機應用程式, 教學可以在這裡找
https://blog.gtwang.org/linux/screen-command-examples-to-manage-linux-terminals/

在Linux host上, 安裝主要程式: sudo apt-get screen

啟動screen上的screensaver功能:
在user home directory上寫screenserver設置, 若有300秒閒置就會出現matrix畫面
nano ~/.screenrc
# This will only work in screen newer than 4.00.x
# idle 300 = 5 mins inactivity, it starts cmatrix
# This screen saver only perform 1 time.
idle 300 eval "screen cmatrix -s -f -o -u 10" "idle 0"

在user home directory上寫puTTY登入, 會進入screen mode.
nano ~/.bashrc
# Auto-screen invocation. see: http://taint.org/wk/RemoteLoginAutoScreen
# if we're coming from a remote SSH connection, in an interactive session
# then automatically put us into a screen(1) session.   Only try once
# -- if $STARTED_SCREEN is set, don't try it again, to avoid looping
# if screen fails for some reason.
if [ "$PS1" != "" -a "${STARTED_SCREEN:-x}" = x -a "…
不知不覺開blog已10年, 對於blogger來說, 我的產量太少了, 要找理由可以很多, 10年人生點點滴滴, 不是沒有話題或內容, 反而想寫的東西太多.

希望往後寫多一些 ... 給自己留下記號

解構: VCD SVCD DVD Blu-ray 各像素

VCD
Resolution NTSC: 352x240
Video Compression: MPEG1
Video bitrate: 1150 Kbit/s

SVCD
Resolution NTSC: 480x480
Video Compression: MPEG2
Video bitrate: ~2000 Kbit/s

DVD
Resolution NTSC: 720x480
Video Compression: MPEG2 or MPEG1
Video bitrate: ~7000 Kbit/s

Blu-ray
Resolution NTSC: 1920x1080 or 1080x720
Video Compression: H264, VC1 or MPEG2
Video bitrate: ~30Mbit/s