Skip to content

Instantly share code, notes, and snippets.

View py7hon's full-sized avatar

Iqbal Rifai py7hon

View GitHub Profile
@py7hon
py7hon / List H.txt
Last active June 10, 2021 05:29
List non H and H++
- danbooru (http://danbooru.donmai.us)
- Sankaku Complex (http://chan.sankakucomplex.com)
- Sankaku Complex (Idol) (http://idol.sankakucomplex.com)
- Konachan (http://konachan.com)
- oreno.imouto.org (http://yande.re)
- gelbooru.com (http://gelbooru.com)
- safebooru (http://safebooru.org)
- TheDoujin.com (http://thedoujin.com)
- 3dbooru (http://behoimi.org)
- vectorbooru (ichijou.org)
@py7hon
py7hon / uploader.py
Created January 29, 2018 09:18
Nyaa.pet Uploader Without API
#!/usr/bin/env python3
# Created by Muhammad Iqbal Rifai
# Date 29/01/2018
# Time 16.07 UTC+7
@py7hon
py7hon / tool.tl.py
Created April 8, 2018 05:25
Auto Translate ASS subtitle
import base64, codecs
magic = 'aW1wb3J0IGJhc2U2NCwgY29kZWNzCQkKbWFnaWMgPSAnYVcxd2IzSjBJR0poYzJVMk5Dd2dZMjlrWldOekNRa0tiV0ZuYVdNZ1BTQW5ZVmN4ZDJJelNqQkpSMHBvWXpKVk1rNURkMmRaTWpscldsZE9la05SYTB0aVYwWnVZVmROWjFCVFFXNVpWbU40WkRKSmVsTnFRa3BTTUhCdldYcEtWazFyTlVSa01tUmFUV3BzY2xkc1pFOWxhMDVTWVRCMGFWWXdXblZaVm1ST1dqRkNWRkZYTlZwV2JVNDBXa1JLU21Wc1RuRlJhM0JUVFVoQ2RsZFljRXRXYXpGeVRsVlNhMDF0VW1GVVYzQnpZMnhrYzFwRk9XeGhNRFZUV1ZSQ01HRldXWGRYYmxaYVZtMVNUMWRxUmtOV1JrWllUbFp3VjJKVk5EQlhhMUpMVTIxV2MxUnVSbEpoTTBKVVZGVm9RMlJzWkZsalJYUlhZWHBHZVZSc1ZsTmhNREYwVlcxR1ZWWXpRbnBaTW5ocll6RndSazlYZUdoTlJGWlVWMVpTUTAxSFJsZFhXR1JZWW14YVlWWnRNVk5VTVdSeFVtdE9WMUpyV2xsVWJGcDNWakpLVms1RVFsaGhNVXBNVlRJeFYyTXhVblZTYkVwb1RUQktWVlpHVm05Uk1sSnpXa1pzYWxKWVVsaFpXSEJIWlZaU2MxWnNUbWhOUkVZd1ZsY3hSMVpXV1hwUmJuQmFUVzVvY2xsNlJuZFNhemxZWlVkb1RsSkdXbFZXTVZwVFVUQXhTRkpzWkZoWFIxSlpXVzE0WVZsV1duUk5WazVWVFZkU2VGVnRkRTlXTVVweVYyeHNWV0pHY0ROV2FrcExWbXMxUlZGc2FHaE5WWEJOVmxSSmVGWXlUWGhWYmxaVFlrVndiMVJVUWt0V1ZscEhWbTA1VWsxc1NucFhhMXB6WVd4S1dWVnNhRnBYU0VKSVdsWmFVMk14V25
@py7hon
py7hon / func.php
Created June 23, 2018 12:21
PHP MD5 Encryption and Decryption
<?php
$input = $_POST["pass"];
$encrypted = encryptIt( $input );
$decrypted = decryptIt( $encrypted );
echo $encrypted . '<br />' . $decrypted;
function encryptIt( $q ) {
$cryptKey = 'Kontolnee!!!';
@py7hon
py7hon / player.js
Created June 25, 2018 16:43
Youtube Player
This file has been truncated, but you can view the full file.
var _yt_player={};(function(g){var window=this;var ba,da,ka,ia,la,qa,ra,sa,xa,za,daa,eaa,Ia,faa,Na,Ra,gaa,Ya,ab,fb,bb,haa,db,iaa,jaa,nb,pb,sb,raa,saa,ub,vb,Ab,Db,Eb,Fb,vaa,Hb,Jb,Mb,Pb,Tb,Vb,Wb,Zb,$b,gc,ic,hc,kc,lc,mc,nc,xaa,oc,vc,wc,yc,Ac,Cc,Dc,Fc,Ec,Hc,Mc,Kc,Oc,Pc,Rc,Gaa,Wc,Haa,Vc,Yc,Zc,ed,hd,wd,Ad,Bd,Cd,Id,Md,Qd,Sd,Ud,Vd,Maa,kd,Qaa,je,ke,ie,ee,ne,pe,me,qe,re,se,te,ue,ve,we,xe,De,Ae,Be,Ee,Raa,Ce,Fe,Saa,Ge,Je,Ie,Ke,Le,Ne,Me,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,He,Xe,bf,df,ef,Yaa,hf,jf,kf,mf,qf,Zaa,nf,tf,Af,zf,aba,pf,Df,Ef,Ff,Gf,bba,If,Kf,cba,Lf,Mf,dba,
Rf,Tf,Vf,Yf,$f,ag,bg,dg,eg,fba,hg,kg,gg,ig,Wf,cg,hba,ng,lg,mg,pg,gba,og,eba,ug,vg,iba,jba,kba,lba,mba,xg,zg,Bg,Cg,Ig,Jg,Kg,Lg,Mg,Ng,Pg,Rg,Tg,Vg,qba,Wg,Xg,Zg,$g,rba,gh,hh,ih,jh,lh,mh,nh,rh,sh,wh,zh,Dh,uh,sba,Oh,Rh,Th,Uh,Vh,tba,uba,Wh,Xh,Yh,wba,xba,yba,$h,ai,bi,ci,di,fi,ji,li,mi,Bba,ni,oi,pi,qi,Cba,ri,si,ti,ui,Dba,Eba,Fba,vi,Ai,Bi,Ci,Fi,Di,Iba,Ei,Gi,Hi,Li,Ki,Mi,Jba,Ni,Oi,Pi,Qi,Si,Ui,Xi,$i,Zi,Yi,aj,Kba,cj,dj,ej,fj,hj,ij,jj,kj,lj,Mba,Nba,mj,nj,oj,pj,qj,gj,sj,uj,tj,vj,xj,yj,z
@py7hon
py7hon / disqus-amp.html
Created August 1, 2018 10:16
Disqus Responsive on AMP
<div id="disqus_thread"></div>
<script>
window.addEventListener('message', receiveMessage, false);
function receiveMessage(event) {
if (event.data) {
var msg;
try {
msg = JSON.parse(event.data);
} catch (err) {
// Do nothing
@py7hon
py7hon / app.js
Created August 6, 2018 12:55
Usercloud DirectLink
if (document.querySelector('#btn_download')) {
document.querySelector('#btn_download').click();
} else {
document.querySelector('a.btn.btn-success.btn-icon-stacked').click();
setTimeout(window.close(), 10000);
}
@py7hon
py7hon / sakura.js
Created August 7, 2018 12:27
Sakura Rain
var stop, staticx;
var img = new Image();
img.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUgAAAEwCAYAAADVZeifAAAACXBIWXMAAACYAAAAmAGiyIKYAAAHG2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBSaWdodHM9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9yaWdodHMvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHh
@py7hon
py7hon / func.js
Last active August 19, 2018 10:21
Anti Remove Credits on Footer and auto Redirect to Your Website
window.addEventListener('load', function(event){
var a = document.getElementsByClassName("copyright");
var b = a.length;
var c = /Jack Conte|Bakaa/g.test(a[0].innerHTML);
var d = a[0].getElementsByClassName("Jack Conte");
var e = d.length;
var f = (e > 0) ? d[0].href : "";
var g = (f != "") ? /https\:\/\/www\.facebook\.com\/iqbalrifaii|http\:\/\/bakaa\.me\//.test(f) : "";
var h = (e > 0) ? /Jack Conte|Bakaa/g.test(d[0].innerHTML) : "";
(function(){
@py7hon
py7hon / last-release.php
Last active November 4, 2018 11:50
Wordpress Last Release Like Horriblesubs
function relatedseries(){
foreach(array_slice((get_the_category()), 0, 1) as $cat){
$rlseries = new WP_Query(
array(
'post_type' => 'episode',
'name' => $cat->slug,
'posts_per_page'=> 1,
)
);
echo '<div class="latest-releases">';