Skip to content

Instantly share code, notes, and snippets.

View cczona's full-sized avatar

Carina C. Zona cczona

View GitHub Profile
@cczona
cczona / Doctor, Lawyer, Poker Player, Physicist: The Best Engineers We're Not Hiring
Last active January 1, 2016 07:09
Doctor, Lawyer, Poker Player, Physicist: The Best Engineers We're Not Hiring
TITLE:
Doctor, Lawyer, Poker Player, Physicist: The Best Engineers We're Not Hiring
ABSTRACT:
_"The team needs more engineers and we need them today."_
We talk about the engineer shortage. But the problem is not what we think it is. We'll explore how hiring for only CS degrees misses exceptional opportunities. Unconventional backgrounds breed great developers.
@cczona
cczona / pycon-2014-abstract-1
Last active December 23, 2015 02:28
PyCon 2014 abstract #1
The Pythonista’s Essential Travel Guidebook to Ruby’s Shorelines
For the coder accustomed to Pythonic ways, stepping into the world of Ruby is justifiably puzzling. Is the real documentation hidden or something? What's up with all the dogma? How do I learn to do things in accepted Ruby fashion? Do I really need to adhere to all these conventions, anyway...? Which Ruby groups, conferences, and docs are most approachable for the polished Pythonista who voyages into this foreign land?
We'll cover Ruby community essentials: code practices, culture, religious convictions, memes, lore, influential voices, and spiritual leaders. You'll find out why the #pairwithme hashtag is always where to gravitate. And we'll delve into the deepest of existential questions: why is the why of _why so darned fascinating?
Warning: explanations contained herein require foxes, cat pictures, and exactly two spaces.
@cczona
cczona / technical_interviewing.md
Last active December 11, 2015 21:59 — forked from econchick/interview_tips.md
Technical Interviewing Guide Resources and tips collected from January 28, 2013 Women Who Code workshop
@cczona
cczona / .irbrc
Created January 28, 2013 05:16 — forked from zzak/.irbrc
# Custom prompt. Based on <https://gist.github.com/4652812> by Zachary Scott
IRB.conf[:PROMPT][:PERSONAL] = IRB.conf[:PROMPT][:RVM].merge(
:PROMPT_I => "\n#{RUBY_VERSION} >> ",
:PROMPT_S => "%l >> ",
:PROMPT_C => "? >> ",
:RETURN => "RETURNS> %s\n\n"
)
IRB.conf[:PROMPT_MODE] = :PERSONAL
@cczona
cczona / rspec_rails_cheetsheet.rb
Created December 19, 2012 16:19 — forked from them0nk/rspec_rails_cheetsheet.rb
#rspec #rails #testing
#Model
@user.should have(1).error_on(:username) # Checks whether there is an error in username
@user.errors[:username].should include("can't be blank") # check for the error message
#Rendering
response.should render_template(:index)
#Redirecting
response.should redirect_to(movies_path)
#Model
@user.should have(1).error_on(:username) # Checks whether there is an error in username
@user.errors[:username].should include("can't be blank") # check for the error message
@user.errors[:email].should include("is invalid") # check for the error format message
#Rendering
response.should render_template(:index)
#Redirecting

Capybara Cheat Sheet

Navigating

  visit('/projects')
  visit(comments_path)
  visit(post_comments_path(post))
@cczona
cczona / guard297
Created September 23, 2012 05:07
Guardfile & Gemfile for guard/gaurd #297
## Gemfile ##
source 'https://rubygems.org'
gem 'rails', '3.2.8'
group :development, :test do
gem 'sqlite3'
gem 'rspec-rails'
gem 'guard-rspec'
gem 'listen', github: 'guard/listen', branch: 'polling/double'
@cczona
cczona / git-rvm-prompt.sh
Created August 25, 2012 19:08
My Git/RVM bash shell prompt
### Bash shell prompt with RVM and Git info ###
### REQUIRES git-prompt.sh provided with Git ###
# $ cp git-prompt.sh ~/.git-prompt.sh
# $ echo source ~/.git-completion.sh >> ~/.bashrc
# in ~/.bashrc
BLACK="\e[30m"
RED="\e[31m"
GREEN="\e[32m"
@cczona
cczona / ruby-for-beginners-workshop
Created August 24, 2012 02:10
Ruby for Beginners workshop slide deck
## This page's URL http://bit.ly/PB5ptc
$ git clone git://github.com/cczona/railsbridge-docs.git
$ cd railsbridge-docs/sites/workshop
$ bundle install
$ gem install rerun