Skip to content

Instantly share code, notes, and snippets.

View py7hon's full-sized avatar

Iqbal Rifai py7hon

View GitHub Profile
@py7hon
py7hon / nhdl-minified.py
Last active April 18, 2020 11:53
nhentai dl
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
J=len
I=int
B=print
import requests as K,re
from tqdm import trange as L
import urllib.request,os as C,sys as E
from glob import glob
def M(link):A=link.rsplit('/',1)[1];B=A.split('t')[0];return I(B)
@py7hon
py7hon / PKGBUILD
Last active March 13, 2021 06:00
Aegisub Archlinux
# Contributor: iqbalrifai <[email protected]>
pkgname=aegisub
pkgver=3.3.3.r70
pkgrel=1
pkgdesc='A Update of Aegisub'
arch=(x86_64)
url=https://github.com/FansubID/Aegisub
license=(
custom
)
@py7hon
py7hon / artix_sync.ipynb
Last active September 21, 2020 02:04
MAKE MIRROR PACKAGE WITH GOOGLE DRIVE https://artixlinux.0xd.workers.dev/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@py7hon
py7hon / Cari.ipynb
Last active July 31, 2020 11:06
Mencari Doujin dan Manga Dengan Potongan Gambar
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"alt-speed-down": 500,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 1,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
#!/usr/bin/env bash
if [ -z "$1" ]; then
echo "usage: $(basename $0) <project name>"
exit 1
fi
PROJ_NAME="$1"
PROJ="$(basename $1 .git).git"
pushd ${HOME}
[Unit]
Description=Transmission BitTorrent Daemon
After=network.target
[Service]
User=root
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-error
ExecReload=/bin/kill -s HUP $MAINPID
NoNewPrivileges=true
@py7hon
py7hon / PKGBUILD
Created August 10, 2020 03:16
Arch Musl
# Maintainer: Sergej Pupykin <[email protected]>
# Maintainer: Eli Schwartz <[email protected]>
# Maintainer: Iqbal Rifai <[email protected]>
# Contributor: TJ Vanderpoel <tj@rubyists>
pkgname=musl
pkgver=1.2.1
pkgrel=1
pkgdesc='Lightweight implementation of C standard library'
arch=('x86_64')
@py7hon
py7hon / PKGBUILD
Created August 10, 2020 03:46
linux-libre
# Maintainer : Daniel Bermond <[email protected]>
# Contributor: Jonas Heinrich <[email protected]>
# Contributor: André Silva <[email protected]>
# Contributor: Márcio Silva <[email protected]>
# Contributor (Parabola): Nicolás Reynolds <[email protected]>
# Contributor (Parabola): Sorin-Mihai Vârgolici <[email protected]>
# Contributor (Parabola): Michał Masłowski <[email protected]>
# Contributor (Parabola): Luke Shumaker <[email protected]>
# Contributor (Parabola): Luke R. <[email protected]>
# Contributor (Poi Linux): Iqbal Rifai <[email protected]>
@py7hon
py7hon / player.js
Last active September 26, 2020 07:18
eval((function(s){var a,c,e,i,j,o="",r,t="^`|~";for(i=0;i<s.length;i++){r=t+s[i][2];a=s[i][1].split("");for(j=a.length - 1;j>=0;j--){s[i][0]=s[i][0].split(r.charAt(j)).join(a[j]);}o+=s[i][0];}var p=9080;var x=function(r){var c,p,s,l='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789';if(r<63)c=l.charAt(r);else{r-=63;p=Math.floor(r/63);s=r%63;c=l.charAt(p)+l.charAt(s)}return c;};a=o.substr(p).split(':');r=a[1].split('?');a=a[0].split('?');o=o.substr(0,p);if(!''.replace(/^/,String)){var z={};for(i=0;i<196;i++){var y=x(i);z[y]=r[i]||y}t=/\b\w\w?\b/g;y=function(a){return z[a]||a};o=o.replace(t,y);}else{for(j=a[a.length-1]-1;j>=0;j--){if(r[j])o=o.replace(new RegExp('\b'+(j<63?c.charAt(j):c.charAt((j-63)/63)+c.charAt((j-63)%63))+'\b','g'),r[j])}}return o.replace(//g,"\n").replace(//g,"\"");})([["function@H(a){ao(a+).j(/[a-z]/gi,p(a){ao String.fromCharCode(a.charCodeAt(0)+(n>a.toLowerCase()?13:-13))})}o@JSON.parse(bH(atob(b9)))b9OaBid']aI0h[]aL6fa