<form action="" @submit.prevent="sign()">
<button @click="show = !show" />
<div v-if="show" >hello world</div>
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<link rel="stylesheet" href="thindev.css"> | |
</head> |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
// ---------------------------------------------------------- | |
// | |
// format function curl($url,$pos,$cookie,$body,$head,$sock) | |
// | |
// ---------------------------------------------------------- | |
/* | |
Simple basic example From ESP32/ESP8266 as Client to Nodejs as a server via TCP Protocol. | |
*/ | |
//----------- ESP32 as TCP Client---------------- | |
// file .ino | |
#include "WiFi.h" | |
const char* ssid = "SSID"; | |
const char* password = "password"; |
{ | |
"editor.formatOnPaste": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnType": true, | |
"eslint.format.enable": true, | |
"vetur.format.defaultFormatter.html": "prettyhtml", | |
"[vue]": { | |
"editor.defaultFormatter": "octref.vetur" | |
}, | |
"eslint.alwaysShowStatus": false, |
const DB = require("./src/configs/db"); | |
const USERS_COLLECTION = DB.client.db("Tjackrabirawa").collection("users"); | |
const READS_USERS = async () => { | |
try { | |
await DB.connectToDB(); | |
let arr = []; | |
let result = USERS_COLLECTION.find(); | |
await result.forEach((element) => { | |
arr.push(element); |
export interface orderCart { | |
id_product: number; | |
total_product: number; | |
} | |
state: () => { | |
return { | |
allProduct: [], | |
totalAll: "", | |
checkoutItem: ref<Array<orderCart>>([]), |
Create Image from Dockerfile | |
docker build --tag trenbox:1.0 . | |
Create Container from Image | |
docker container create --name mycontainer -p 80:80 dokcerimages | |
Seting ENV (!!! the env must before image) | |
docker container create --name superserver -p 1337:1337 -e JWT_TOKEN='testing' node-javasuper | |
gtf 1920 1080 60 | |
xrandr --newmode "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync | |
xrandr --addmode VGA-1 "1920x1080_60.00" | |
xrandr --output VGA-1 --mode "1920x1080_60.00" | |
autorandr --load current | |
xrandr --output VGA-1 --brightness 0.5 |