Revamping this site

I am revamping this site to Drupal 8. You will see a lot of exercises being done on this site. I have already created a new view for Blogs with a pager on Drupal 8. Stay tuned!

DrupalCampNYC 2017

I am at Drupal Camp NYC 2017 at John Jay College. This is my third DrupalCampNYC and first one helping out. I just want to say I am proud to be part of Drupal community. :)

Regex to the rescue

In Spring Tool Suite, refactoring a package name will look for every possible file name, including hidden files. That usually causes hangups on the file search. 

The solution is to use the following regular expression to skip the files starts with a dot.


The regex reads anything that does not start with a period ( . ).

Drupal Console and CentOS


It seems that submitting a comment is trivial, but the thread discusses an issue where Drupal Console runs into Segmentation Fault on CentOS, particularly in Bluehost services. The amount of relief that the resolution is reachable is immeasurable. To repeat:

In /usr/lib/php.ini, comment out the following line


The running the following line works with output shown:

$ ./drupal.phar init --override
Copied files
User home path: /home/holingpo/.console/
1 - aliases.yml
2 - chain/create-data.yml
3 - chain/form-sample.yml
4 - chain/quick-start-db-env.yml
5 - chain/quick-start-db.yml
6 - chain/quick-start.yml
7 - chain/sample.yml
8 - chain/site-drop-restore.yml
9 - chain/site-install.yml
10 - chain/update-gitbook.yml
11 - commands.yml
12 - config.yml
13 - phpcheck.yml
14 - router.php
15 - site.mode.yml
16 - sites/sample.yml

Bash or Zsh: Add this line to your shell configuration file:
source "$HOME/.console/console.rc" 2>/dev/null

Fish: Create a symbolic link
ln -s ~/.console/ ~/.config/fish/completions/

The full thread of the discussion is available via URL at beginning of this post.


Yup, finally broken down and make Twitter feed appear on the site. It is definitely an excellent exercise of adding Twitter module, with Oauth enabled already, and some editing in the Twitter Block view to make sure there are not too many tweets or the tweets are too crunched together.
To see my Twitter account, just click on the Twitter icon listed to right of site title.