This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="style.css" /> | |
<title>TODO List</title> | |
</head> | |
<body> | |
<div id="app"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Promise.all([ | |
fetch('https://jsonplaceholder.typicode.com/posts').then((res) => res.json()), | |
fetch('https://jsonplaceholder.typicode.com/users').then((res) => res.json()), | |
fetch('https://jsonplaceholder.typicode.com/comments').then((res) => res.json()) | |
// Fetch more data if needed ... | |
]) | |
.then((data) => { | |
console.log('Do something with this data: ', data); | |
// Do something ... | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <windows.h> | |
#include <shobjidl.h> | |
#include <string> | |
#include <vector> | |
/** | |
* @brief Open a dialog to select item(s) or folder(s). | |
* @param paths Specifies the reference to the string vector that will receive the file or folder path(s). [IN] | |
* @param selectFolder Specifies whether to select folder(s) rather than file(s). (optional) |