Emmatyrnauer Week 3

From LMU BioDB 2017
Revision as of 19:03, 18 September 2017 by Emmatyrnauer (talk | contribs) (Acknowledgements: adding to acknowledgments)
Jump to: navigation, search

Hack a Page

Text Modification

Developer Tools Open
Developer Tools Closed

Picture Replacement

Developer Tools Open
Developer Tools Closed

Notebook

For this portion of the assignment, I visited the LMU website and replaced "Loyola Marymount University" with "Where the kool kidz go." I also changed the picture associated with the heading: "Top 10% Wallstreet Journal Ranked" to a picture of my dog. To replace the heading I opened up the developer tools using the inspect option and typed in the new heading. For the photo, I went to my Facebook page and copied and pasted the src from Facebook to the developer tools on LMU's website.

The Genetic Code by Way of the Web

DMing the Server with Curl

curl -d "pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&submit=Submit" http://web.expasy.org/cgi-bin/translate/dna_aa

Studying the curled code

  1. Are there any links to other pages within the ExPASy translation server’s responses? List them and state where they go. (of course, if you aren’t sure, you can always go there with a web browser or curl)
  2. Are there any identifiers in the ExPASy translation server’s responses? List them and state what you think they identify.

Using the Command Line to Extract Just the Answers

curl -d "pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&submit=Submit" http://web.expasy.org/cgi-bin/translate/dna_aa | sed "1,47d" | sed "14,44d" | sed 's/<[^>]*>//g' | sed "2s/[A-Z]/& /g" | sed "4s/[A-Z]/& /g" | sed "6s/[A-Z]/& /g" | sed "8s/[A-Z]/& /g" | sed "10s/[A-Z]/& /g" | sed "12s/[A-Z]/& /g" | sed "s/M/Met/g"| sed "s/-/Stop /g"

Notebook

In DMing the server with curl,

Acknowledgements

  1. I worked with my homework partner Zachary Van Ysseldyk outside of class. We met up and he helped me understand the curl command and how to do the individual assignment.
  2. While I worked with the people noted above, this individual journal entry was completed by me and not copied from another source.

Emmatyrnauer (talk) 12:03, 18 September 2017 (PDT)

References