Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
| function getParameterFromUrl(url, parm) { | |
| var re = new RegExp(".*[?&]" + parm + "=([^&]+)(&|$)"); | |
| var match = url.match(re); | |
| return (match ? match[1] : ""); | |
| } |
| Install WireGuard via whatever package manager you use. For me, I use apt. | |
| $ sudo add-apt-repository ppa:wireguard/wireguard | |
| $ sudo apt-get update | |
| $ sudo apt-get install wireguard | |
| MacOS | |
| $ brew install wireguard-tools | |
| Generate key your key pairs. The key pairs are just that, key pairs. They can be |
| node_modules | |
| dist/ | |
| yarn.lock | |
| wwwroot |
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
| AddHandler x-httpd-php5 .php | |
| ######################################################################### | |
| # Wordpress Base # | |
| ######################################################################### | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d |
| # one or the other, NOT both | |
| [url "https://github"] | |
| insteadOf = git://github | |
| # or | |
| [url "[email protected]:"] | |
| insteadOf = git://github |