[Author: Dingyu] [Wed, 2018-03-07, 12:37] [90 views]
Try to update NodeJS from v6 to v8 in CentOS with yum. However, yum always installed v6 for me. Found the solution from https://unix.stackexchange.com/questions/261950/why-wont-the-correct-new-version-of-node-js-install-on-centos-7
I run "curl --silent --location https://rpm.nodesource.com ... see full article
[Author: Dingyu] [Thu, 2017-06-15, 12:06] [1799 views]
1. Install Sublime Package Control plugin from the website: https://packagecontrol.io/
2. Use Package Control to install Sublime Terminal plugin. (http://wbond.net/sublime_packages/terminal)
3. Change the setting of Sublime Terminal as:
// The command to execute for the terminal, leave blank f ... see full article
[Author: Dingyu] [Thu, 2017-06-15, 12:06] [396 views]
This article is for anyone installed Yarn by using .msi file in Windows.
You may got errors like:
readlink: command not found
winpty: command not found
My Solution: After I installed the latest Git (version 2.13.1) and used Git Bash, all those errors were gone.
Then, when you use yarn init command i ... see full article
[Author: Dingyu] [Mon, 2017-05-08, 20:44] [366 views]
1. Open a "Windows Command Processor", or "cmd.exe"
2. Type below commands there to delete the folder:
robocopy empty_dir the_dir_to_delete /s /mir
This works because robocopy internally uses the Unicode-aware versions of Win32 fun ... see full article
[Author: Dingyu] [Tue, 2017-03-14, 16:14] [6412 views]
An easy, straightforward, understandable, and painless process to install or upgrade to Solr 4.10 with Jetty in CentOS 6.6, and set up Solr server to work with Sunspot Gem 2.1.1
1. Install Java OpenJDK. Solr 4.10 requires Java 1.7 or greater. I installed Java 1.8 for myself.
yum list java*
# (option ... see full article
[Author: Dingyu] [Tue, 2017-03-14, 16:13] [14391 views]
The process to install Solr 4.4 with Jetty in CentOS, and set up Solr server to work with Sunspot Gem:
(Please click here to see my latest blog for installing Solr 4.10, in which I developed an easy, straightforward, understandable, and painless method to let Solr work together with Sunspot gem.)
1. ... see full article
[Author: Dingyu] [Tue, 2017-03-14, 16:13] [8257 views]
If you installed RadRails (Aptana Studio 3) in Windows, but the terminal doesn't work and show the error like:
This Terminal Emulator is not functional because no 'bash' shell could be found.
Please correct the problem and restart the IDE.
To solve this problem, go to RadRails (Aptana Studio 3) ... see full article
[Author: Dingyu] [Thu, 2016-08-11, 10:29] [4021 views]
This blog shows how I build an Rails engine to share layout among multiple applications step by step. The way I build the shared layout engine in this blog may be not the best. However, I only want to give some clue to those who are still struggling in building this kind of engine.
I have created Gi ... see full article
[Author: Dingyu] [Sat, 2016-07-23, 17:25] [644 views]
A very good CSS animation creator:
https://daneden.github.io/animate.css/ ... see full article
[Author: Dingyu] [Tue, 2016-07-12, 16:52] [1698 views]
Install RVM (Ruby Version Manager)
sudo curl -sSL https://get.rvm.io | bash -s stable
rvm install 2.0.0
rvm use 2.0.0 --default
gem install rails
sudo yum install mysql-server mysql-devel
sudo chkconfig mysqld on
sudo service mysqld restart
S ... see full article