This file contains 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
@echo off | |
rem | |
rem **************************************************************************** | |
rem | |
rem Copyright (c) Microsoft Corporation. All rights reserved. | |
rem This code is licensed under the Microsoft Public License. | |
rem THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF | |
rem ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY | |
rem IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR | |
rem PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. |
This file contains 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
UPDATE pg_database SET datallowconn = TRUE where datname = 'template0'; | |
\c template0 | |
UPDATE pg_database SET datistemplate = FALSE where datname = 'template1'; | |
drop database template1; | |
create database template1 with template = template0 encoding = 'UNICODE' LC_CTYPE = 'en_US.UTF-8' LC_COLLATE = 'C'; | |
UPDATE pg_database SET datistemplate = TRUE where datname = 'template1'; | |
\c template1 | |
UPDATE pg_database SET datallowconn = FALSE where datname = 'template0'; |
The complete schedule for the event and the address can be found at: http://railsgirls.com/la
This account of Coaching a Study Group is a great guide for everyone to read.
The Guide (tutorial)
This is the tutorial we will go through with the students. It is not a race to get through it all. Aim for getting up to the part where it says to take a break. Anything past that point is frosting.
This file contains 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 'minitest' | |
# ## | |
# # Provide an incrementable `assertions` attr_accessor to use assertions | |
# # a la carte. Normally this would already be provided by Minitest::Runnable | |
# # but we want to play with assertions from the top level! \o/ | |
module Minitest::Assertions | |
attr_writer :assertions | |
def assertions |
This file contains 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 'minitest/mock' | |
## | |
# This monster eats Symbols. Give it a Symbol and how many to eat and nom nom! | |
monster = Minitest::Mock.new | |
monster.expect :eat, :nom_nom, [Symbol, Numeric] | |
## | |
# Let's verify the monster in fact ate its Symbols: | |
monster.verify |