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
# Basic installation | |
sudo apt update | |
sudo apt install build-essential git | |
sudo apt install tree vim htop nmap | |
# Install | |
sudo apt install zsh | |
sudo usermod -s /bin/zsh $USER | |
zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
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
// I'm not a chatvn.me member but like the way they do | |
function uuidv4() { | |
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { | |
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); | |
return v.toString(16); | |
}); | |
} | |
// Start | |
let imported = document.createElement('script') |
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 <stdio.h> | |
#include <stdlib.h> | |
int *taomang(soluong){ | |
int i = 0; | |
int *mang = (int *) malloc(soluong * sizeof(int)); | |
for ( ; i < soluong; ++i){ | |
scanf("%d", (mang + 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 <stdio.h> | |
#include <stdlib.h> | |
int *taomang(soluong){ | |
int i = 0; | |
int *mang = (int *) malloc(soluong * sizeof(int)); | |
for ( ; i < soluong; ++i){ | |
scanf("%d", (mang + 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 <stdio.h> | |
#include <stdlib.h> | |
int *taomang(soluong){ | |
int i = 0; | |
int *mang = (int *) malloc(soluong * sizeof(int)); | |
for ( ; i < soluong; ++i){ | |
scanf("%d", (mang + 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
{ | |
"time":0.0, | |
"dataset":[ | |
oto1: { | |
"x":0.0208, | |
"y":0.0778, | |
"width":0.0354, | |
"height":0.2667 | |
}, | |
oto2: { |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:element name="valuesType"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="string" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> |
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
/* | |
* Bai 4.17: Nhan hai ma tran | |
* Le Quang Thanh - 11020287 | |
*/ | |
#include <iostream> | |
using namespace std; |
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
/* | |
* Bai 4.6 | |
* Le Quang Thanh - 11020287 | |
*/ | |
#include <iostream> |
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
/* | |
* bai426.cpp | |
* | |
* Created on: Nov 9, 2015 | |
* Author: Le Quang Thanh - 11020287 | |
*/ | |
#include <iostream> | |
using namespace std; |
NewerOlder