Skip to content

Instantly share code, notes, and snippets.

View hid0's full-sized avatar
🎯
Focusing

Faiz Hidayatulloh hid0

🎯
Focusing
View GitHub Profile
@hid0
hid0 / gist:a4cd01316a1ddc55dc22a9b7e8b80a29
Created June 2, 2025 06:00
script scraping data e ijazah
import PyPDF2
import pandas as pd
import re
# Ganti dengan nama file PDF Anda jika berbeda
pdf_file_path = 'ijazah_SMKW9.pdf'
extracted_data = []
try:
@hid0
hid0 / alacritty.toml
Created March 24, 2025 02:11
alacritty config windows
# import = [
# "~/.config/alacritty/themes/catppuccin_mocha.toml"
# ]
[terminal.shell]
program = "C:\\Program Files\\PowerShell\\7\\pwsh.exe"
[font]
# family = "Mononoki Nerd Font"
{
"success": true,
"message": "Check Out Successfully",
"data": {
"id": 2,
"user_id": "0193f22d-a61b-7068-a8f8-0cdeb4eca0de",
"date": "2025-02-07",
"photo_in": null,
"time_in": "07:02:02",
"latlon_in": "-6.690562511539448,110.70607355026196",
{
"success": true,
"message": "Check In Successfully",
"attendance": {
"user_id": "0193f22d-a61b-7068-a8f8-0cdeb4eca0de",
"date": "2025-02-07",
"time_in": "07:02:02",
"latlon_in": "-6.690562511539448,110.70607355026196",
"updated_at": "2025-02-07T07:37:43.000000Z",
"created_at": "2025-02-07T07:37:43.000000Z",
@hid0
hid0 / koinami
Created December 19, 2024 04:32
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Koinami</title>
<link rel="stylesheet" href="https://cdn.tailgrids.com/tailgrids-fallback.css" />
<script src="https://cdn.tailwindcss.com"></script>
</head>
NPM_PACKAGES="${HOME}/.npm-packages"
export PATH="$PATH:$NPM_PACKAGES/bin"
# Preserve MANPATH if you already defined it somewhere in your config.
# Otherwise, fall back to `manpath` so we can inherit from `/etc/manpath`.
export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"
export PATH="$PATH:$HOME/.composer/vendor/bin"
export PATH="$PATH:$HOME/.composer/vendor/bin"
<!DOCTYPE html>
<html class="screen-top">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Page title</title>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap">
@hid0
hid0 / email
Created October 20, 2021 14:38
Tailwind CSS Simple Verification Email Template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tailwind CSS Simple Email Template Example </title>
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
</head>
@hid0
hid0 / hosts
Created January 12, 2021 18:33
# ---------------------------------------------------
# Vimeo
# ---------------------------------------------------
151.101.64.217 player.vimeo.com
151.101.129.194 vimeo-hp-videos.global.ssl.fastly.net
151.101.66.109 f.vimeocdn.com
151.101.64.217 vimeo.com
151.101.130.109 i.vimeocdn.com
151.101.64.217 developer.vimeo.com
<div class="flex w-full h-full mx-auto">
<div class="relative inline-block w-10 mr-2 align-middle select-none transition duration-200 ease-in">
<input type="checkbox" name="toggle" id="prefix-3" class="checked:right-0 checked:bg-blue-600 absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none focus:outline-none cursor-pointer"/>
<label for="prefix-3" class="block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer">
</label>
</div>
</div>
</div>