Skip to content

Instantly share code, notes, and snippets.

View thePaulista's full-sized avatar

Hedy thePaulista

  • urth!
View GitHub Profile
System development/Usability/Related Theories
First thing to do: 1. assess 2. identify functions 3. estimate
Buy or build?
now buying a vendor system is generally considered a cheaper option due to substantial development & maintenance cost and increased functionality of the vendor solutions
Software Development LIfe Cycle (SDLC)
planning and analysis
requirement analysis
"as-is" vs. "to be" processes
USE CASES: intense documentation. includes workflows (normal flow, alternative flow), before and after system stastus of a user action, use
@thePaulista
thePaulista / gist:9b1aece977d0f325716dd82384d6dd40
Created June 7, 2016 00:51
delete all heroku apps from command line
for app in $(heroku apps); do heroku apps:destroy --app $app --confirm $app; done
rails new rails_engine -d postgresql --skip-test-unit --skip-turbolinks --skip-spring
___________________________________________________________________________
source 'https://rubygems.org'
gem 'rails', '4.1.4'
gem 'sqlite3'
gem 'sass-rails', '~> 4.0.3'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
-----------------------------
test_helper.rb for MINITEST
---------------------------------
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require 'minitest/pride'
require 'webmock' #fakes http request
require 'vcr'
@thePaulista
thePaulista / gist:cc0822d51491586191fae66b28ef2bbd
Last active June 5, 2016 05:28
GEMS and SET UP INSTRUCTIONS
rails g rspec:install
______________________________________________________________________
bundle exec figaro install
http://stackoverflow.com/questions/21884085/where-do-i-place-stripes-publishable-and-secret-keys
Rails.configuration.stripe = {
:publishable_key => ENV['PUBLISHABLE_KEY'],
@thePaulista
thePaulista / gist:c224a41742922dcac59c26d48a11faaf
Created May 23, 2016 19:02
Hedy's dotfile - plagiriazed from everywhere.
" ========================================================================
" Vundle stuff
" ========================================================================
set nocompatible " Required by vundle
filetype off " Required by vundle
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@thePaulista
thePaulista / gist:04cf152803018064ca39ec354061b70a
Last active May 14, 2016 06:18
DTR The Pivot - Kris F., Jon L, Hedy
your strengths:
JON: he's a good punching bag, freestyling code
Kris: styling
Hedy: good at punching Jon. not sure, good at finding resources and implementing (?)
Jared:
weaknesses:
JON: testing
KRIS: confidence
HEDY: everything! confidence!
Cheat Sheet:
http://vim.rtorr.com/ (START with this one)
http://www.catswhocode.com/blog/130-essential-vim-commands
Vim Adventure: vim game to help you with navigation.
http://vim-adventures.com/
Vim Golf: check your keystroke count. It's the exercism of vim.
http://www.vimgolf.com/
@thePaulista
thePaulista / gist:87bf250965e876944bb59f8d94bb0b7d
Last active April 18, 2016 23:52
vim rc for mart to figure out
" ========================================================================
" Vundle stuff
" ========================================================================
set nocompatible " Required by vundle
filetype off " Required by vundle
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Availability: Jon - 100%, flexible with hours,
Chris - mostly open,
Hedy - 100% flexible
Strengths: Jon - good at solving problems,
Chris - solid in Ruby, good at testing,
Hedy - diagraming ideas, ruby
Weakness: Jon - testing (want to jump right into the coding for solutions);