Download video dari youtube, format mp4, kualiti terbaik :
yt-dlp --cookies ~/Library/cookies-yt.txt -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" <youtube-link>
| import { useEffect, useState } from "react"; | |
| import db from "../firebase"; | |
| import styled from "styled-components"; | |
| import Truck from "../components/Truck/Truck"; | |
| import SideBar from "../components/SideBar/SideBar"; | |
| const Inventory = () => { | |
| // setting inventory, filters, and default sortBy | |
| const [loading, setLoading] = useState(true); | |
| const [inventory, setInventory] = useState([]); // array of trucks |
| { | |
| "status": "ok", | |
| "result": [ | |
| { | |
| "title": "MASJID AL-IMAN DESA PUTRA", | |
| "address": "Sepang", | |
| "binatangKorban": "2 / 5", | |
| "bahagianKorban": "15 / 30", | |
| "negeri": "Selangor", | |
| "image": "20.jpg" |
| <?php | |
| if (isset($_POST['token'])) { | |
| echo $_POST['token']; | |
| exit; | |
| } | |
| ?> | |
| <!DOCTYPE html> |
| // katakan ini original state | |
| this.state = { | |
| products: [ | |
| { | |
| id: 1234, | |
| name: "chicken", | |
| amount: 100 | |
| }, | |
| { | |
| id: 1235, |
| <h1>Salam Dari Timur</h1> | |
| <p>Ini adalah contoh ayat dalam perenggan.</p> | |
| <button>Hantar</button> |