{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":631643157,"defaultBranch":"main","name":"9weather","ownerLogin":"thimc","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-04-23T17:05:01.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/41735402?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1682269582.0","currentOid":""},"activityList":{"items":[{"before":"261ec628b5fff3c71ad3e59a01b36d6e7046545e","after":"ff22ef98dab5864b8b4a449a90fbee84d6a773b6","ref":"refs/heads/main","pushedAt":"2024-08-18T09:03:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"drop writeurl() and preprocessor definitions","shortMessageHtmlLink":"drop writeurl() and preprocessor definitions"}},{"before":"24631cef56b836fe694f6741fc11d242917cd5d0","after":"261ec628b5fff3c71ad3e59a01b36d6e7046545e","ref":"refs/heads/main","pushedAt":"2024-08-18T08:35:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: check for correct mouse button mask (right click)","shortMessageHtmlLink":"fix: check for correct mouse button mask (right click)"}},{"before":"b3eff71eb32db6aa3e3c6eca4274ee0eb061232e","after":"24631cef56b836fe694f6741fc11d242917cd5d0","ref":"refs/heads/main","pushedAt":"2024-08-13T20:55:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: create() returns -1 on error","shortMessageHtmlLink":"fix: create() returns -1 on error"}},{"before":"b2883e961529fbfe6bef0976aa286985fcdab32c","after":"b3eff71eb32db6aa3e3c6eca4274ee0eb061232e","ref":"refs/heads/main","pushedAt":"2024-08-13T17:20:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"update screenshot","shortMessageHtmlLink":"update screenshot"}},{"before":"dc7c3e96eac14d6e3b115d3c6e60ef63509a3c5a","after":"b2883e961529fbfe6bef0976aa286985fcdab32c","ref":"refs/heads/main","pushedAt":"2024-08-13T17:18:11.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"center the image and text horizontally and vertically","shortMessageHtmlLink":"center the image and text horizontally and vertically"}},{"before":"45b35e6b84efb4fdf62dcc6c4992a084a7cdaa6d","after":"dc7c3e96eac14d6e3b115d3c6e60ef63509a3c5a","ref":"refs/heads/main","pushedAt":"2024-08-12T18:16:23.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"add right click menu with an exit button","shortMessageHtmlLink":"add right click menu with an exit button"}},{"before":"bab998da07bd296d94d2c8f389b7af2cba8340d9","after":"45b35e6b84efb4fdf62dcc6c4992a084a7cdaa6d","ref":"refs/heads/main","pushedAt":"2024-08-12T18:14:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"add right click menu with a exit button","shortMessageHtmlLink":"add right click menu with a exit button"}},{"before":"1f066497371ada8720180a9f71a826a6f26d61a0","after":"bab998da07bd296d94d2c8f389b7af2cba8340d9","ref":"refs/heads/main","pushedAt":"2024-08-10T14:39:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"docs: sync README","shortMessageHtmlLink":"docs: sync README"}},{"before":"ebfd206c96ec5448b02ada5ed92502b1a0f69f2a","after":"1f066497371ada8720180a9f71a826a6f26d61a0","ref":"refs/heads/main","pushedAt":"2024-08-10T14:39:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"docs: sync README","shortMessageHtmlLink":"docs: sync README"}},{"before":"e3791699b9b00b7708d8d5c7aaa41df415b201da","after":"ebfd206c96ec5448b02ada5ed92502b1a0f69f2a","ref":"refs/heads/main","pushedAt":"2024-08-10T14:35:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"feat: use environment variables and true color images\n\nWe are now able to set the API key with the `openweathermap`\nenvironment variable, and we can also set the ZIP/city with the\n`ZIP` variable.\n\nAccording to the OpenWeather API the icon changes during night time\nto greyscaled ones. While I was looking through the code I noticed\nthat I had shuffled the arguments for the `draw()` around which\nmade them greyscaled all the time.\n\nReference: https://openweathermap.org/weather-conditions#Icon-list","shortMessageHtmlLink":"feat: use environment variables and true color images"}},{"before":"881768409420c68d4f81b117ae1554985013f6ed","after":"e3791699b9b00b7708d8d5c7aaa41df415b201da","ref":"refs/heads/main","pushedAt":"2023-12-11T22:23:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"feat: center the image and text vertically, bug squashing, style\nand minor cleanup\n\nI experienced random crashes when 9weather downloaded the icon and\nwas trying to convert it to a plan9 image, turns out that the culprit\nwas the read(2) call to /mnt/web/n/body, I originally just used\nreadn(2) there and in hindsight it seems it was better suited. From\nthe man page: Readn is just like read, but does successive read\ncalls until nbytes have been read, or a read system call returns a\nnon-positive count.","shortMessageHtmlLink":"feat: center the image and text vertically, bug squashing, style"}},{"before":"c9b737268ade3d722bacd276f4a39360fcb81835","after":"881768409420c68d4f81b117ae1554985013f6ed","ref":"refs/heads/main","pushedAt":"2023-12-11T22:19:06.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"feat: center the image and text vertically, bug squashing, style and minor cleanup\n\nI experienced random crashes when 9weather downloaded the icon and was\ntrying to convert it to a plan9 image, turns out that the culprit was\nthe read(2) call to /mnt/web/n/body, I originally just used readn(2)\nthere and in hindsight it seems it was better suited. From the man page:\nReadn is just like read, but does successive read calls until nbytes\nhave been read, or a read system call returns a non-positive count.","shortMessageHtmlLink":"feat: center the image and text vertically, bug squashing, style and …"}},{"before":"672b0f01b9af4bf09c8c32b6c95a5c5a50a2523c","after":"c9b737268ade3d722bacd276f4a39360fcb81835","ref":"refs/heads/main","pushedAt":"2023-12-11T22:15:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: bug squashing, style and minor cleanup\n\nI experienced random crashes when 9weather downloaded the icon and was\ntrying to convert it to a plan9 image, turns out that the culprit was\nthe read(2) call to /mnt/web/n/body, I originally just used readn(2)\nthere and in hindsight it seems it was better suited. From the man page:\nReadn is just like read, but does successive read calls until nbytes\nhave been read, or a read system call returns a non-positive count.","shortMessageHtmlLink":"fix: bug squashing, style and minor cleanup"}},{"before":"0e7a2a7678c117c2b743fe2c4d0f373ced757eb5","after":"672b0f01b9af4bf09c8c32b6c95a5c5a50a2523c","ref":"refs/heads/main","pushedAt":"2023-12-09T13:34:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: format temperature\n\nIt seems that the OpenWeatherMap API already reports if the temperature\nis below zero and since we are doing this locally too the temperature\nwould get prefixed by two dashes.","shortMessageHtmlLink":"fix: format temperature"}},{"before":"8716679d603a7d9de42cffdc6dca4ec76248dce4","after":"0e7a2a7678c117c2b743fe2c4d0f373ced757eb5","ref":"refs/heads/main","pushedAt":"2023-12-09T13:28:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"refactor: clean up, one example is enough","shortMessageHtmlLink":"refactor: clean up, one example is enough"}},{"before":"de89ade1998775246a3d36d7c5ef10e30be86321","after":"8716679d603a7d9de42cffdc6dca4ec76248dce4","ref":"refs/heads/main","pushedAt":"2023-12-09T13:18:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"style: fmt'd","shortMessageHtmlLink":"style: fmt'd"}},{"before":"5484b42d868f36dedb088fa10fbb8676be168eb9","after":"de89ade1998775246a3d36d7c5ef10e30be86321","ref":"refs/heads/main","pushedAt":"2023-12-09T13:16:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: update README, the -d flag is in seconds","shortMessageHtmlLink":"fix: update README, the -d flag is in seconds"}},{"before":"98f73bbb64d5fb3a728cbe13aa320232b422a0a5","after":"5484b42d868f36dedb088fa10fbb8676be168eb9","ref":"refs/heads/main","pushedAt":"2023-12-08T18:28:08.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: don't keep track of the fork pid from the icon conversion","shortMessageHtmlLink":"fix: don't keep track of the fork pid from the icon conversion"}},{"before":"c00c150470956b74be5960526a69c2b92bfc8a34","after":"98f73bbb64d5fb3a728cbe13aa320232b422a0a5","ref":"refs/heads/main","pushedAt":"2023-12-08T18:14:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: NULL-terminate `readn` done in `/mnt/web/%d/body`","shortMessageHtmlLink":"fix: NULL-terminate readn done in /mnt/web/%d/body"}},{"before":"98f73bbb64d5fb3a728cbe13aa320232b422a0a5","after":"c00c150470956b74be5960526a69c2b92bfc8a34","ref":"refs/heads/main","pushedAt":"2023-12-08T18:03:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: error handling, style and rely on the fonts height instead of\nhard coded values for the text padding.\n\nalso, actually use the font instead of `display->defaultfont`. Woops.","shortMessageHtmlLink":"fix: error handling, style and rely on the fonts height instead of"}},{"before":"e5b17a450a0eacacfc9dcc1ecb90cac6dd641db8","after":"98f73bbb64d5fb3a728cbe13aa320232b422a0a5","ref":"refs/heads/main","pushedAt":"2023-11-11T11:48:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"fix: NULL-terminate `readn` done in `/mnt/web/%d/body`","shortMessageHtmlLink":"fix: NULL-terminate readn done in /mnt/web/%d/body"}},{"before":"f9f421666b93e939b215ce71dbfb2a3a7a421135","after":"e5b17a450a0eacacfc9dcc1ecb90cac6dd641db8","ref":"refs/heads/main","pushedAt":"2023-04-25T21:07:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"the value specified in the -d parameter is now in seconds (i.e multiplied by\n1000)","shortMessageHtmlLink":"the value specified in the -d parameter is now in seconds (i.e multip…"}},{"before":"571c98d58ad4ee2362a18b7592b94f4e31a7bac6","after":"f9f421666b93e939b215ce71dbfb2a3a7a421135","ref":"refs/heads/main","pushedAt":"2023-04-23T18:57:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"add manpage","shortMessageHtmlLink":"add manpage"}},{"before":"f896a934bcbd78870d562bd4e2f06391d6168fc2","after":"571c98d58ad4ee2362a18b7592b94f4e31a7bac6","ref":"refs/heads/main","pushedAt":"2023-04-23T18:19:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"remove plan9 converted bitmap, cleanup the style and die on usage() when no args are passed","shortMessageHtmlLink":"remove plan9 converted bitmap, cleanup the style and die on usage() w…"}},{"before":null,"after":"f896a934bcbd78870d562bd4e2f06391d6168fc2","ref":"refs/heads/main","pushedAt":"2023-04-23T17:06:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"thimc","name":"Thim Cederlund","path":"/thimc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41735402?s=80&v=4"},"commit":{"message":"first","shortMessageHtmlLink":"first"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0xOFQwOTowMzo0NC4wMDAwMDBazwAAAASdMZ8u","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0yM1QxNzowNjoyMi4wMDAwMDBazwAAAAMehUGP"}},"title":"Activity · thimc/9weather"}