Skip to content

Instantly share code, notes, and snippets.

View tibbon's full-sized avatar

David Fisher tibbon

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tibbon on github.
  • I am tibbon (https://keybase.io/tibbon) on keybase.
  • I have a public key whose fingerprint is 88AE 0759 FBF3 36DD 30EC 92D3 7C62 5A2C C913 3124

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am tibbon on github.
  • I am tibbon (https://keybase.io/tibbon) on keybase.
  • I have a public key whose fingerprint is B234 4A25 8C8E D30E 8FA0 D104 6723 7CA6 BD17 D4D5

To claim this, I am signing this object:

@tibbon
tibbon / silly_page.md
Created March 4, 2015 17:04
Silly Page

SETUP

Create a new organization with a group name (this is public, so don't make it anything terrible) Create a new Github repo and all all group members to it Everyone create a fork of it

Features

Now, create the appropriate feature branches and move through this program:

@tibbon
tibbon / git_circus.md
Created March 4, 2015 15:33
Git Circus

SETUP -

Create a new organization with a group name (this is public, so don't make it anything terrible) Create a new Github repo and all all group members to it Everyone create a fork of it

Now, create the appropriate branches and move through this story:

You're writing a story about a current event and using Github to help organize it. The story will be in a file that someone creates called storytime.md

@tibbon
tibbon / bubble_sort.c
Created December 3, 2014 15:34
Bubble Sort in C
#include <stdio.h>
#define ARRAYSIZE 8
void bubble_srt(int unsortedArray[], int arraySize) {
int temp;
for(int i = 0; i < arraySize; i++) {
for(int j = 0; j < (arraySize - 1); j++) {
@tibbon
tibbon / ruby_bytecode_view.rb
Created November 11, 2014 20:22
Viewing Ruby Bytecode
code = <<SRC
puts "Hello World"
SRC
bytecode = RubyVM::InstructionSequence.compile(code)
puts bytecode.disasm
@tibbon
tibbon / map_each_array.rb
Created September 24, 2014 18:02
Ruby Array Map and Each
# .each is pretty easily, and simply loops through the array.
colors = ["red", "green", "blue"]
colors.each do |color|
puts color
end
# What is the "return value" of each?
@tibbon
tibbon / method_scope_exercises.rb
Created September 24, 2014 16:12
WDI Method and Scope Exercises
####
# Exercise 1
# What bug prevents the circle circumference from being calculated in the code section below?
# How can you prevent such a bug in the future?
####
def circumference(r)
return 2 * pi * r
end
@tibbon
tibbon / suggested_gems.rb
Last active August 29, 2015 13:55
Suggested Ruby Gems for Development in Rails
gem 'dotenv-rails'
group :development do
gem 'time_difference'
gem 'pry-rails'
gem 'better_errors'
gem 'binding_of_caller'
gem 'annotate'
gem 'bullet'
gem 'debugger'