romainthd / ash Goto Github PK
View Code? Open in Web Editor NEWA shell emulator for web browsers using Angular
Home Page: https://romainthd.github.io/ASH/
License: GNU General Public License v3.0
A shell emulator for web browsers using Angular
Home Page: https://romainthd.github.io/ASH/
License: GNU General Public License v3.0
Example : man
uses backquotes, while ls _
uses single quotes
Throw an exception ? Return null
? Silently overwrite ?
The problem is the use of File.findFromPath
, which will already filter the other inodes
For example, \033[4;32m
, which should underline (4
) AND color in green (32
).
The part between [
and m
should be treated as a list of consecutive parameters.
For example, \033[4;0;31m
should be exploded as \033[4m
\033[0m
\033[31m
For example, "BLUE BLUE foo RESET"
will render "BLUE foo"
in blue, where BLUE
is the ANSI color code.
echo "abcde"
will output "abcde"
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "assert": require.resolve("assert/") }'
- install 'assert'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "assert": false }
The expected behaviour would be to set it to the end of the word
Uncaught ReferenceError: can't access lexical declaration 'qu' before initialization
Right now, an empty command might be treated as not recognized
For example, cd ..
will write root:12:00:00:..$
Should the following commands raise an error ?
cat "./foo\0bar"
touch new\nfile
If so, what about this ?
echo "foo\nbar"
Otherwise, should the command be parsed, and then the JavaScript string be filtered / checked in the command itself ?
Example : ls my\ directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.