The purpose of this problem is to dynamically reproduce the store hour display style that is commonly seen on the front door of businesses.
This file contains 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
## First Hello world | |
puts "what is your name??" | |
name = gets.chomp | |
puts "Hi #{name}, how are you??" | |
############# | |
# Variables # | |
############# |
.block{} //component/molecule
.block{}--modifier {} // modification to component
.block__element {} //descendent of block - atom inside of component
.block__element--modifier {} //descendent of block - atom inside of component modified
- Corey Speisman
- I'm a developer at The Sunlight Foundation.
- I maintain the Capitol Words API, and Simple Socialite gulp package
- Work on OpenCongress.org redesign
Go to nitrous.io
- fill in site sign up form and confirm email
- open dashboard
- select ruby/rails and click create box in lower right
- click next
- click IDE to open up virtual environment
This file contains 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
export PS1="\u: \w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " |
This file contains 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
git pull [email protected]:username/repo.git branch_name |
This file contains 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
# This is a complete example of FizzBuzz | |
# using an assert method to test my code. | |
# Essentially, all the assert method does is | |
# throw an error if my expectation evaluates to false | |
# an even simpler way to test would be by just using puts. | |
# for example: puts fizzbuzz(5) == buzz will print out true to my terminal | |
# if something prints false that means its a failing case | |
def fizzbuzz(number) |
##Bash Basics
Bash (born again shell) is a unix shell that allows us to talk to our computer through commands.
A typical command syntax will look like command [args ...]
You'll also often see command [-options] [args ...]