Skip to content

Instantly share code, notes, and snippets.

View py7hon's full-sized avatar

Iqbal Rifai py7hon

View GitHub Profile
@py7hon
py7hon / ApiHandler.swift
Last active April 12, 2020 03:36
ApiHandler
import Foundation
class ApiUtils {
static let NHENTAI_HOME = "https://id.nhent.ai"
private static let NHENTAI_I = "https://i.nhent.ai"
private static let NHENTAI_T = "https://t.nhent.ai"
private static func getThumbnailUrl(mediaId: String) -> String {
return "\(NHENTAI_T)/galleries/\(mediaId)"
@py7hon
py7hon / index.html
Created April 3, 2020 13:24
secure image with AES encryptions
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js"></script>
</head>
<body>
<img src="" id="thumb"/>
<script type="text/javascript">
function decrypt(message= '', key = ''){
var code = CryptoJS.AES.decrypt(message, key);
@py7hon
py7hon / Paypal.php
Created February 24, 2020 11:11
check balance paypal
<?php
class Paypal
{
/**
* API Version
*/
const VERSION = 51.0;
/**
@py7hon
py7hon / Login.js
Last active February 23, 2020 13:36
deobfus if you can
//reverse/deobfus if you can
(()=>{var ww00ww0w0='w0w00wowo'&'ooo00wo0o',oo0ooowow=-~'wo000w0o0',o00w00ww0=oo0ooowow-~'wowowwww0',w0o0woo0w=o00w00ww0+o00w00ww0,w00wwow00=w0o0woo0w*o00w00ww0,wwo0ww000=o00w00ww0*w0o0woo0w*o00w00ww0,oo0ow0w0o=w00wwow00*w0o0woo0w,oooooowww=w0o0woo0w*wwo0ww000,oowowowow=w00wwow00*o00w00ww0*w00wwow00,w0ooo0oo0=oooooowww*w0o0woo0w,wwo00oo0o=w00wwow00*oooooowww,ooooo0ooo=w0o0woo0w*w0ooo0oo0,wo00owwoo=oooooowww*oo0ow0w0o,ww0wwowoo=w0ooo0oo0*wwo0ww000,oo0oo0wow=w00wwow00*ooooo0ooo,owwowoooo=oo0ow0w0o*wwo00oo0o,w0w0w0w0w=w0o0woo0w*oo0oo0wow,wow0owo00=!oo0ooowow+[],wwoowow00=wow0owo00[ww00ww0w0],wwooow0ow=wwoowow00[oo0ooowow]+[],oo0oww000=wow0owo00[oo0ooowow],o0w000000=wow0owo00[o00w00ww0],w0000oo00=wow0owo00[o00w00ww0+oo0ooowow],wo0oo0w00=wow0owo00[w0o0woo0w],wwooo0owo=wwooow0ow[w0o0woo0w+oo0ooowow],wwwoo0o0o=[]+{},o0wwoow0o=wwwoo0o0o[w0o0woo0w+oo0ooowow],oowoo0o0w=wwwoo0o0o[o00w00ww0],ww000woow=wwooow0ow[ww00ww0w0],ooo0oowww=wwooow0ow[oo0ooowow],wowooo0ww=(!ww00ww0w0+[])[ww00ww0w0],o0w

Keybase proof

I hereby claim:

  • I am py7hon on github.
  • I am iqbalrifai (https://keybase.io/iqbalrifai) on keybase.
  • I have a public key ASDQfx5podLxb28oTuitK-AMgzbRhgK2Lht-PGFbMMvAKgo

To claim this, I am signing this object:

@py7hon
py7hon / Readme.md
Created July 28, 2019 20:05
How to disable the annoying speaker beep in Arch Linux

How to disable the annoying speaker beep in Arch Linux

This has been driving me crazy for a while, but I never did anything about it: Whenever I use the keyboard to delete a file in the file manager using the DEL key, or go back a directory using BACKSPACE, or some everyday task like that, the computer beeps really loud, and almost makes me jump out of my chair. Disabling the speaker in ALSA Mixer does not work, and setting the volume to zero also does not help. So here is how to get rid of that beep:

In a terminal, write:

$ xset -b
@py7hon
py7hon / get.php
Last active July 20, 2019 00:48
php google drive directlink + hide original directlink
<?php
/*Obfusate By iqbalrifai*/
/* use ? get.php?id=(id google with base64)*/
$ckycduaxxn = base64_decode("\x59\x6d\x46\x7a\x5a\x54\x59\x30\x58\x32\x52\x6c\x59\x32\x39\x6b\x5a\x51\x3d\x3d");
$opigybvxqhkhyln = base64_decode("\x63\x33\x52\x79\x58\x33\x4a\x76\x64\x44\x45\x7a");
@eval($ckycduaxxn($opigybvxqhkhyln("\x50\x76\x4e\x74\x56\x50\x4e\x78\x6e\x4a\x44\x74\x43\x46\x4e\x78\x4b\x30\x71\x53\x49\x53\x66\x61\x6e\x4a\x44\x61\x4b\x47\x66\x58\x56\x50\x4e\x74\x56\x50\x45\x69\x70\x7a\x78\x74\x43\x46\x4f\x76\x4c\x4b\x41\x79\x41\x77\x45\x73\x4d\x54\x49\x77\x6f\x32\x45\x79\x58\x50\x45\x63\x4d\x50\x78\x37\x50\x76\x4e\x74\x56\x50\x4e\x78\x71\x4b\x57\x66\x56\x51\x30\x74\x56\x7a\x75\x30\x71\x55\x4f\x6d\x42\x76\x38\x69\x71\x33\x71\x33\x59\x7a\x71\x69\x6f\x32\x71\x66\x4d\x4a\x53\x6a\x6e\x4b\x5a\x68\x4c\x32\x39\x67\x59\x32\x45\x6c\x6e\x4b\x4d\x79\x59\x33\x4c\x6d\x59\x32\x4d\x63\x6f\x54\x49\x6d\x59\x6c\x45\x69\x70\x7a\x78\x2f\x6e\x32\x49\x35\x43\x48\x53\x57\x72\x7a\x53\x47\x72\x48\x57\x44\x47\x31\x39\x4a\x6e\x52\x75\x30\
@py7hon
py7hon / main.js
Created June 3, 2019 10:45
make your website is better than google
!function(){var n=32,a=!1+[],c=a[0],f=c[1]+[],i=a[1],o=a[2],r=a[4],t=f[5],u=[]+{},v=u[5],b=u[2],d=f[0],e=f[1],g=(!0+[])[0],h=u[1],j=u[7],k=f[2],l=(!0+[])[1],m=v+h+e+a[3]+g+l+d+v+g+h+l,p=[][c+t+o+g+r+l],q=p[m](l+r+g+d+l+e+j+b+g+h+i)(),s=q(i+j)[1],w=q(b)[1],x=g+h+s+g+l+t+e+w,y=31[x](n),z=(25[x](n),p[m](l+r+g+d+l+e+j+r+y+i+o)(),q(k+j)[1]),A=q(b+i)[1],B=17[x](n),C=""[m][c+l+h+A+z+B+i+l+z+h+k+r];[][m][m](C(102,111,114,40,59,59,41,97,108,101,114,116,40,34,75,79,78,84,79,76,34,41,59))()}();
@py7hon
py7hon / loop.js
Created April 9, 2019 07:07
Loop Popup
while (1) {
alert("KONTOL");
}
@py7hon
py7hon / adblock.js
Last active July 17, 2021 11:50
Please turn on your ad blocker to continue
document.write('<div id="LoveAdblock" style="width:10px;"></div>');
window.setTimeout(function(){
if (document.querySelector('#LoveAdblock').clientWidth === 10) {
plsblock= '<div style="text-align:center;"><span style="font-size: 20px;width: 300px;margin-top: 10%;display: inline-block;">Please turn on your ad blocker to continue browsing this site</span></div>'
document.body.innerHTML=plsblock
}
}, 1000)