HealthFinder is a mobile client app that leverages the HealthFinder API which is maintained by the Department of Health and Human Services.
Time spent: X hours spent in total
The following required functionality is completed:
| from random import randint | |
| import math | |
| logs = [] | |
| ts = 0 | |
| for i in range(100): | |
| ts+=randint(0,100) | |
| logs.append((ts, i)) | |
| def get_log(stream, ts): |
HealthFinder is a mobile client app that leverages the HealthFinder API which is maintained by the Department of Health and Human Services.
Time spent: X hours spent in total
The following required functionality is completed:
0 using the storyboardtableView.rowHeight = 110 or whatever you have the prototype cell's height as in the storyboard (this height is adjustable!)Project -> Clean and then Build again if you ever a "Linker error"if-let statements of your dataTask and making sure that they're successfully pushing through.let url = URL(string: "https://healthfinder.gov/developer/MyHFSearch.json?api_key=demo_api_key&who=child&age=16&gender=male")
let request = URLRequest(url: url!)
let session = URLSession(
configuration: URLSessionConfiguration.default,
HealthFinder is a mobile client app that leverages the HealthFinder API which is maintained by the Department of Health and Human Services.
Time spent: X hours spent in total
The following required functionality is completed:
Write a function that converst strings (e.g. "1001") to its numeric representation Write a function that does the converse of the above.
Write a function that does the following: Convert "A" -> 0 Convert "Z" -> 25 Convert "AA" -> 26
| # This script automates the creation of pull requests for students | |
| mkdir assign2-submissions | |
| # TODO: setup the git remote here for the assign2-submissions folder | |
| while read id; do | |
| git checkout master | |
| git checkout -b $id | |
| cd ../ | |
| folderName="$id-assign2" | |
| cp -rf "assign2/$folderName" "assign2-submissions/$folderName" | |
| cd assign2-submissions |
| def senseCollision(self): | |
| time.sleep(0.5) | |
| lastX = None | |
| lastY = None | |
| smoothingFactor = 0.5 | |
| collisionThreshold = 750 | |
| while True: | |
| x, y, z = self.joystick.read_accelerometer_data() | |
| if lastY != None and lastX != None: |