# Google chrome
winget install --id=Google.Chrome -e -h
# CMake
winget install --id=Kitware.CMake -e -h
# GIT
winget install --id Git.Git -e --source winget -h
# VS code
winget install -e --id Microsoft.VisualStudioCode -h
# Postman
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
Dòng: 65 | |
Câu hỏi: Thông số "Core i3, socket 775" là của thiết bị nào? | |
Câu trả lời: CPU. | |
Dòng: 655 | |
Câu hỏi: Thông số "7200 rpm" là của thiết bị nào? | |
Câu trả lời: HDD. | |
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
// 3x3 tic tac toe | |
// 1) Ai engine | |
// + State representation : vector<vector<char>> (3x3) | |
// + State game | |
// + checking if game is end | |
// + detect winner if game end | |
// + render (text screen) | |
// + valid moves | |
// + detect current player | |
// + calculate valid moves |
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> | |
using namespace std; | |
const int nmax = 21; | |
int main() { | |
int n; | |
cin >> n; | |
int a[nmax]; | |
int b[nmax]; | |
for(int i = 0; i < n; i++) { | |
cin >> a[i] >> b[i]; |
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 <windows.h> | |
#include <GL/glut.h> | |
#include <fstream> | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
const string FILE_NAME = "dinosaur.dat"; | |
class Piece | |
{ | |
public: |
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
function get() { | |
return new Promise((resolve, reject) => { | |
fetch('https://gist.githubusercontent.com/zzNuAzz/645bc20f12d7a04bd593bc14fc01be42/raw/e4ad40db0d6c1dac9315588f92699e17c2e0e7c4/kiemthu.json') // Call the fetch function passing the url of the API as a parameter | |
.then(data => data.json()) | |
.then(data => resolve(data)) | |
.catch(() => reject()); | |
}); | |
} | |
function sleep(ms) { |
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
[ | |
{ | |
"question": "Kỹ thuật được áp dụng để kiểm tra khả năng sử dụng là?", | |
"right": "Hộp đen" | |
}, | |
{ | |
"question": "{{Thẩm tra || Verification}} là quá trình đánh giá phần mềm có đáp ứng các yêu cầu được thiết lập trong giai đoạn trước hay không.", | |
"right": null | |
}, | |
{ |
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
@echo off | |
net start W32Time | |
w32tm /resync | |
echo sync complete |
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
rm -f draw.exe | |
g++ -c draw.cpp -o temp.out -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" | |
g++ temp.out -o draw.exe -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -static-libstdc++ -static-libgcc -lglu32 -lglut32 -lopengl32 | |
rm -f temp.out | |
draw.exe |
NewerOlder