Just install this in your apps like so:
gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'
# modifications from standard capistrano deploy as taken from: | |
# http://devthatweb.com/view/deploy-any-project-using-capistrano-2 | |
set :application, "name removed" | |
set :repository, "url to trunk of repo" | |
# If you aren't deploying to /u/apps/#{application} on the target | |
# servers (which is the default), you can specify the actual location | |
# via the :deploy_to variable: | |
set :deploy_to, "/var/www/#{application}" |
# Factory girl, relaxed. | |
# | |
# Factory.define :user do |f| | |
# f.login 'johndoe%d' # Sequence. | |
# f.email '%{login}@example.com' # Interpolate. | |
# f.password f.password_confirmation('foobar') # Chain. | |
# end | |
# | |
# Factory.define :post do |f| | |
# f.user { Factory :user } # Blocks, if you must. |
" Vim indent file | |
" Language: Yaml | |
" Author: Ian Young | |
if exists("b:did_indent") | |
finish | |
endif | |
"runtime! indent/ruby.vim | |
"unlet! b:did_indent | |
let b:did_indent = 1 |
Just install this in your apps like so:
gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'
require 'rubygems' | |
require 'right_aws' | |
require 'yaml' | |
filename = ENV['FILE'].to_s | |
source = ENV['FROM'].to_s | |
destination = ENV['TO'].to_s | |
dry_run = true | |
puts "Please provide filename of s3 configuration" and exit(1) if filename == "" |
#!/usr/bin/ruby | |
# wol.rb: sends out a magic packet to wake up your PC | |
# | |
# Copyright (c) 2004 zunda <zunda at freeshell.org> | |
# Modified by scharfie <scharfie at gmail dot com> | |
# | |
# This program is free software. You can re-distribute and/or | |
# modify this program under the same terms of ruby itself --- | |
# Ruby Distribution License or GNU General Public License. | |
# |
# | |
# Recurring Job using Delayed::Job | |
# | |
# Setup Your job the "plain-old" DJ (perform) way, include this module | |
# and Your handler will re-schedule itself every time it succeeds. | |
# | |
# Sample : | |
# | |
# class MyJob | |
# include Delayed::ScheduledJob |
#!/bin/sh -e | |
# JIRA startup script | |
#chkconfig: 2345 80 05 | |
#description: JIRA | |
# Define some variables | |
# Name of app ( JIRA, Confluence, etc ) | |
APP=jira | |
# Name of the user to run as |