First, install xdebug
package on system:
$ sudo yum install php-pecl-xdebug.x86_64
Or with DNF:
// Usage : less2stylusDir('../src/css/'); | |
var fs = require('fs'); | |
// this less 2 stylus conversion script make a stylus easy to read syntax | |
// - let the braces | |
// - replace the @ for var as $ | |
// - let semicolons | |
function less2stylus(less) |
Function.prototype.method = function(name, fn) { | |
this.prototype[name] = fn; | |
return this; | |
} |
// Usage: | |
// | |
// 1. Put this in the file that gets first loaded by RequireJS | |
// 2. Once the page has loaded, type window.rtree.map() in the console | |
// This will map all dependencies in the window.rtree.tree object | |
// 3. To generate UML call window.rtree.toUml(). The output can be used | |
// here: http://yuml.me/diagram/scruffy/class/draw | |
requirejs.onResourceLoad = function (context, map, depMaps) { | |
if (!window.rtree) { | |
window.rtree = {}; |
class Air { | |
@wetter | |
humidity; | |
} |
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> | |
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css"> |
In your WSL instance, re-install OpenSSH server as follows.
sudo apt remove --purge openssh-server
sudo apt install openssh-server
Edit /etc/ssh/sshd_config (e.g. sudo vi /etc/ssh/sshd_config
) and add the following lines to the bottom of the file. Ensure you replace WSL_ACCOUNT_NAME with your WSL2 account name.