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
import { Dispatch, SetStateAction, useState } from "react" | |
import { Popover, PopoverContent, PopoverTrigger } from "@components/ui/popover" | |
import { Button } from "@components/ui/button" | |
import { CalendarIcon, ChevronLeft } from "lucide-react" | |
const months = new Array(12) | |
.fill(0) | |
.map((_, i) => | |
new Intl.DateTimeFormat("id-ID", { month: "short" }).format( | |
new Date(2000, i, 1) |
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
server { | |
listen 8080; | |
server_name _; | |
root /usr/share/nginx/html; | |
index index.html; | |
location / { | |
try_files $uri $uri/ $uri.html /index.html; | |
} | |
} |
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
$pdf = new Fpdi(); | |
$source = $pdf->setSourceFile('filename.pdf'); | |
$template = $pdf->importPage($source); | |
$size = $pdf->getTemplateSize($template); |
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
<template> | |
<ValidationProvider | |
ref="validator" | |
v-slot="{ errors }" | |
:name="errorLabel || label" | |
:rules="rules" | |
> | |
<b-form-group | |
:label="label" | |
:label-for="uid" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Simple jQuery Gallery With Thumbnails</title> | |
</head> | |
<body> | |
<div><img id="holder" src="" alt=""></div> | |
<div> |