Skip to content

Instantly share code, notes, and snippets.

@amaseda
amaseda / dabblet.css
Created March 9, 2013 17:12
Untitled
input {
border-radius: 5px;
border: 1px solid #cccccc;
}
#name, #email {
width: 86%;
}
#you, #songs {
@amaseda
amaseda / dabblet.css
Created March 9, 2013 19:10
Untitled
input {
border-radius: 5px;
border: 1px solid #cccccc;
}
#name, #email {
width: 86%;
}
#you, #songs {
@amaseda
amaseda / dabblet.css
Created March 9, 2013 19:10
Untitled
input {
border-radius: 5px;
border: 1px solid #cccccc;
}
#name, #email {
width: 86%;
}
#you, #songs {
@amaseda
amaseda / dabblet.css
Created March 9, 2013 19:35
Untitled
#title {
text-align: center;
}
#title span {
position: relative;
display: inline-block;
font-family: Century Gothic, arial, sans-serif;
font-size: 104px;
text-align: center;
@amaseda
amaseda / gist:8a5f941474f62fe06a42
Last active August 29, 2015 14:17
Homework W01D01
new_student(){
mkdir -p GeneralAssembly/Homework/week01/day01 GeneralAssembly/Notes/week01/day01
mkdir -p GeneralAssembly/Projects GeneralAssembly/Outcomes
touch GeneralAssembly/README.md
echo "Keep calm and carry on." > GeneralAssembly/README.md
echo "Hey there, student! Welcome to WDI6! I just set up this directory tree for you: "
tree GeneralAssembly
}
@amaseda
amaseda / gist:f7a90e052633bf2e1c4c
Created March 17, 2015 13:53
Morning Exercise 3/17
mv ../TOP_SECRET/SERIOUSLY_TOP_SECRET/YOU_PROBABLY_SHOULDNT_BE_IN_HERE/totallyNotNuclearCodes.txt .
cd ../TOP_SECRET/SERIOUSLY_TOP_SECRET/YOU_PROBABLY_SHOULDNT_BE_IN_HERE/
touch totallyNotNuclearCodes.txt
echo "8675309" > totallyNotNuclearCodes.txt
cd ../../../FLASH_DRIVE
cp ../CAT_PHOTOS/nefariousMisterMittens.jpg .
puts "C-3P0: C-3P0, human-cyborg relations."
puts "C-3P0: What is your name?"
name = gets.chomp.to_s.capitalize
puts "\nC-3P0: It is a pleasure to meet you, #{name}. Have you ever met a protocol droid before?"
user_answer = gets.chomp.to_s.capitalize
puts "\nC-3P0: #{user_answer}? How interesting, for someone from around these parts."
puts "C-3P0: I'm terribly sorry for prying, but you don't by any chance go by the alias of Obi-Wan Kenobi, do you? (Answer 'I do' or 'I don't')"
know_obi = gets.chomp.to_s.downcase
The transition from Ruby to Javascript hasn't been as jarring as I expected it
to be. As the teachers mentioned a number of times, it's true that by knowing one
programming language you will pretty much be able to understand
80% - 90% of another. While matching methods between Ruby and Javascript
hasn't been too tough (although it's taking a lot of getting used to), wrapping
my head around control flow and the call stack has been a bit more difficult.
There have been plenty of instances during JS homework assignments where the
code takes on a life of its own. Variables and functions are declared left and
right, mysterious and undecipherable errors pop up on the screen
and what was meant to be a simple timer app ends up morphing into a crazy
@amaseda
amaseda / pretro.md
Created June 22, 2015 14:28
pretro

PRETRO

GA

  • Teach a class!
  • Have lesson plans completed at least a full week before class.
  • ???

Personal

  • Write 2 blog posts.
  • Learn a new JS library/framework outside of class material.
@amaseda
amaseda / gist:35a62128d8795e045d49
Created July 16, 2015 15:29
Variable Assignment Exercise
1.
a = 5
a = 6
What is a?
2.
a = 5
a + 2