Skip to content

Instantly share code, notes, and snippets.

View py7hon's full-sized avatar

Iqbal Rifai py7hon

View GitHub Profile
@py7hon
py7hon / gd2img.php
Last active October 22, 2020 17:42
<?php
if ($_GET['id'] == ""){
http_response_code(404);
die("ID Not Found");
} else {
$drive_id = $_GET['id'];
$apikey = "AIzaSyBPO_VhHtvTL-gs35Nb24cSsjuxQasjlN0";
$data = json_decode(file_get_contents("https://www.googleapis.com/drive/v2/files/$drive_id?supportsTeamDrives=true&key=$apikey"), true);
$mime = $data["mimeType"];
$link = file_get_contents("https://www.googleapis.com/drive/v3/files/$drive_id?key=$apikey&supportsTeamDrives=true&alt=media");
@py7hon
py7hon / uncf.php
Created October 23, 2020 14:56
Bypass Cloudflare Challenge
<?php
/**
* DONT DELETE THIS
*
* @original https://github.com/ammarfaizi2/php-integral-obfuscator
* @update https://moedev.co
* @license MIT
* @version 0.2.0-rc9
* c\00
@py7hon
py7hon / style.css
Last active December 7, 2020 03:13
auto set style like a browser style preference
/* Light mode */
@media (prefers-color-scheme: light) {
@import url("light.css");
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
@import url("dark.css");
}
@py7hon
py7hon / README.md
Last active July 25, 2022 07:35
Simple Python script for make watermark like windows activate

Watermark

Dependences:

  • python-gobject

Usage:

chmod +x watermark ./watermark

Screenshots:

@py7hon
py7hon / kecerahan
Created September 23, 2021 16:39
Kecerahan (Brightness control) Bash version
#!/bin/bash
# SPDX-License-Identifier: MIT
# Copyright © 2019-present Iqbal Rifai
# ------------------------------------------------------------------
# MIT License
# -----------
#
# Copyright (c) 2019-present Iqbal Rifai (https://iqbalrifai.eu.org)
# Permission is hereby granted, free of charge, to any person
@py7hon
py7hon / example.md
Created December 2, 2021 17:00
Simple WebVR/XR

@py7hon
py7hon / Read.md
Last active August 1, 2023 11:23
Free Image Proxy List

Free Image Proxy List

  1. Google Translate
  • Usage: https://domain-com.translate.goog/image.jpg
  • Example: https://cdn-discordapp-com.translate.goog/attachments/932997963981140069/937172504819138560/unknown.png
  1. DuckDuckGo
  • Usage: https://proxy.duckduckgo.com/iu/?u=url image
  • Example: https://proxy.duckduckgo.com/iu/?u=https://cdn.discordapp.com/attachments/932997963981140069/937172504819138560/unknown.png
@py7hon
py7hon / Readme.md
Created April 18, 2023 11:18
Discord VN/Voice Message With Custom Voice/File

#how to use

  1. put any file or voice with codec audio/ogg
  2. fill token and channel_id on config.json
  3. run py main.py
@py7hon
py7hon / install.bat
Created December 16, 2024 12:40
Refresh env on windows without installing chocolatey
Install-Script -Name RefreshEnv -RequiredVersion 1.0.0
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force