As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/sh | |
# | |
# new_server.sh | |
# Author: Sam Soffes | |
# Created: 02/25/2010 | |
# Updated: 11/04/2010 | |
# | |
# See my blog post on this script: http://samsoff.es/posts/new-server-script | |
# | |
# This script installs everything needed to run a Ruby on Rails application on |
# install git | |
sudo apt-get install g++ curl libssl-dev apache2-utils | |
sudo apt-get install git-core | |
# download the Node source, compile and install it | |
git clone https://github.com/joyent/node.git | |
cd node | |
./configure | |
make | |
sudo make install | |
# install the Node package manager for later use |
require 'rubygems'; require 'active_resource'; require 'new_relic_api' | |
servers = File.open("server_count.txt", "r").first.to_i | |
instances_per_server = 6 | |
cpu_burn_for_system = 1000.0 * 0.20 | |
NewRelicApi.api_key = "<Your API Key>" | |
account = NewRelicApi::Account.find(:first); | |
application = account.applications[3]; |
license: gpl-3.0 |
As configured in my dotfiles.
start new:
tmux
start new with session name:
{ | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", | |
"DE": "Delaware", |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
#Prerequisites#
#Steps#
sails new <appName>
.cd <appName>
.create-ember.sh
../bootstrap
.# HAIL RUBY | |
# My response to https://github.com/JacksonGariety/jesus | |
# Authentication configured through environment variables, per http://rdoc.info/gems/twitter. | |
require 'twitter' | |
require 'teller' | |
loop do | |
Twitter.unfollow("JacksonGariety") |
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.