Skip to content

Instantly share code, notes, and snippets.

# 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)"
@frzleaf
frzleaf / cvnl.js
Last active July 7, 2019 09:31
Auto cvnl.app
// 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')
#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));
#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));
#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));
{
"time":0.0,
"dataset":[
oto1: {
"x":0.0208,
"y":0.0778,
"width":0.0354,
"height":0.2667
},
oto2: {
<?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>
/*
* Bai 4.17: Nhan hai ma tran
* Le Quang Thanh - 11020287
*/
#include <iostream>
using namespace std;
/*
* Bai 4.6
* Le Quang Thanh - 11020287
*/
#include <iostream>
/*
* bai426.cpp
*
* Created on: Nov 9, 2015
* Author: Le Quang Thanh - 11020287
*/
#include <iostream>
using namespace std;