Ruby
Install ruby from source Install rvm (ruby version manager) Nginx Rails Origin header didn’t match request.base_url Gem Package Manager Gem – Package Manager for Ruby Upgrade ruby gem
Install ruby from source Install rvm (ruby version manager) Nginx Rails Origin header didn’t match request.base_url Gem Package Manager Gem – Package Manager for Ruby Upgrade ruby gem
Python framework Hosting Python Application in Production Python Errors
On a site running Magento 1.9, user login is not working on Google Chrome. The problem is due to cookie setting in Magento. Login to Magento Admin, go to Admin > System > configuration > web > Session and Cookie Management Put your domain name in “Cookie Domain” text box and click Save Config. Magento
Create a project using the latest Laravel Create a project using a specific version of Laravel. You can see available Laravel versions on the site https://packagist.org/packages/laravel/laravel Clear Laravel application cache or Back to PHP
When doing a database migration on Laravel, I get the following error This is because MariaDB uses a different UTF8 format. To fix, edit file Inside, find Replace with You will also need to add here is what my file looks like after editing. Back to Laravel
Node.js applications when you run with nodejs command, need to restart when a change is made to the source code of the application. nodemon will watch your application source code for changes, and restart if a change is detected. To install nodemon, run Example nodejs
Auto Start pm2 on bootHow to host static site using pm2 pm2 is a process manager for node.js applications. It is similar to forever. http://pm2.keymetrics.io First you need to install npm, on Ubuntu/Debian, run To install pm2, run Start an Application Start an Application with name Start npm Start the Application in Cluster mode with … Read more
To check if PHP session is working, upload following script
To create a ruby on rails project, run rails new Nginx Rails Origin header didn’t match request.base_url
Create a php script with following content
Install Node.Js Version Manager Node.js Tips Next.js Errors
n is the node version manager. To install, run To list versions of node.js available, run To see all available node versions, run To install the latest stable node.js To install a specific version of node.js To change the Node.js version, run It will show a text-based menu to select the node version you need. … Read more