This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ======================================================== # | |
# | |
# Hestia Control Panel Installer for Ubuntu | |
# https://www.hestiacp.com/ | |
# | |
# Currently Supported Versions: | |
# Ubuntu 20.04, 22.04 LTS | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Source = "C:\absolute-path" | |
$OutputFile = "all.txt" | |
$Prefix = "path: " | |
$MaxRetries = 5 | |
$RetryWaitSeconds = 2 | |
function Write-WithRetry { | |
param( | |
[string]$Path, | |
[string]$Value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
var buying = false; | |
$( '.mycred-sell-this-wrapper' ).on( 'click', '.mycred-buy-this-content-button', function(){ | |
if ( buying === true ) return false; | |
buying = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('after_switch_theme', function() { | |
$basePath = dirname(__DIR__, 3); | |
$muPluginpath = dirname(__DIR__, 2) . '/mu-plugins'; | |
$requirementsPath = __DIR__ . '/requirements'; | |
require_once( $basePath . "/wp-admin/includes/plugin.php"); | |
if (wp_mkdir_p($muPluginpath)) { | |
$di = new RecursiveDirectoryIterator($muPluginpath, FilesystemIterator::SKIP_DOTS); | |
$ri = new RecursiveIteratorIterator($di, RecursiveIteratorIterator::CHILD_FIRST); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name HXFile Downloader Click | |
// @namespace https://github.com/iniznet/ | |
// @version 1.0.0 | |
// @description Automatically click the download button | |
// @author niznet | |
// @match https://hxfile.co/* | |
// @icon https://www.google.com/s2/favicons?domain=hxfile.co | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name MangaOwl Ad & Image Gap Remover | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0.0 | |
// @description Remove ads & gap between images | |
// @author niznet | |
// @match https://mostraveller.com/* | |
// @match https://i.mangaowls.com/reader/* | |
// @icon https://www.google.com/s2/favicons?domain=mangaowls.com | |
// @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com *//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */ | |
/* | |
Document | |
======== | |
*/ | |
/** | |
Use a better box model (opinionated). | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Gomunime Auto Popup Close & Auto 720p Player | |
// @namespace https://niznet.my.id/ | |
// @version 1.0.1 | |
// @description Tutup 5 detik pop up / float ads & auto 720p Player | |
// @author niznet | |
// @match https://gomunime.online/* | |
// @icon https://www.google.com/s2/favicons?domain=gomunime.online | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Split string and wrap text with preserving html | |
* | |
*/ | |
function html_wrap( string $string, bool $output_array = true, int $width = 30, string $break = " \r\n" , bool $cut_long_words = false ) { | |
if ( empty( $string ) ) { | |
return false; | |
} |