Skip to content

Instantly share code, notes, and snippets.

@brianrip
brianrip / cfu_crud_in_sinatra.markdown
Last active February 3, 2016 00:42 — forked from rwarbelow/cfu_crud_in_sinatra.markdown
CRUD in Sinatra -- Check for Understanding

1. Define CRUD.

  • Create Read Update Delete

2. There are seven verb + path combinations that are necessary in a basic Sinatra app in order to provide full CRUD functionality. List each of the seven combinations, and explain what each is for.

  • GET/index.rb: Listing all instances
  • GET/show.rb: Shows one instance
  • GET/new.rb: Creates ability for new instance
  • POST/index.rb: Creates and saves a new instance
  • GET(update)/new.rb: Update existing instance
  • PUT/index.rb: Updates and saves edited instance
@brianrip
brianrip / lightning_talk_brianrip_outline.md
Last active February 5, 2016 19:57
Community Transformation through Technology and Entrepreneurship

Transformative Entrepreneurship

Thesis: We are soon going to be in a position to choose our career path and this idea is something we should consider

The Y axis

  • Has a relatively straightforward measure of revenue, profit, market cap and ROI. The organizations that have the greatest impact have scalable business models that produce products and services millions of people are willing to pay for.

Harmful small Business

@brianrip
brianrip / git-commit-correctly.md
Last active February 25, 2016 16:47
proper git commit practice

How to format and define git commits

Rules of thumb

  • Capitalized
  • 50 chars or less summary
  • if detailed explanation neccessary - wrap body @ 72 chars
  • Use imperative mood in subject line
  • Blank line seperating subject and body. Do not end subject line with period
  • Bullet points are ok using hyphen or asterisk
@brianrip
brianrip / intermediate_SQL.md
Last active March 25, 2016 15:38
intermediate SQL

Total revenue for all items?

  • SELECT SUM(revenue) FROM items;

Average revenue for all items?

  • SELECT AVG(revenue) FROM items;

####Minimum revenue for all items?

  • SELECT MIN(revenue) FROM items;

Maximum revenue for all items?

@brianrip
brianrip / explore_further.md
Last active April 19, 2016 02:11
mod 3 personal project

Explore Further

Pitch

A one stop application to find a climbing area witin a short distance of strava activites a user has completed.

Problem

An outdoor enthusiast if often unaware of the awesome climbing areas that are nearby theit favorite biking or hiking trails. Often the new climber will have already adventured in popular climbing areas without even realizing it. This app will allow the user to find these areas without even searching.

@brianrip
brianrip / job-prospects.md
Created May 13, 2016 21:26
Job searching
@brianrip
brianrip / js-reviews.md
Last active May 13, 2016 22:01
js exercism reviews

##Leap My code: here

  • Responder #1 (here) - This user used a similar if/else approach to my own but nested conditions instead of using && operators.

  • Responder #2 (here) - Much cleaner that the first responder. By use of the & and || operator the user was able to demonstrate a clear implementation.

  • Responder #3 (here) - It would have been possible for the user to return multple true condition by using the & operator instead of having 4 if statements.

  • Responder #4 (here) - This is similar to the 2nd user but this user was able to complete all conditions on one line knowing that it would automaitically return false if none of these conditions were met.

@brianrip
brianrip / es6.markdown
Last active May 19, 2016 21:09 — forked from rrgayhart/es6.markdown
es6 - 1510

Throughout the module (and your journey to Google enlightenment while working on IdeaBox2.0) you may notice a few different ways that JavaScript code is being written.

That might have something to do with something called ES6 and ES5

Fork this gist and answer the following questions:

What is ES6?

  • ES6 is the latest release of JS language specifications that allow for number of new features to improve upon ES5.

What is Transpilation and how does it relate to ES6?

  • Transpilation is the process of compiling ES6 code to become compatiable with browsers that only support ES5.
@brianrip
brianrip / 1511-custom-set.markdown
Last active May 19, 2016 16:33 — forked from rrgayhart/1511-custom-set.markdown
1511-custom-set.markdown

Custom Set Problems

  • Brian and July repo passing.
  • Brian and July!
  • Proper use of enumerables.. Just need more practice.
**Step One**: Watch [Sorting Algorithms in JavaScript](https://www.youtube.com/watch?v=uRyqlhjXYQI)
**Step Two**: Fork this gist.
**Step Three**: Respond to this question in your fork: "What are some of the balances and trade offs between different sorting algoritms?"
**Step Four**: _Totally Optional_: take a look at some of the other forks and comment if the spirit moves you.