As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/usr/bin/env ruby | |
| # Libraries::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
| require 'rubygems' | |
| require 'sinatra/base' | |
| require 'slim' | |
| require 'sass' | |
| require 'coffee-script' | |
| # Application::::::::::::::::::::::::::::::::::::::::::::::::::: |
| #!/usr/bin/env ruby | |
| require 'spreadsheet' | |
| # Begin Test | |
| print "Spreadsheet Test\n" | |
| # Create the rows to be inserted | |
| row_1 = ['A1', 'B1'] | |
| row_2 = ['A2', 'B2'] |
| # encoding: utf-8 | |
| class AvatarUploader < CarrierWave::Uploader::Base | |
| include CarrierWave::MiniMagick | |
| # Choose what kind of storage to use for this uploader: | |
| storage :file | |
| # Override the directory where uploaded files will be stored. |
| # First install tmux | |
| brew install tmux | |
| # For mouse support (for switching panes and windows) | |
| # Only needed if you are using Terminal.app (iTerm has mouse support) | |
| Install http://www.culater.net/software/SIMBL/SIMBL.php | |
| Then install https://bitheap.org/mouseterm/ | |
| # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
| # ... | |
| gem 'carrierwave' | |
| gem 'fog', '~> 1.0.0' # Need to specify version, as carrierwave references older (0.9.0) which doesn't allow configuration of Rackspace UK Auth URL |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #Gitignore for files generated by Xilinx ISE | |
| *.log | |
| *.svf | |
| *.scr | |
| *.cmd | |
| *.bak | |
| *.lso | |
| *.elf | |
| *.ace |
| #!/bin/bash | |
| # | |
| # Install Postgres 9.1, PostGIS 2.0 and pgRouting on a clean Ubuntu 12.04 install (64 bit) | |
| # updated to PostGIS 2.0.1 | |
| # basics | |
| apt-get install python-software-properties | |
| apt-add-repository ppa:sharpie/for-science # To get GEOS 3.3.3 | |
| # install the following pacakages |
In the seemlingly endless search for the actual correct and easy way to deploy a Rails app, we have tried several ways. We tried out using Apache2 and running a cluster of Thin servers. With the built in threading of Puma we decided to use it with Nginx.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.