All Projects → watzon → Wsl Proxy

watzon / Wsl Proxy

Licence: wtfpl
WSL proxy files for editor/linux interop

Projects that are alternatives of or similar to Wsl Proxy

Better-Less
Cross-compatible syntax highlighting for Less
Stars: ✭ 13 (-90.3%)
Mutual labels:  atom, sublime-text, visual-studio-code
Golite
Add essential language support for the Go language to Sublime Text 3.
Stars: ✭ 14 (-89.55%)
Mutual labels:  linter, sublime-text, sublime-text-3
Magicpython
Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code. Used by GitHub to highlight your Python code!
Stars: ✭ 1,238 (+823.88%)
Mutual labels:  atom, visual-studio-code, sublime-text-3
Handlebars
Fullest Handlebars.js templating support for Atom and Sublime Text 2 / 3. Also drives syntax colouring on Github and in Visual Studio Code. Install from: https://atom.io/packages/Handlebars and https://packagecontrol.io/packages/Handlebars.
Stars: ✭ 292 (+117.91%)
Mutual labels:  atom, visual-studio-code, sublime-text
Consolewrap
This plugin helps you to work easily with log statements
Stars: ✭ 75 (-44.03%)
Mutual labels:  sublime-text, sublime-text-3
Dotfiles
What tools and plugins I use for web development?
Stars: ✭ 73 (-45.52%)
Mutual labels:  atom, sublime-text
Vscode Gremlins
Gremlins tracker for Visual Studio Code: reveals invisible whitespace and other annoying characters
Stars: ✭ 78 (-41.79%)
Mutual labels:  linter, visual-studio-code
Wslbridge2
Explore various ways to connect Windows Subsystem for Linux with Windows terminal emulators.
Stars: ✭ 93 (-30.6%)
Mutual labels:  wsl, windows-10
Sublime Text Plugins For Frontend Web Development
📝 Collection of plugins for Frontend Web Development
Stars: ✭ 1,127 (+741.04%)
Mutual labels:  sublime-text, sublime-text-3
Castle Winbuntu
Homesick Castle for use on WSL.
Stars: ✭ 87 (-35.07%)
Mutual labels:  wsl, windows-10
Alwsl
Install archlinux as the WSL (Windows Subsystem for Linux) host.
Stars: ✭ 1,332 (+894.03%)
Mutual labels:  wsl, windows-10
Linter Jscs
Atom JSCS linter providers
Stars: ✭ 69 (-48.51%)
Mutual labels:  linter, atom
Runinbash
Run Linux commands under WSL without leaving your PowerShell or CMD!
Stars: ✭ 67 (-50%)
Mutual labels:  wsl, windows-10
Linter Phpcs
Linter plugin for PHP, using PHP_CodeSniffer.
Stars: ✭ 64 (-52.24%)
Mutual labels:  linter, atom
Linter Write Good
An Atom linter interface for write-good.
Stars: ✭ 102 (-23.88%)
Mutual labels:  linter, atom
Atom Linter Alex
Linter plugin using alex to catch insensitive, inconsiderate writing
Stars: ✭ 87 (-35.07%)
Mutual labels:  linter, atom
Pythonimproved
The best Python language definition for Sublime Text - ever. Includes full support for Unicode, as well as both Python 2 and Python 3 syntax. Check out the Neon Color Scheme for highlighting.
Stars: ✭ 95 (-29.1%)
Mutual labels:  sublime-text, sublime-text-3
Carbonsublime
🚀 A Sublime Text 3 Plugin for Carbon. (https://carbon.now.sh)
Stars: ✭ 104 (-22.39%)
Mutual labels:  sublime-text, sublime-text-3
Productive Sublime Snippets Ruby
Ruby Snippets for Sublime Text
Stars: ✭ 109 (-18.66%)
Mutual labels:  sublime-text, sublime-text-3
Wslreverse
Experiments with hidden COM interface and LxBus IPC mechanism in WSL
Stars: ✭ 47 (-64.93%)
Mutual labels:  wsl, windows-10

WSL Proxy Files

WSL (Windows Subsystem for Linux) is an awesome bit of innovation by Microsoft that allows you to run Linux inside of Windows 10 without the need for a Virtual Machine. This has several benefits, the largest of which is the memory that you save by not running a whole secondary OS. Unfortunately it also has it's drawbacks, the biggest of which is a distinct lack of support through editors such as Atom, VSCode, and Sublime Text.

The goal of this project is to create a collection of "proxy" batch files that can be used to route requests to the linux version of a command. Almost all of the files will have the same layout

@echo off
bash.exe -c "php %*"

As an example usecase take the atom-linter package. Most of the linters, such as linter-php require the path to an executable in order to run. If that executable is inside of WSL however, there is no way to access it.

Using the wsl-proxy php.bat file however, you can just replace the path to the executable with C:\\Users\\myuser\\path\\to\\wsl-proxy\\php.bat. Requests are now being routed to the linux version of PHP.

Pro tip: If you clone this and add the cloned directory to your windows PATH you will be able to access any of the proxied commands through command prompt (even without the .bat extension)

Note: This is an experiment currently and I can't guarentee it will work with everything, but please feel free to add files here. Let's turn this into a one-stop shop for wsl-proxy files.

Auto-generating proxy files

Run the proxygen.cmd script to automatically generate proxies. A subfolder named .\autogen will be created, and all the autogenned proxy files will be placed here -- add this folder to your Windows PATH if you want access to the proxied commands without typing in a full path.

Usage:

  • (No args): proxygen
    Prompts you to enter program names from stdin (press CTRL-D when done).
  • (Redirect from file): proxygen < program_name_file
    Same as above, but reads program names from a file.
  • (Specify args on command line): proxygen program1 program2 ...

Examples:
proxygen gcc g++
proxygen /usr/bin/foo
proxygen /usr/bin/*
proxygen /usr/bin/* /bin/*

Program names will be resolved to absolute paths. If a program is not found, a warning message will be displayed (the proxy will still be created).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].