You are tasked with creating

  

Coding Assignment # 5 – Recipe Hunter 

You are tasked with creating a Rails app that will display a recipe index based on a keyword entered. 

1. Create a rails app called recipe_hunter 

2. Generate RecipesController (recipes_controller.rb) that will have an index action 

3. The above-mentioned controller should check if a request parameter keyword was passed in. 

4. If it was – it should use it, and if not – it should use a default value of “chocolate” instead. 

5. Create a model, Recipe (recipe.rb) that will contain a for class method that will take a 

keyword to query and query the Recipe Puppy API. (You should already have the Recipe class 

from the previous assignment. Remember, that unlike the previous assignment – you will not 

need to require ‘httparty’ gem in your code, since loading HTTParty gem should be the Bundler’s 

job.) 

6. Create your view (with CSS – use your imagination) that might look something like this: 

7. I should be able to click on either the title or the thumbnail and go straight to the actual recipe 

(out there on the web). Look at image_tag helper for defining an img tag and use this helper 

as the first argument to link_to helper. 

8. Rails automatically escapes HTML in your strings (mainly to avoid XSS attacks 

http://en.wikipedia.org/wiki/Cross-site_scripting). Because of this – some of your titles will look 

wrong. 

Rails has a sanitize (or raw) helper that will help you display HTML characters properly 

9. Instead of having to go to http://localhost:3000/recipes/index all the time – you want this page 

to be the default. So, you should be able to go to http://localhost:3000/?keyword=apple%20pie 

and see the following 

Submission Guidelines 

1. Commit all the files to your local repo and push your repo out to your private team repo on 

github creating a remote branch called assignment5. 

2. For this assignment, it might make the most sense to work on a master branch of a newly 

created repo and then do $git push remote_alias_github

master:assignment5 to push it out to github. 

3. Deploy your homework to heroku (WARNING: Heroku only allows pushing to a remote master 

branch) using a URL pattern of jhu-spring17-teamX-recipes.herokuapp.com (where X is your 

team number). 

4. Feel free to include a README.txt with any comments, as well as your deployed assignment URL 

Cloud computing

 

cloud computing: Week 6 Executive Practical Connection Assignment

For this project, select an organization that has leveraged Cloud Computing technologies in an attempt to improve profitability or to give them a competitive advantage.  Research the organization to understand the challenges that they faced and how they intended to use Cloud Computing to overcome their challenges.  The paper should include the following sections each called out with a header.

• Company Overview:  The section should include the company name, the industry they are in and a general overview of the organization.

• Challenges: Discuss the challenges the organization had that limited their profitability and/or competitiveness and how they planned to leverage Cloud Computing to overcome their challenges.

• Solution:  Describe the organization’s Cloud Computing implementation and the benefits they realized from the implementation.  What was the result of implementing Cloud Computing?  Did they meet their objectives for fall short?

• Conclusion:  Summarize the most important ideas from the paper and also make recommendations or how they might have achieved even greater success.

Requirements:

The paper must adhere to APA guidelines including Title and Reference pages.  There should be at least three scholarly sources listed on the reference page.  Each source should be cited in the body of the paper to give credit where due.  Per APA, the paper should use a 12-point Time New Roman font, should be double spaced throughout, and the first sentence of each paragraph should be indented .5 inches.  The body of the paper should be 3 – 5 pages in length.  The Title and Reference pages do not count towards the page count requirements.

Database – Discussions

Create a discussion thread (with your name) and answer the following question(s):

Discussion 2 (Chapter 24): What are the main characteristics of NOSQL systems in the area related to data models and query languages? OR What are the main characteristics of NOSQL systems in the area related to distributed systems and distributed databases?  Pick ONE questions to answer for your initial contribution. 

Instructions:  Your response to the initial question should be 250-300 words.  Next respond to two postings provided by your classmates. The first post should be made by Wednesday 11:59 p.m., EST. I am looking for active engagement in the discussion.  Please engage early and often. You are require to create your initial thread in order to view and respond to the threads posted by other students.  There must be at least one APA formatted reference (and APA in-text citation) to support the thoughts in the post as needed.  Do not use direct quotes, rather rephrase the author’s words and continue to use in-text citations.

Discussion Reply!!! About 50 words

  

  • Review  contributions to threats and  vulnerabilities on a home network and determine if they have gaps in  their understanding.
  • Provide feedback on a classmate’s home  network security measures they are not currently using. Do you have any  other suggestions or recommendations for them?

What threats do you need to be concerned about on your home network?

Some threats that you should be concerned about are Ransomware,  Information Theft, Data Breaches, Malicious Ads, and Remote Access Tools  (RAT). Some of these threats you would think are targets for just big  companies.  There might be a young hacker trying to make a name for  themselves or wanting to settle a score with somebody.  Every threat  needs to be taken seriously and guarded against you never know who the  next victim of a hack will be.

What are the vulnerabilities of each of your devices on your home network

Almost every device has a vulnerability one way or another.  The more  devices you have on your network the more vulnerable you are. Opening  the wrong email on either a smartphone, computer, or even a smart tv can  infect your network.  Depending on what IoT devices you have on your  network your whole house could be vulnerable.  For example, you have an  attached garage to your house, and you never lock the door between your  house and the garage.  You have your garage door opener linked to your  network and you get hacked with a RAT they can now gain access to your  house while you are away and rob you and there would not be any form of  forced entry into the house.  You would just think you forgot to lock a  door somewhere and that is how they got in; little do you know they used  the garage door to gain access into the house.  

What techniques can you use to protect your devices on your home  network? (Make sure to discuss how you will protect your network traffic  on your wireless network.)

Some good techniques to use to protect your devices is having a good  virus scanning software that scans your computers and network throughout  the day and will alert you of any possible treats that tried to gain  access to your network.  Keeping your software up to date will keep you  safer while on the internet and on your network; everyday there are new  ways to attack you if you do not keep up with the updates the software  will look past it as something that is vicious and can hurt your  network.  Change passwords from time to time, and never make it close to  the old password.  I have noticed a lot of online services requiring  you to come up with a more complicated password to keep your information  safe with using special characters. Do not use the same password for  everything.  You can use a VPN to help disguise your network and make it  harder to find and hack.

Discuss some home network security measures you are not currently using but may consider using.

I should change my passwords more often than what I do, and I am also  guilty of using almost the same password for everything because it is  easier to remember.  I know by doing this I put myself at risk of a lot  of things being hacked but with so many online services and accounts I  have it makes it easier to access them for me and not have to reset my  password every month.

References:

Trend Micro, (2017, February 20). Common Threats to Home Users and How to Defend Against Them

https://www.trendmicro.com/vinfo/us/security/news/cybercrime-and-digital-threats/threats-to-home-users-and-how-to-defend-against-them

Portfolio Assignment

 

This week discuss a current business process in a specific industry. 

Note the following:

-The current business process itself.
-The industry the business process is utilized in.
After explaining the current situation, take the current learning from the course and:
Explain a new technology that the business should deploy. 

Be specific, don’t only note the type of technology but the specific instance of technology.  (For example, a type of technology is smart automation a specific type of automation is automated light-dimming technology).

Note the pros and cons of the technology selected.

Note various factors the business should consider prior to deploying the new technology.

The above submission should be three pages in length.  Remember the total length does not include the APA approved cover page or the references.  There should be at least three APA approved references to support your work

data management

 Question 4 – Theory (15 marks) 

(a) Briefly explain any three data analysis and presentation software.

 (b) List any five issues faced by a data analyst in the process of analyzing the data. 

(c) Briefly explain Google Colab. Use Python and any dataset of your choice and explain one example (analysis/visualization) done using Colab. 

Exp22_Excel_Ch09_CumulativeAssessment_Variation_Tips

Exp22_Excel_Ch09_CumulativeAssessment_Variation_Tips

Exp22 Excel Ch09 CumulativeAssessment Variation Tips

Excel Chapter 9 Cumulative Assessment – Variation Tips

  

Project Description:

Your friend Julia is a server at a restaurant. She downloaded data for her customers’ food and beverage purchases for the week. You will complete the workbook by applying consistent formatting across the worksheets and finalizing the weekly summary. The restaurant requires tip sharing, so you will calculate how much he will share with the beverage worker and the assistant 

     

Start Excel. Download and open   the file named Exp22_Excel_Ch09_CumulativeAssessment_Variation_Tips.xlsx.   Grader has automatically added your last name to the beginning of the   filename.
 

  The Excel workbook contains circular references. When you open the file, an   error message displays. This error will be resolved as part of the project.

 

The Tip Left column in the   Friday worksheet contains a fill color and number formatting. You want to   fill these formats to the other daily worksheets.
 

  Group the Friday through Monday worksheets, starting with the Friday   worksheet. Fill the format only for the range E5:E24.
 

  Hint: The Home tab contains the Fill option.

 

Now you want to insert column   totals for the five worksheets simultaneously.
 

  With the worksheets still grouped, insert SUM functions in the range B25:E25   and apply the Total cell style. Ungroup the worksheets.
 

  Hint: The Home tab contains Cell Styles.

 

The Week worksheet is designed   to be a summary sheet. You want to insert a hyperlink to the Total heading in   the Monday worksheet.
 

  On the Week worksheet, in cell A5, insert a hyperlink to cell A25 in the   Monday worksheet with the ScreenTip text Monday’s Totals. Test the hyperlink to ensure   it works correctly.
 

  Hint: The Insert tab contains the option to insert a hyperlink.

 

In cell A6 on the Week   worksheet, insert a hyperlink to cell A25 in the Tuesday worksheet with the   ScreenTip text Tuesday’s Totals. Test the hyperlink to ensure it works correctly.

 

In cell A7, insert a hyperlink   to cell A25 in the Wednesday worksheet with the ScreenTip text Wednesday’s   Totals. Test   the hyperlink to ensure it works correctly.

 

In cell A8, insert a hyperlink to   cell A25 in the Thursday worksheet with the ScreenTip text Thursday’s   Totals. Test   the hyperlink to ensure it works correctly.

 

In cell A9, insert a hyperlink   to cell A25 in the Friday worksheet with the ScreenTip text Friday’s   Totals. Test   the hyperlink to ensure it works correctly.

 

Now, you are ready to insert   references to cells in the individual worksheets. First, you will insert a   reference to Monday’s Food Total.
 

  In cell B5 on the Week worksheet, insert a formula with a 3-D reference to   cell B25 in the Monday worksheet. Copy the formula to the range C5:E5.

 

The next formula will display   the totals for Tuesday.
 

  In cell B6, insert a formula with a 3-D reference to cell B25 in the Tuesday   worksheet. Copy the formula to the range C6:E6.

 

In cell B7, insert a formula   with a 3-D reference to cell B25 in the Wednesday worksheet. Copy the formula   to the range C7:E7.

 

In cell B8, insert a formula   with a 3-D reference to cell B25 in the Thursday worksheet. Copy the formula   to the range C8:E8.

 

In cell B9, insert a formula   with a 3-D reference to cell B25 in the Friday worksheet. Copy the formula to   the range C9:E9.

 

Now you want to use a function   with a 3-D reference to calculate the totals.
 

  In cell B10 on the Week worksheet, insert the SUM function with a 3-D   reference to calculate the total Food purchases (cell B25) for the five days.   Copy the function to the range C10:E10.

 

The servers are required to   share a portion of their tips with the Beverage Worker and Assistants. The   rates are stored in another file.
 

  Open the Exp22_Excel_Ch09_CumulativeAssessment_Variation_Rates.xlsx   workbook. Go back to the Exp22_Excel_Ch09_CumulativeAssessment_Variation_Tips.xlsx   workbook. In cell F5 of the Week worksheet, insert a link to the Beverage   Worker Tip Rate (cell C4 in the Rates workbook) and multiply the rate by the   Monday Drinks (cell C5). Copy the formula, select the range F6:F9, and then   use Paste Formulas.
 

  Note: The tip is a monetary value in the Week worksheet. It should be   formatted for Accounting Number Format.

 

Next, you will calculate the   tips for the assistant.
 

  In cell G5 in the Tips workbook, insert a link to the Assistant Tip Rate   (cell C5 in the Rates workbook) and multiply the rate by the Monday Subtotal   (cell D5). Copy the formula, select the range G6:G9, and then use Paste   Formulas. Close the Rates workbook.
 

  Note: The tip is a monetary value in the Week worksheet. It should be   formatted for Accounting Number Format.

 

You noticed a circular error   when you first opened the Tips workbook. Now you will find and correct it.
 

  On the Week worksheet, check for errors and correct the formula with the   circular reference.
 

  Hint: The Formulas tab contains an option to find circular references.

 

You want to consolidate the   daily averages on the Week worksheet.
 

  On the Week worksheet, select cell J4. Use the Consolidate tool to   consolidate data from the daily worksheets. Select and add the range H4:I8 in   each of the daily worksheets. Use the top row and left column labels when   consolidating data. After consolidating the data, use Cut and Insert Cut   Cells to cut the weekday column labels and data to arrange them in order,   starting with Monday.
 

  Hint: Consolidate is on the Data tab.

 

You want to format the headings   in the consolidated area.
 

  Select the range K4:O4 and apply bold. Change the width of column M to 11.

 

You want to create a validation   rule to prevent the user from accidentally entering a negative value. For   now, you will create a validation in the Friday worksheet.
 

  Select the range E5:E24 in the Friday worksheet, create a validation rule to   allow a decimal value greater than or equal to zero. Enter the input message   title Tip   and the input   message Enter the amount of tip. (including the period). Use the Stop alert with   the error alert title Invalid Number and the error alert message The tip must   be zero or more.   (including the period). Test the data validation by attempting to enter -20 in cell E5 and then cancel the   change.

 

Now you will copy the validation   settings to the other daily worksheets.
 

  Copy the range E5:E24 in the Friday worksheet. Group the Monday through   Thursday worksheets, select the range E5:E24, and use Paste Special   Validation to copy the validation settings.
 

  Hint: The Paste Special dialog box contains the Validation option.

 

You want to unlock data-entry   cells so that the user can change the tips in the daily worksheets.
 

  Group the Monday through Friday worksheets. Select the ranges E5:E24 and   unlock these cells.
  Hint: The Home tab contains the option to unlock cells.

 

Now that you unlocked data-entry   cells, you are ready to protect the worksheets to prevent users from changing   data in other cells. Individually, protect each daily sheet using the default   allowances without a password.
 

  Hint: The shortcut menu from the worksheet tab contains the option to protect   the sheet.

 

The Template worksheet displays   #DIV/0! for cells containing the AVERAGE function. You want to prevent the   error from displaying if no data is entered.
 

  Display the Template worksheet. In each cell in the range I5:I8, nest the   existing AVERAGE function within an IFERROR function. Type 0 in the Value_if_error argument.

 

Hide the Template worksheet.

 

Mark the workbook as final.
 

  Note: Mark as Final is not available in Excel for Mac. Instead, use Always   Open Read-Only on the Review tab.
 

  Hint: The File tab contains the option to mark the workbook as final.

 

Close Exp22_Excel_Ch09_CumulativeAssessment_Variation_Tips.xlsx. Exit   Excel. Submit the file as directed.

Semester Project Executive Summary

 

This lab will be different. Your only task is to create a single page* document called an executive summary. An executive summary simply summarizes a report. Some would say it’s an executive summary because it allows executives to not have to read the entire report, but that would be pessimistic. 🙂 You could also consider it an executive summary because it summarizes the execution of a plan, and that’s a great way keep in mind what it should do. You need to create a single page report on why your hypothetical organization needs a security policy, and this executive summary should do two things:

1) Allow an executive that has to approve your plan to understand why it’s so important without having to understand all the things you learned over the course of the semester. You have to let them know enough to convince them without burying them in details. This is why Chapter 12 is helpful in framing the ‘why’.

2) You have to let them know how you’re going to do it with a broad outline of the structure of the Security Policy and who and how it applies to in the organization. These are the logistics behind the “who/what/where/when/how” elements all executives have to reconcile to the larger organizational issues they are responsible for.

The document should be one page with standard margins, single spaced, and well formatted. Your instructor reserves the right to determine any specific elements they wish you to follow in this assignment.

*Why is it a single page? Partly because you rarely have a lot of time to convince an executive of the technical importance of what you do before they feel overwhelmed by the ‘techie’ factor. The other part is because this is a skill you must develop; beyond your technical skills, some of the most important and valuable skills you have are ‘soft skills’ which are ironically ‘hard’ to find for employers and ‘hard’ to master for employees. Being able to succinctly explain technical issues to the people in charge without resorting to “trust me” is a very marketable skill