Posts

How do I bulk download photos marked as favorite from iCloud?

Image
0 I have about 1000 photos in iCloud marked as favorite and I would like to download them in full quality all at once. So far, I found two options and none of them is good: Multi-select photos on iCloud and select download unmodified originals. This requires to click on all 1000 photos one by one and downloads .heic files which i further need to convert to jpg. Get iCloud for windows and download all the original files. However, this is very slow and I need to manually pick the favorites out of all files. windows-10 ios icloud share | improve this question asked Dec 11 at 18:25 Marek 111 3 ...

Arduino: incorrect calculation of long integer

Image
1 I'm doing a simple calculation with integers (on Arduino with ESP8266 12E), but I can't get the expected result and can't find the error. Can someone guide me? #define A 200 #define B A * 62 #define C 500 void setup() { Serial.begin(9600); Serial.println(""); unsigned long aux = 0; aux = (B * 500) / C; // (12400 * 500) / 500 = 12400 Serial.printf("aux = %dn", aux); aux = aux * C; // 12400 * 500 = 6200000 Serial.printf("aux = %dn", aux); // ERROR: Should result in "500", but is resulting in "1922000" aux = aux / B; // 6200000 / 12400 = 500 Serial.printf("aux = %dn", aux); // It's printing "1922000" } ...