Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sarboc on github.
  • I am sarboc (https://keybase.io/sarboc) on keybase.
  • I have a public key ASBtKXEI2PxJLdbedmm-e_bGl6UqD05Xz2Cv_j2qqjY4Ygo

To claim this, I am signing this object:

Coffee-Script lab

Hater's lab

Objective
To reinforce skills familiar in javascript regarding DOM interaction, and successfully translate them into Coffee-Script.
@sarboc
sarboc / failure.md
Created October 11, 2013 16:01
Failure

#Failure is Not a 4-Letter Word In "Why I Hire People Who Fail", Jeff Stibel argues that failure is an inevitable part of business and should be accepted, possibly even cherished. Why is Stibel so excited about failure?

When you make a mistake, you’re forced to look back and find out exactly where you went wrong, and formulate a new plan for your next attempt. By contrast, when you succeed, you don’t always know exactly what you did right that made you successful (often, it’s luck).

I think this is a great attitude toward failure, mostly because it takes the pressure off of always having to be perfect, which is an impossible ideal to live up to. People who never fail aren't taking any risks, and those who don't take risks are unlikely to make large advances in their industry.

###The Failure Wall One of the ways that Stibel has worked to create a culture accepting of failure is by creating a "fail wall." This is a space where employees at al

<form action='/post' method='post'>
<input type="text" name="title" placeholder="What's the title?">
<input type="text" name="author" placeholder="Who wrote it?">
<input type="text" name="review" placeholder="Review goes here. Type away...">
<input type="submit"></input>
</form>
<% if @books.empty? %>
<p>No reviews yet. You should write one.</p>
<% else %>
@sarboc
sarboc / debug_1.md
Last active December 24, 2015 17:09 — forked from OfTheDelmer/debug_1.md

#Debugging (Use The Duck… )

Find the errors in the following

1.)

@sarboc
sarboc / 0_reuse_code.js
Created September 30, 2013 23:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@sarboc
sarboc / saras_quiz.rb
Last active December 24, 2015 03:09 — forked from featherart/gist:6734826
Sara's Week 1 Quiz
# ,o888888o. 8 8888 88 8 8888 8888888888',8888'
# . 8888 `88. 8 8888 88 8 8888 ,8',8888'
# ,8 8888 `8b 8 8888 88 8 8888 ,8',8888'
# 88 8888 `8b 8 8888 88 8 8888 ,8',8888'
# 88 8888 88 8 8888 88 8 8888 ,8',8888'
# 88 8888 `8. 88 8 8888 88 8 8888 ,8',8888'
# 88 8888 `8,8P 8 8888 88 8 8888 ,8',8888'
# `8 8888 ;8P ` 8888 ,8P 8 8888 ,8',8888'
# ` 8888 ,88'8. 8888 ,d8P 8 8888 ,8',8888'
# Building Ruby Familiarity
# In this exercise you will take a first look at some common commands in Ruby
# The idea here is to build familiary with Ruby syntax
# This will likely be the first time you've seen some of these commands
# Just type them in and see the displayed output
# Steps:
# 1. Open up a new terminal window
# 2. Launch irb