This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionMailer::Base.deliveries.first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## DEFINE DIT ROOT/BASE/SUFFIX #### | |
## uses RFC 2377 format | |
## replace example and com as necessary below | |
## or for experimentation leave as is | |
## dcObject is an AUXILLIARY objectclass and MUST | |
## have a STRUCTURAL objectclass (organization in this case) | |
# this is an ENTRY sequence and is preceded by a BLANK line | |
dn: dc=example,dc=com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rspec/core/formatters/base_formatter' | |
class Frogger < RSpec::Core::Formatters::BaseFormatter | |
COLOR_START = "\e[34m" # blue | |
COLOR_FAILED = "\e[31m" # red | |
COLOR_PASSED = "\e[32m" # green | |
COLOR_PENDING = "\e[33m" # yellow | |
def initialize(output = nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Embed steps in other steps | |
-------------------------- | |
When %{I am on the home page} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A place to store all the various little fixes required to keep cucumber/rspec textmate HTML output working | |
### CUCUMBER ################### | |
# If it raises an error that radix is not found. | |
# Could not find radix- in any of the sources (Bundler::GemNotFound) | |
$ gem install radix # as a system gem | |
Make sure you are on a recent cucumber bundle. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Library/LaunchDaemons | |
# remove things from here which I don't need pre launching | |
System Prefs > Accounts > Login Items | |
# Minus apps from here I don't want loading on startup | |
Activity Monitor | |
# Check to see what's using up the RAMs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notes from 'Xavier Shay's talk' - What makes a good README file (RORO 2010 Melbourne) | |
Use Symantic versioning (Major.Minor.Patch) | |
What | |
---- | |
What prob u solving | |
How | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MODELS | |
# ------ | |
# A contest has a host, which is actually a user record | |
has_one :host, :class_name => "User" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/plugins/git.plugin.zsh b/plugins/git.plugin.zsh | |
index cbc40a2..d25c2eb 100644 | |
--- a/plugins/git.plugin.zsh | |
+++ b/plugins/git.plugin.zsh | |
@@ -2,7 +2,7 @@ | |
alias g='git st' | |
alias l='git log' | |
alias d='git diff' | |
-alias gl='git pull' | |
+#alias gl='git pull' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git commit # commit your changes like usual | |
$ rake version:bump:patch | |
$ rake gemspec # to update version to new version number, etc. | |
$ rake build # create the new gem package | |
# Commit the new gemspec file. | |
$ gem push pkg/<gemname_and_version>.gem # push to rubygems | |
$ git push # so that the githubs are all up to date! |