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
# Array Practice | |
## Practice with Integers | |
Integers - an array from 0 to 100: | |
``` | |
(0..100).to_a | |
``` |
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
require 'bundler/setup' | |
Bundler.require | |
require_rel '../app' | |
describe "Challenge" do | |
before(:all) do | |
@customer1 = Customer.new("Bob", "Bobbington") | |
@customer2 = Customer.new("Mary", "Maryberg") | |
@customer3 = Customer.new("Bob", "SomeoneElse") |
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
## The names of those who have gone before you | |
| Cohort | Name | | |
| ------------------ | ------------------------------- | | |
| DC Web 082718 | Puts rspec on my :name | |
| Houston Web 082718 | Boolean Icing (but the chant to exit feelings is "Fork Repos Git Money"; inside-joke stuff) | |
| Dumbo Web 080618 | Kiss My Hash | |
| NY Web 080618 | RSpec the Wealth | |
| DC Web 071618 | Good Migrations |
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
require 'bundler/setup' | |
Bundler.require | |
require_rel '../app' | |
describe "Challenge" do | |
before(:all) do | |
@customer1 = Customer.new("Bob", "Bobbington") | |
@customer2 = Customer.new("Mary", "Maryberg") | |
@customer3 = Customer.new("Bob", "SomeoneElse") |
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
$default-has-layout-approach: "block"; | |
@import "compass"; | |
@import "theatlantic/css/variables"; | |
@import "theatlantic/css/article-styles"; | |
$facebook-color: #3d5ba8; | |
$twitter-color: #55acee; | |
body { | |
font-family: $serif; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
{ | |
"role": "container", | |
"layout": { | |
"minimumHeight": 150 | |
}, | |
"style": { | |
"fill": { | |
"URL": "bundle://spacebeyond.jpg", | |
"fillMode": "cover", | |
"type": "image" |
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
<div class="full-width main-graphic" id="interactive" style="text-align:center; padding: 40px 0; width:100%; -webkit-transform: translate3d(0,0,0); | |
-moz-transform: translate3d(0,0,0); | |
-ms-transform: translate3d(0,0,0); | |
-o-transform: translate3d(0,0,0); | |
transform: translate3d(0,0,0);"><!-- Ad Tags for Qualcomm 2 - Desktop --><!-- Base size of ad: 1024x780 --><!-- Placements: 1 --><!-- Placement: Qualcomm 2 - Desktop #1 --><!-- Placement ID: c069bddc-ef69-4ff6-abe0-ad0d0a4bde77 --><!-- Placement Size: 1024x780 --><!-- Ad Server: NONE --><script> | |
(function() { | |
var guid = "c069bddc-ef69-4ff6-abe0-ad0d0a4bde77", o = window, r = "", m, s = "http:", e = encodeURIComponent, x = 0, f = document.createElement("script"); | |
o.FLITE=o.FLITE || {}; | |
o.FLITE.config = o.FLITE.config || {}; | |
o.FLITE.config[guid] = o.FLITE.config[guid] || {}; |
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
if (st > lastScrollTop){ | |
// downscroll code | |
$(".test-sticky_nav-hide #site-header-container").addClass( | |
"hide", 4000); | |
} else { | |
// upscroll code | |
$(".test-sticky_nav-hide #site-header-container").removeClass( | |
"hide", 4000); | |
} |
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
File "/Volumes/www/Atlantic-CMS/bin/../apps/manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/__init__.py", line 443, in execute_from_command_line | |
utility.execute() | |
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/__init__.py", line 382, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/base.py", line 196, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/base.py", line 231, in execute | |
self.validate() |
NewerOlder