- Make a new Rails project.
- Make necessary modifications to the project such that an HTML response of
"<h1>Hello World</h1>"
is returned when hitting the path"hello_world"
with a GET request - Make necessary modifications to the rails project such that an HTML response of
"<h1>Hello POST world</h1>"
is returned when hitting the path"hello_world"
with a POST request, do not remove any code created in #1. - Make necessary modifications to the rails project such that an HTML response of
"Hello POST world PLUS"
is returned when hitting the path"hello_world"
with a POST request AND a payload that contains the key/value pair "plus"/"true", otherwise the HTML response should be"Hello POST world NO-PLUS"
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 id="mediaDisplayArea" style="margin-top: 2px;"> | |
<div id="ambienceContainer"> | |
<div id="ambience"></div> | |
</div> | |
<!-- copy and paste. Modify height and width if desired. --> <a href="http://content.screencast.com/users/DLavin23/folders/Snagit/media/d8a32c55-7540-4474-8778-890649550a4a/2014-08-15_15-01-44.png"><img style="width: 457px; height: 38px;" class="embeddedObject" src="http://content.screencast.com/users/DLavin23/folders/Snagit/media/d8a32c55-7540-4474-8778-890649550a4a/2014-08-15_15-01-44.png" border="0" height="38" width="457"></a> | |
</div> |
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="buttons"> | |
<a class="gray" href="#"> | |
Default | |
</a> | |
<a class="blue" href="#"> | |
Primary | |
</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
<div class="buttons"> | |
<a class="gray" href="#"> | |
Default | |
<strong> | |
</a> | |
<a class="blue" href="#"> | |
Primary | |
</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
#VALID_CHOICES = %w(rock paper scissors lizzard spock) | |
VALID_CHOICES = %w(r p s l sp) | |
def prompt(message) | |
Kernel.puts("=> #{message}") | |
end | |
def win?(first, second) | |
(first == 'r' && second == 's') || | |
(first == 'p' && second == 'r') || |
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
Website Maintenance | |
shopfilthyriches.com | |
Maintenance | |
Monthly - $425.00 | |
WordPress updates for plugins and theme |
I hereby claim:
- I am rgsoto on github.
- I am bigie35 (https://keybase.io/bigie35) on keybase.
- I have a public key ASCASt53zr7cVhW_nly17cSXeB6gSBRRitsE_XtcTkoAZwo
To claim this, I am signing this object:
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
<head> | |
<title> Twitch stream app </title> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="header"> | |
<img class = "header_img" src="https://vignette4.wikia.nocookie.net/logopedia/images/2/26/Twitch_logo.svg/revision/latest?cb=20140727180649"></img> | |
<h1 id="title"> Streamers </h1> |
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
palindrome detected: A butt tuba | |
palindrome detected: A man, a plan, a canal—Panama! | |
palindrome detected: A man, a plan, a canoe, pasta, heros, rajahs, a coloratura, maps, snipe, percale, macaroni, a gag, a banana bag, a tan, a tag, a banana bag again (or a camel), a crepe, pins, Spam, a rut, a Rolo, cash, a jar, sore hats, a peon, a canal–Panama! | |
palindrome detected: A Toyota's a Toyota | |
palindrome detected: Able was I ere I saw Elba. | |
palindrome detected: Ah, Satan sees Natasha | |
palindrome detected: deified | |
palindrome detected: Dennis sinned. | |
palindrome detected: Dennis and Edna sinned. | |
palindrome detected: Dennis, Nell, Edna, Leon, Nedra, Anita, Rolf, Nora, Alice, Carol, Leo, Jane, Reed, Dena, Dale, Basil, Rae, Penny, Lana, Dave, Denny, Lena, Ida, Bernadette, Ben, Ray, Lila, Nina, Jo, Ira, Mara, Sara, Mario, Jan, Ina, Lily, Arne, Bette, Dan, Reba, Diane, Lynn, Ed, Eva, Dana, Lynne, Pearl, Isabel, Ada, Ned, Dee, Rena, Joel, Lora, Cecil, Aaron, Flora, Tina, Arden, Noel, and Ellen sinned. |
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
#!/usr/local/bin/node | |
// Returns the paragraphs from a wikipedia link, stripped of reference numbers. | |
let request = require("request"); | |
let url = process.argv[2]; | |
const jsdom = require("jsdom"); | |
const { JSDOM } = jsdom; |