Log in to your Managed Hosting Server via SSH.
Create your .bashrc:
touch .bashrc
| # WSL2 network port forwarding script v1 | |
| # for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
| # for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
| # written by Daehyuk Ahn, Aug-1-2020 | |
| # Display all portproxy information | |
| If ($Args[0] -eq "list") { | |
| netsh interface portproxy show v4tov4; | |
| exit; | |
| } |
| // This is the code used in video "How To Add Svelte To Your Site?" | |
| // Check out the video here: https://www.youtube.com/watch?v=ZL7mKFQHSAY | |
| const gulp = require('gulp') | |
| const sass = require('gulp-sass') | |
| const browsersync = require('browser-sync').create() | |
| const webpack = require('webpack') | |
| const webpackStream = require('webpack-stream') |
| @mixin for-size($range) { | |
| $phone-upper-boundary: 600px; | |
| $tablet-portrait-upper-boundary: 900px; | |
| $tablet-landscape-upper-boundary: 1200px; | |
| $desktop-upper-boundary: 1800px; | |
| @if $range == phone-only { | |
| @media (max-width: #{$phone-upper-boundary - 1}) { @content; } | |
| } @else if $range == tablet-portrait-up { | |
| @media (min-width: $phone-upper-boundary) { @content; } |
| (function (root, factory) { | |
| if ( typeof define === 'function' && define.amd ) { | |
| define([], factory(root)); | |
| } else if ( typeof exports === 'object' ) { | |
| module.exports = factory(root); | |
| } else { | |
| root.myPlugin = factory(root); | |
| } | |
| })(typeof global !== "undefined" ? global : this.window || this.global, function (root) { |
| /** | |
| * Compares two software version numbers (e.g. "1.7.1" or "1.2b"). | |
| * | |
| * This function was born in http://stackoverflow.com/a/6832721. | |
| * | |
| * @param {string} v1 The first version to be compared. | |
| * @param {string} v2 The second version to be compared. | |
| * @param {object} [options] Optional flags that affect comparison behavior: | |
| * <ul> | |
| * <li> |
| <dateName> | |
| <TCEforms> | |
| <label>LLL:EXT:skinFlex/flex/locallang.xml:flexform.flex.dateName</label> | |
| <config> | |
| <type>input</type> | |
| <eval>date</eval> | |
| </config> | |
| </TCEforms> | |
| </dateName> |