Skip to content

Instantly share code, notes, and snippets.

[AIO] Ultimate AdBlocking+AdBypassing Guide (Firefox/Chrome/Brave - Windows/Linux)

Last Updated: September 12, 2023

Why We Need To Block Ads From Internet?

The Internet is a vast space of infinite knowledge. We can store and access those knowledge, those data from everywhere and from any device. We just need to use correct words or phrases to find them. But often what we get is not exactly Safe to See, it's not annoyance-free.

@malviyaritesh
malviyaritesh / class-wc-subscriptions-switcher.patch
Last active October 12, 2023 01:39
Allow switching of MnM items in a subscription for WooCommerce.
--- woocommerce-subscriptions/includes/class-wc-subscriptions-switcher.php 2018-12-24 15:06:02.000000000 +0530
+++ class-wc-subscriptions-switcher.php 2019-02-13 17:02:20.231498086 +0530
@@ -730,6 +730,22 @@
$subscription = wcs_get_subscription( $cart_item['subscription_switch']['subscription_id'] );
$existing_item = wcs_get_order_item( $cart_item['subscription_switch']['item_id'], $subscription );
+ /**
+ * ====== CUSTOM CODE START @rmalviya ======
+ */
+ $subs_id = $subscription->get_id();
@kingcosta
kingcosta / host
Last active September 14, 2024 15:54
Plesk Trial License Update Automation
A00C00-4M4705-G4S937-HVNX40-SQDF42
@ntamvl
ntamvl / fixed_kernal_task_high_cpu_on_macos.md
Last active June 23, 2025 16:41
Fixed the fan running high, kernel task taking up 500% cpu (high cpu) on macOS

Fixed the fan running high, kernel task taking up 500% cpu (high cpu)

Step 1: Disable SIP

Enter recovery mode

  • Shutdown your macbook
  • Press keys: Command + R
  • Press power button
  • Release keys Command + R when see Apple logo appear
  • Open Terminal app on recovery screen, then run below command:
@iDavidMorales
iDavidMorales / Curl Shorte.St API
Created June 22, 2018 03:52
Curl Shorte.St API
<?php
function shst($url){
$apiurl="https://api.shorte.st/v1/data/url";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //Set curl to return the data instead of printing it to the browser.
curl_setopt($ch, CURLOPT_URL, $apiurl);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
// Agregamos el Token que copiamos de la pagina.
curl_setopt($ch, CURLOPT_HTTPHEADER, array('public-api-token: XXXXXXXXXXXXXXXXXXX','X-HTTP-Method-Override: PUT'));
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active July 4, 2025 06:52
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@luckylittle
luckylittle / centos7-rhel8-initialize.sh
Last active January 7, 2025 05:12
Bash script that downloads the most important apps that i use on my CentOS7/RHEL7/RHEL8 laptop
#!/bin/bash
# This is more of a notes, rather than script...
# CentOS 7 #1805 (@luckylittle)
# Majority of apps that i use on my personal CentOS laptop
# CentOS 7 #1805 based on RHEL 7.5 (ISO & VirtualBox)
# wget http://mirror.slu.cz/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1804.iso
# wget https://cloud.centos.org/centos/7/vagrant/x86_64/images/CentOS-7-x86_64-Vagrant-1804_02.VirtualBox.box
@nzec
nzec / README.MD
Last active July 8, 2025 18:22
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
@AkdM
AkdM / Edit_Repack_ISO_tutorial.md
Last active May 20, 2025 08:25
Edit and repack .iso bootable image

On Linux

Installing mkisofs

apt-get install mkisofs

Editing ISO image

mkdir /tmp/custom_iso