How to Change Bootstrap Carousel Slide Speed

The speed cannot be controlled by the API. Though you can modify CSS that is in charge of that. find in the bootstrap.css file: .carousel-inner > .item { position: relative; display: none; -webkit-transition: 0.6s ease-in-out left; -moz-transition: 0.6s ease-in-out left; -o-transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left; } and change 0.6s to the time […]

SSH: How to stop a script running in the background?

Open/Login SSH into the server Type in ps x See the list of processes currently on your server Get the PID(process id) from that list and type kill xxxxx That should do it. Source: StackOverflow Tested on Linux / CentOS 6.7 x 64

PHP: How to run / execute a script in the background forever through SSH ?

You can execute a php script in the background forever by using SSH through PHP but for that you have to make sure first that SSH2 extension is available. PHP DOCS: http://www.php.net/manual/en/function.ssh2-exec.php $connection = ssh2_connect(‘shell.example.com’, 22); ssh2_auth_password($connection, ‘username’, ‘password’); /* if you want to execute script from a different directory then use commands in same line […]

SSH: how to run a PHP script in background forever in Linux (CentOS) ?

If you want to run a PHP script in the background forever through SSH then follow these steps: If you are using a SSH terminal (PuTTY) then directly run following command: // Notice ‘&’; that operator will help to run this script forever. php server.php & // make sure that you are in the root directory […]

How to install Node.js on Linux CentOS from the EPEL Repository?

An alternative installation method uses the EPEL (Extra Packages for Enterprise Linux) repository that is available for CentOS and related distributions. To gain access to the EPEL repo, you must modify the repo-list of your installation. Fortunately, we can reconfigure access to this repository by installing a package available in our current repos called epel-release. […]