mirror of
https://github.com/KevinMidboe/homehub.git
synced 2025-10-29 17:40:26 +00:00
Changes to index, topRedditPost, topSubPort and weatherdata, mostly styling
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
<img src="images/Elias.png" width="800px">
|
<img src="images/Elias.png" width="800px">
|
||||||
<img src="images/August.png" width="800px">
|
<img src="images/August.png" width="800px">
|
||||||
<img src="images/Nora.png" width="800px">
|
<img src="images/Nora.png" width="800px">
|
||||||
|
<img src="images/Inge.png" width="800px">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
@@ -99,3 +100,4 @@
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
6
topRedditPost.py
Normal file → Executable file
6
topRedditPost.py
Normal file → Executable file
@@ -16,7 +16,7 @@ def getShowerThought():
|
|||||||
for submission in subreddit.get_hot(limit = 5):
|
for submission in subreddit.get_hot(limit = 5):
|
||||||
submissionArray.append(submission.title)
|
submissionArray.append(submission.title)
|
||||||
|
|
||||||
with open('topSubPost.txt', 'w') as outputFile:
|
with open('/var/www/html/topSubPost.txt', 'w') as outputFile:
|
||||||
print(submissionArray[2])
|
print(submissionArray[2])
|
||||||
outputFile.write(str(submissionArray[2]))
|
outputFile.write(str(submissionArray[2]))
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ def getWeatherReport():
|
|||||||
forcastList.insert(0,timeOfDay())
|
forcastList.insert(0,timeOfDay())
|
||||||
|
|
||||||
print(forcastList)
|
print(forcastList)
|
||||||
with open('weatherData.txt', 'w') as outputFile:
|
with open('/var/www/html/weatherData.txt', 'w') as outputFile:
|
||||||
for element in forcastList:
|
for element in forcastList:
|
||||||
outputFile.write(str(element) + '\n')
|
outputFile.write(str(element) + '\n')
|
||||||
|
|
||||||
@@ -80,4 +80,4 @@ def main():
|
|||||||
getShowerThought()
|
getShowerThought()
|
||||||
getWeatherReport()
|
getWeatherReport()
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
"It's not a pyramid scheme" is a phrase almost exclusively used by people involved in pyramid schemes
|
"Remind me to ________" is just another way of saying, "If I forget, it's your fault too".
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
day
|
night
|
||||||
Cloudy.png
|
Clear sky.png
|
||||||
19
|
5
|
||||||
0 mm
|
0 mm
|
||||||
Light air
|
Gentle breeze
|
||||||
1 m/s
|
4 m/s
|
||||||
west-northwest
|
northeast
|
||||||
|
|||||||
Reference in New Issue
Block a user