Workaround:
Get-NetConnectionProfile | Where-Object "InterfaceAlias" -like "Zero*"
Get-NetConnectionProfile | Where-Object "InterfaceAlias" -like "Zero*" | Set-NetConnectionProfile -NetworkCategory Private
| #include <type_name.h> | |
| #include <iostream> | |
| class A { | |
| public: | |
| int a = 1; | |
| int b = 2; | |
| int c = 3; | |
| }; |
| #include <iostream> | |
| struct S { | |
| int value = 0; | |
| decltype(auto) operator++(auto... t) { | |
| return ((*this = {value + 1}), ..., S{value - 1 + t}); | |
| } | |
| }; |
| #include <stdint.h> | |
| #include <stdio.h> | |
| // The processes vision can be running | |
| enum struct Process : uint16_t { | |
| PROCESS_1, | |
| PROCESS_2, | |
| }; | |
| enum struct Function : uint16_t { |
| # based on https://gist.github.com/junkdog/70231d6953592cd6f27def59fe19e50d?permalink_comment_id=3780497 | |
| function register_clang_version { | |
| local version=$1 | |
| local priority=$2 | |
| update-alternatives \ | |
| --verbose \ | |
| --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ | |
| --slave /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-${version} \ | |
| --slave /usr/bin/llvm-as llvm-as /usr/bin/llvm-as-${version} \ |
| #include <string> | |
| // concat(a,b,c) is the equivalent to std::string(a) + std::string(b) + std::string(c) | |
| template<class T> | |
| std::string concat(T t) { | |
| return std::string(t); | |
| } | |
| template<class T, class... Types> | |
| std::string concat(T t, Types&&... others) { |
| CompileFlags: | |
| CompilationDatabase: /path_to_build_with_compile_database.json |
| # Gnome, using gnome-tweaks | |
| sudo apt install gnome-tweaks | |
| gnome-tweaks | |
| # Switch the option Middle Click Paste | |
| # Firefox, within `about:config`, change the following configs | |
| middlemouse.contentLoadURL false | |
| middlemouse.paste false |