start new:
tmux
start new with session name:
tmux new -s myname
Sometimes you want to use a gem on Heroku that is in a private repository on GitHub.
Using git over http you can authenticate to GitHub using basic authentication. However, we don't want to embed usernames and passwords in Gemfiles. Instead, we can use authentication tokens.
First you will need to get an OAuth Token from GitHub using your own username and "note"
Guide & Discussion Thread: | |
http://forum.netkas.org/index.php?topic=874.0 | |
http://forum.netkas.org/index.php?action=printpage;topic=874.0 | |
For the best guide, use search keyword: chmod. Scrolls down to --> | |
Post by: Shinso on September 18, 2012, 07:28:35 PM | |
Post by: Shinso on September 18, 2012, 07:30:19 PM | |
* First: upgrade cpu to Core2Duo |
# app/policies/active_admin/ | |
module ActiveAdmin | |
class CommentPolicy < ApplicationPolicy | |
class Scope < Struct.new(:user, :scope) | |
def resolve | |
scope | |
end | |
end | |
end | |
end |
# vim style tmux config | |
# use C-a, since it's on the home row and easier to hit than C-b | |
set-option -g prefix C-a | |
unbind-key C-a | |
bind-key C-a send-prefix | |
set -g base-index 1 | |
# Easy config reload | |
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." |
$('.array-of-hashes-tables').on('click', '.array-of-hashes-table .remove', function(event) { | |
event.preventDefault(); | |
$(this).closest('.array-of-hashes-table').remove(); | |
}); | |
$('.array_of_hashes .add').on('click', function(event) { | |
event.preventDefault(); | |
var $this = $(this); | |
var $tables = $this.siblings('.array-of-hashes-tables'); | |
var $cloneable = $tables.find('.cloneable').first(); |
--- | |
title: Sitemap | |
slug: sitemap | |
is_layout: false | |
listed: false | |
published: true | |
cache_strategy: none | |
response_type: text/xml | |
position: 1 | |
--- |