I'm a passionate comedian turned full stack developer with a love for people and building cool projects. I am fascinated with bots and video games. I'm a firm believer in test driven development, continous integration and code review, and always strive to write beautiful and elegant code that solves complex problems easily.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UsersController < ApplicationController | |
before_action :set_user, only: [:show, :edit, :update, :destroy] | |
after_action :slack, :only [:update, :destroy, :create] | |
def index | |
@users = User.all | |
end | |
def show | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Welcome to Escape from Ninja Clown Island" | |
puts "You must run away from all the ninjaclowns" | |
puts "They know karate and will kill you!!" | |
puts "Options: jump, move left, move right" | |
option = gets.chomp | |
case option | |
when "jump" | |
puts "You jumped over the ninjaclown" | |
puts "Another ninjaclown is approaching" |