gem install rails
rails new my_app -T
'############################################################################# | |
'# Procedure: WUA_SearchDownloadInstall.vbs | |
'# Author: Microsoft/Scott Vintinner | |
'# Last Edit: 07/14/2014 | |
'# Purpose: This script will trigger a Windows Update on this computer | |
'# Notes: Must be run as administrator | |
'# Source: http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx | |
'############################################################################# | |
Option Explicit | |
Dim scriptShell, fs |
#! /usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'logger' | |
=begin | |
WHATIS | |
* ping monitoring once every 30 secs |
# -*- encoding : utf-8 -*- | |
$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path. | |
require "rvm/capistrano" # Load RVM's capistrano plugin. | |
set :rvm_ruby_string, '1.9.2' # Or whatever env you want it to run in. | |
require 'bundler/capistrano' | |
set :application, "yourapp" | |
set :use_sudo, false |
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz | |
tar -xvzf ruby-1.9.3-p125.tar.gz | |
cd ruby-1.9.3-p125/ | |
./configure --prefix=/usr/local | |
make | |
make install |
multiuser on | |
acladd user1,user2,user3 | |
vbell off | |
hardstatus string "%1`" | |
# change the hardstatus settings to give an window list at the bottom of | |
# the screen, with the time and date and with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' |