Remove current bind on Prt Sc key
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'Bind flameshot by going to Setttings > Keyboard Shortcuts and then scroll all the way down and press the +
Remove current bind on Prt Sc key
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'Bind flameshot by going to Setttings > Keyboard Shortcuts and then scroll all the way down and press the +
"The .NET SDK includes a telemetry feature that collects usage data and exception information when the .NET
CLI crashes. The .NET CLI comes with the .NET SDK and is the set of verbs that enable you to build, test,
and publish your .NET apps. It's important that the .NET team understands how the tools are used so they
can be improved. Information on failures helps the team resolve problems and fix bugs."
The .NET SDK telemetry feature is enabled by default but should be prompt witch Yes/No while setting up. To turn off Telemetry open up the terminal and run
In this walkthrough we'll be using 4 brand new Seagate IronWolf Pro 10TB 7200rpm 256MB hard drives to setup a ZFS storage pool (RAIDZ 10).
If you don't have ZFS already installed go ahead and run
sudo apt install zfsutils-linuxBefore we do anything with the drives we need the disk identifier and sector size for each drive for step 3.
| ########################################################################### | |
| # # | |
| # ------- Aliases -------- # | |
| # --------- # | |
| # ------- https://gist.github.com/mattiasghodsian ------- # | |
| # # | |
| # # Usage: # | |
| # dpanic : FBI panic remove containers (0.0) # | |
| # dex <container>: execute shell inside <container> # | |
| # dnames : names of all running containers # |
Port forwarding
Open ports (udp)
2456 2457 2458 27060Uncomplicated Firewall
sudo ufw allow 2456/udpsudo tar -xvf go1.15.6.linux-amd64.tar.gzsudo mv go /usr/localnano ~/.zshrcexport 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' ); | |
| } |