Finishing this guide you'll get:
- A running Ghost installation
- Amazon SES mail configuration
- Simple ssh hardenings
- Nginx proxy
- Node.js configured with forever
Specification of latest running installation:
Finishing this guide you'll get:
Specification of latest running installation:
| # Install dependencies | |
| # | |
| # * checkinstall: package the .deb | |
| # * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
| # * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
| apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
| mkdir -p ~/sources/ && \ | |
| # Compile against OpenSSL to enable NPN |
| div { | |
| border-style: solid; | |
| border-color: transparent transparent #00FEFD transparent; | |
| border-width: 0 25px 30px 25px; | |
| height: 0; | |
| position: relative; | |
| width: 90px; | |
| } | |
| div:before { |
| yum install figlet | |
| for font in `ls -1 /usr/share/figlet | grep .flf | cut -d . -f 1`; do echo "$font:"; figlet -f $font SkyNet; done |
| #!/bin/bash | |
| # | |
| # chkconfig: 345 29 73 | |
| # description: mount/unmount my custom bind mounts onto a gfs2 subdirectory | |
| # | |
| # | |
| ### BEGIN INIT INFO | |
| # Provides: | |
| ### END INIT INFO |
Here's an example of how to embed a Gist on GitHub Pages:
{% gist 5555251 %}
All you need to do is copy and paste the Gist's ID from the URL (here 5555251), and add it to a gist tag surrounded by {% and %}.
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
| RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^widgets - [L] | |
| RewriteRule ^index\.php$ - [L] |
| /** | |
| * http://wptavern.com/how-to-set-default-css-background-properties-in-wordpress-themes | |
| */ | |
| function yourtheme_setup() { | |
| add_theme_support( | |
| 'custom-background', | |
| array( | |
| 'default-color' => '2d2d2d', | |
| 'default-image' => get_template_directory_uri() . '/images/background.jpg', |