# Connectiong by SSH from Android Termux to Desktop and vice-versa.md
# Copyright (c) 2019 Evandro Coan
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
How to setup a development environment where Git from WSL integrates with native Windows applications, using the Windows home folder as the WSL home and using Git from WSL for all tools.
Note if using Git for Windows, or any tool on the Windows side that does not use Git from WSL then there will likely be problems with file permissions if using those files from inside WSL.
These are the tools I use:
- git (wsl) - Command line git from within WSL.
- Fork (windows) - Git GUI (must be used with
wslgit
) - wslgit - Makes git from WSL available for Windows applications. Important! Follow the installation instructions and do (at least) the first optional step and then the Usage in Fork instructions.
This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.
- Download WSL2 Kernel
- run
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
# https://ubuntu.com/blog/new-installation-options-coming-for-ubuntu-wsl | |
# https://devblogs.microsoft.com/commandline/distro-installation-added-to-wsl-install-in-windows-10-insiders-preview-build-20246/ | |
# https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
wsl --install -d <distros> | |
# alternative wsl.exe --install -d <distros> | |
wsl --list --online | |
#neh you disto version to wsl1 or wsl2 | |
wsl --list --verbose |
Hiren’s BootCD 15.2 https://www.hirensbootcd.org/hbcd-v152/ https://www.hirensbootcd.org/files/Hirens.BootCD.15.2.zip
Hiren’s BootCD 15.1 https://www.hirensbootcd.org/hbcd-v151/ https://www.hirensbootcd.org/files/Hirens.BootCD.15.1.zip
Hiren’s BootCD 15.0 https://www.hirensbootcd.org/hbcd-v150/ https://www.hirensbootcd.org/files/Hirens.BootCD.15.0.zip
Hiren’s BootCD 14.1 https://www.hirensbootcd.org/hbcd-v141/ https://www.hirensbootcd.org/files/Hirens.BootCD.14.1.zip
Hiren’s BootCD 14.0 https://www.hirensbootcd.org/hbcd-v140/ https://www.hirensbootcd.org/files/Hirens.BootCD.14.0.zip
Hiren’s BootCD 13.2 https://www.hirensbootcd.org/hbcd-v132/ https://www.hirensbootcd.org/files/Hirens.BootCD.13.2.zip
Hiren’s BootCD 13.1 https://www.hirensbootcd.org/hbcd-v131/ https://www.hirensbootcd.org/files/Hirens.BootCD.13.1.zip
Hiren’s BootCD 13.0 https://www.hirensbootcd.org/hbcd-v130/ https://www.hirensbootcd.org/files/Hirens.BootCD.13.0.zip
Hiren’s BootCD 12.0 https://www.hirensbootcd.org/hbcd-v120/ http
const INDEX: u8 = 0x0; | |
const RUN_8: u8 = 0x40; | |
const RUN_16: u8 = 0x60; | |
const DIFF_8: u8 = 0x80; | |
const DIFF_16: u8 = 0xc0; | |
const DIFF_24: u8 = 0xe0; | |
const COLOR: u8 = 0xf0; | |
const MASK_2: u8 = 0xc0; | |
const MASK_3: u8 = 0xe0; |