###Time: 20 min
Topics | bash commands, terminal |
##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 ...]
# 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) |
git pull [email protected]:username/repo.git branch_name |
export PS1="\u: \w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " |
.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