Get a VPS that offers 2 or more IP addresses.
From the WHM cPanel, find the menu item Service Configuration, select Apache Configuration and then click on Reserved IPs Editor.
| # Forked to get it working with Rails 3 and RSpec 2 | |
| # | |
| # From http://github.com/jaymcgavren | |
| # | |
| # Save this as rcov.rake in lib/tasks and use rcov:all => | |
| # to get accurate spec/feature coverage data | |
| # | |
| # Use rcov:rspec or rcov:cucumber | |
| # to get non-aggregated coverage reports for rspec or cucumber separately |
| /* | |
| As of version 1.1.2, Propane will load and execute the contents of | |
| ~Library/Application Support/Propane/unsupported/caveatPatchor.js | |
| immediately following the execution of its own enhancer.js file. | |
| You can use this mechanism to add your own customizations to Campfire | |
| in Propane. | |
| Below you'll find two customization examples. |
| /* | |
| * Portions of this code and logic copied from OpenLayers and | |
| * redistributed under the original Clear BSD license terms: | |
| * | |
| * http://trac.osgeo.org/openlayers/browser/license.txt | |
| * | |
| * Copyright 2005-2010 OpenLayers Contributors, released under | |
| * the Clear BSD license. See authors.txt for a list of contributors. | |
| * All rights reserved. | |
| * |
| # install brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" | |
| # install imagemagick | |
| brew install imagemagick | |
| # install imagick | |
| brew install imagick | |
| # if giving errors on the installation, comment the content on ~/.bash_profile or ~/.profile, open a new terminal and retry |
| location /resize { | |
| alias /tmp/nginx/resize; | |
| set $width 150; | |
| set $height 100; | |
| set $dimens ""; | |
| if ($uri ~* "^/resize_(\d+)x(\d+)/(.*)" ) { | |
| set $width $1; | |
| set $height $2; | |
| set $image_path $3; |
| passwd gitlab |
| // Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
| L.TileLayer.Common = L.TileLayer.extend({ | |
| initialize: function (options) { | |
| L.TileLayer.prototype.initialize.call(this, this.url, options); | |
| } | |
| }); | |
| (function () { | |
As configured in my dotfiles.
start new:
tmux
start new with session name: