To select Debian as default distro:
wslconfig /s debian| A | |
| A's | |
| AA's | |
| AB's | |
| ABM's | |
| AC's | |
| ACTH's | |
| AI's | |
| AIDS's |
| (ql:quickload "cl-ppcre") | |
| (ql:quickload "anaphora") | |
| (defpackage :ini-parser | |
| (:use :common-lisp :anaphora) | |
| (:export :read-config-from-file)) | |
| (in-package :ini-parser) | |
| (defparameter +empty-line+ (format nil "~%")) |
| Information from https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx : | |
| Use any character in the current code page for a name, including Unicode | |
| characters and characters in the extended character set (128–255), except | |
| for the following: | |
| - The following reserved characters: | |
| < (less than) | |
| > (greater than) |
| #!/bin/sh -euvx | |
| # -e If non interactive then exit immediately if a command fails. | |
| # -u Treat unset variables as an error when substituting. | |
| # -v Print shell input lines as they are read. | |
| # -x Print commands and their arguments as they are executed. |
To select Debian as default distro:
wslconfig /s debian| > scoop bucket list | |
| Ash258 | |
| extras | |
| java | |
| main | |
| nonportable | |
| rasa | |
| z-dodorz |
| #!/usr/bin/sbcl --script | |
| #| | |
| Usage | |
| ===== | |
| $ ./braille-pixels.lisp [path] | |
| Main | |
| ==== |
| (require :asdf) | |
| (require :bordeaux-threads) | |
| (defun color-formatter (color) | |
| (format nil "~a[~am~~?~a[m" #\Esc color #\Esc)) ; The formatter function wants a simple-string. | |
| (defun message (color i thread) | |
| (let ((color-format (color-formatter color)) | |
| (thread-name (bt:thread-name thread))) | |
| (format t "~&Hello for the ~? time from the ~? thread.~%" |
| ;;; ob-powershell.el --- org-babel functions for powershell evaluation | |
| ;; Authors: Chris Bilson | |
| ;; Keywords: literate programming, reproducible research | |
| ;; Homepage: http://orgmode.org | |
| ;;; Commentary: | |
| ;; Org-Babel support for evaluating powershell source code. |
eshell is the shell I’ve tried using over time, and in the end just never stick with it. Let’s try one more time with a couple of tricks. The first tricks are mostly documentation:
M-& in a tramp-aware session means you run commands in a new
buffer, without a TTY. Great for things like tailf.top are in the default list by default,