Port forwarding
Open ports (udp)
2456 2457 2458 27060
Uncomplicated Firewall
sudo ufw allow 2456/udp
Port forwarding
Open ports (udp)
2456 2457 2458 27060
Uncomplicated Firewall
sudo ufw allow 2456/udp
sudo tar -xvf go1.15.6.linux-amd64.tar.gz
sudo mv go /usr/local
nano ~/.zshrc
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
/** | |
* Fix Password Protect pages with Elementor | |
* | |
* Author: Mattias Ghodsian | |
* Donate a cup of coffee: https://www.buymeacoffee.com/mattiasghodsian | |
* Donate Eth: 0xBBB96204E45D11C9799c6B12E6eE6F0d4A071Ef5 | |
* | |
* @param string $content | |
* @return html | |
*/ |
/** | |
* Bootstrap 4+ Pagination for Wordpress | |
* | |
* Author: Mattias Ghodsian | |
* Donate a cup of coffee: https://www.buymeacoffee.com/mattiasghodsian | |
* Donate Eth: 0xBBB96204E45D11C9799c6B12E6eE6F0d4A071Ef5 | |
* | |
* @param integer $paged | |
* @param integer $max_num_pages | |
* @param string $wrap_classe |
/** | |
* Modify the page title (<title>) | |
* Author: Mattias Ghodsian | |
* Donate a cup of coffee: https://www.buymeacoffee.com/mattiasghodsian | |
* Donate Eth: 0xBBB96204E45D11C9799c6B12E6eE6F0d4A071Ef5 | |
*/ | |
add_filter('wp_title', 'filter_page_title', 99); | |
add_filter( 'bloginfo', 'filter_page_title', 10, 2 ); | |
function filter_page_title($title) { |
/** | |
* Add Author to WooCommerce Products | |
* Author: Mattias Ghodsian | |
* Donate a cup of coffee: https://www.buymeacoffee.com/mattiasghodsian | |
* Donate Eth: 0xBBB96204E45D11C9799c6B12E6eE6F0d4A071Ef5 | |
*/ | |
add_action('init', 'add_author_support_woocommerce', 999 ); | |
function add_author_support_woocommerce() { | |
add_post_type_support( 'product', 'author' ); | |
} |
/** | |
* Add more users to Auther box | |
* Author: Mattias Ghodsian | |
* Donate a cup of coffee: https://www.buymeacoffee.com/mattiasghodsian | |
* Donate Eth: 0xBBB96204E45D11C9799c6B12E6eE6F0d4A071Ef5 | |
*/ | |
add_filter('wp_dropdown_users', 'add_users_to_dropdown_users'); | |
function add_users_to_dropdown_users() | |
{ | |
global $post; // remove if not needed |
<?php | |
/** | |
* FM_Importer | |
* Author: Mattias Ghodsian | |
* Donate a cup of coffee: https://www.buymeacoffee.com/mattiasghodsian | |
* Donate Eth: 0xBBB96204E45D11C9799c6B12E6eE6F0d4A071Ef5 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { exit; } | |
if ( ! defined( 'WP_LOAD_IMPORTERS' ) ) |
~|~ I DO NOT INDORCE TORRENTING COPYRIGHT CONTENT - THIS IS MADE FOR EDUCATIONAL PURPOSES ONLY ~|~
1. Setup your Raspberry
sudo raspi-config
and go to Interfaces and enable SSHsudo raspi-config
sudo apt-get update
then sudo apt-get upgrade -y
2. Install qbittorrent-nox
sudo apt-get update && sudo apt-get install qbittorrent-nox
/** | |
* gf_get_field_data | |
* Author: Mattias Ghodsian | |
* Donate a cup of coffee: https://www.buymeacoffee.com/mattiasghodsian | |
* Donate Eth: 0xBBB96204E45D11C9799c6B12E6eE6F0d4A071Ef5 | |
* | |
* @param int $form_id | |
* @param int $id the field integer key | |
* @param str $key what value to return | |
* @return string/boolean |