- Make a directory:
mkdir ~/Sites/my_site - Change into directory:
cd ~/Sites/my_site - Create repo from directory:
git init - Tell git to track file:
git add comments.rb - Add file to the staging area:
git commit -m 'first commit' - Open file and add something:
vim comments.rb - Check status:
git status - Discard Changes:
git checkout
This is a TL;DR of the standard and semistandard JavaScript rules. For more detailed explanations, see standard's rules documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="organiser__group organiser__group--sort"> | |
| <%= content_tag(:li, class: ("active" if params[:sort] == "park" || params[:sort] == nil)) do %> | |
| <%= link_to "By Park", coasters_path(sort_parameters(:park, page: 1)), remote: true %> | |
| <% end %> | |
| <%= content_tag(:li, class: ("active" if params[:sort] == "alphabetically")) do %> | |
| <%= link_to "Alphabetically", coasters_path(sort_parameters(:alphabetically, page: 1)), remote: true %></li> | |
| <% end %> | |
| <%= content_tag(:li, class: ("active" if params[:sort] == "order")) do %> |
1 install nginx_tcp_proxy_module
I followed this tutorial by Johnathan Leppert and the instructions from nginx_tcp_proxy_module but changed nginx to use passenger and thin.
tcp {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |


