Skip to content

Instantly share code, notes, and snippets.

View yusufneeson's full-sized avatar
🌿
nyoba berbeda dari yang biasanya

Yusuf Neeson yusufneeson

🌿
nyoba berbeda dari yang biasanya
  • RESERVER RESEARCH
  • Indonesia
  • 15:13 (UTC +07:00)
View GitHub Profile
@yusufneeson
yusufneeson / Seri-Pararel-Battery.txt
Created September 12, 2023 04:26
Susunan Seri dan Pararel
Susunan Battery
susunan seri : akan meningkatkan Voltase, jika ada 2 battery dengan voltase 1,5V maka ketika disusun seri akan membuat battery tersebut menjadi 3V
Fungsinya untuk perangkat yang perlu voltase lebih tinggi bisa dengan cara ini. [meningkatkan voltase tapi daya tetap sama]
susunan pararel : akan meningkatkan Ah (daya) . Jika ada 2 battery disusun pararel maka akan meningkatkan waktu pemakaian battery.
Fungsinya untuk meningkatkan lama pemakaian battery. [meningkatkan Ah tapi voltase masih tetap sama]
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Background Slide Hover Effect</title>
</head>
<body>
<div class="slide-hover">Ini adalah contoh teks dengan efek background slide hover.</div>
@yusufneeson
yusufneeson / faker_phone.id.php
Created July 8, 2022 07:07
faker id phone number
<?php
array_map(fn() => "62" . random_int(0, 19999999999), range(1, 250));
@yusufneeson
yusufneeson / gpg
Last active November 3, 2024 09:17
GPG Commands
gpg --list-secret-keys --keyid-format LONG
gpg --edit-key <KEY_ID>
gpg --list-keys
gpg --keyserver hkp://pgp.mit.edu --send-keys <KEY_ID>
gpg --armor --export <KEY_ID>
gpg --import pgp/private.key
@yusufneeson
yusufneeson / scrot.sh
Created April 23, 2022 07:29
Linux: Scrot selected area
scrot -s "/home/user/Pictures/ss/%d_%b_%H%M%S.png"
@yusufneeson
yusufneeson / aria2c
Created April 23, 2022 07:26
ARIA2C Download
aria2c -s16 -x16 --optimize-concurrent-downloads=true --file-allocation=none https://x2.com/latest.zip
@yusufneeson
yusufneeson / get_table_size.sql
Created April 23, 2022 07:22
SQL: Get Table Size
SELECT
table_schema as `Database`,
table_name AS `Table`,
round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB`
FROM information_schema.TABLES
WHERE table_schema="your_db_name"
ORDER BY (data_length + index_length) DESC
@yusufneeson
yusufneeson / clink.md
Created April 23, 2022 07:22
Windows: Clink Setup With Aliases
@yusufneeson
yusufneeson / date_loop.js
Created April 23, 2022 07:21
Loop Day In Month Through Div Box
Array(TOTAL_DATE).fill().forEach((_, i) => {
const date = new Date(new Date().getFullYear(), new Date().getMonth(), i + 1)
const day = date.getDate()
const month = date.toLocaleString('default', { month: 'long' })
const year = date.getFullYear()
const dateString = `${day} ${month} ${year}`
$('#date-box').append(`<div class="date-box-item">${dateString}</div>`)
})
@yusufneeson
yusufneeson / IG_Like_Clicker.js
Created April 23, 2022 07:20
JS: instagram clicker like
let interval;
const startLike = (time=15000) => {
interval = setInterval(() => {
try{
if (!document.querySelector('.fr66n button.wpO6b [aria-label="Batal Suka"]')) {
document.querySelector('.fr66n button.wpO6b').click();
}
setTimeout(() => {
document.querySelector("body > div._2dDPU.QPGbb.CkGkG > div.EfHg9 > div > div > div.l8mY4 > button").click()
}, 2000);