Skip to content

Instantly share code, notes, and snippets.

View steve54b's full-sized avatar

Steve Lokietz steve54b

  • Boca Raton, FL
View GitHub Profile
Our WynBox project will provide a user-friendly and attractive front-end to
course information essential to Wyncode students. It will kick off with
schedules & events, point & click access to lecture documentation, and
update/notification capabilities. Reach goals include Ajax and an interface
to HipChat; future goals include staff user functionality and an enterprise
managment platform for the Wyncode organization.
User stories:
1) So that I can complete my work efficiently and with minimal distraction,
as a Wyncode student,
<details>
<dl>student
<dt>name
<dd>John Smith</dd>
</dt>
<dt>school
<dd>Wyncode>/dd>
</dt>
</dl>
</details>
title "An Article" {
font-family:Arial;
color:blue;
float:left;
}
p span {
font-weight:bold;
font-size:139%;
a = { one: 1, two: 2, three: 3, four: 4, five: 5 };
keys = Object.keys(a)
for (i = 0; i < keys.length; i++ ){
console.log(keys[i] + ": " + a[keys[i]]);
}
1) Pseudo classes are combined with selectors to more specifically target
an element that may otherwise be difficult to distinguish from other
elements of the same type. e.g., if you have
<p>yakety-yak</p>
<p>don't talk back</p>
and you want to target only the "don't talk back", you can select it with:
p:nth-of-type(2)
2) Pseudo-elements are combined with selectors to apply styling to a
specified part of a selected element.
e.g., if you have
#header li {
display:inline
}
Hello world!
function my_global_function() {
var my_function_var = "a";
if (my_function_var === undefined) {
return;
} else {
console.log(my_function_var + 1);
}
}
# server.rb
require 'sinatra'
get '/' do
redirect "./hello.txt"
end
Stevens-MacBook-Pro:projects SteveLokietz$ mkdir rails_github_clone
Stevens-MacBook-Pro:projects SteveLokietz$ cd !$
cd rails_github_clone
Stevens-MacBook-Pro:rails_github_clone SteveLokietz$ git clone https://github.com/rails/rails.git
Cloning into 'rails'...
remote: Counting objects: 485773, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 485773 (delta 0), reused 0 (delta 0), pack-reused 485766
Receiving objects: 100% (485773/485773), 140.73 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (349529/349529), done.