VS Code on iPad Pro: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| | colspan="2" valign="top" | <source lang="bash"> curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt-get install -y nodejs sudo npm -g install yarn...") |
|||
Line 96: | Line 96: | ||
* [https://stackoverflow.com/questions/38323880/ Error: EACCES: permission denied] | * [https://stackoverflow.com/questions/38323880/ Error: EACCES: permission denied] | ||
* [https://discussions.apple.com/thread/252596486 iPad Pro Disable Virtual Keyboard] | * [https://discussions.apple.com/thread/252596486 iPad Pro Disable Virtual Keyboard] | ||
* [[NodeJS]] | |||
* [[Theia]] | * [[Theia]] | ||
|} | |} |
Revision as of 06:16, 2 April 2022
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm -g install yarn
yarn global add code-server
~/.yarn/bin/code-server
| |
| |
vim ~/.config/code-server/config.yaml | |
| |
bind-addr: 127.0.0.1:8080
auth: none
password: academia
cert: false
|
bind-addr: 127.0.0.1:8080
auth: password
password: academia
cert: false
|
| |
sudo vim /etc/systemd/system/code-server.service [Unit]
Description=code-server
After=network.target
[Service]
User=pi
Group=pi
WorkingDirectory=/home/pi
Environment="PATH=/usr/bin"
ExecStart=/usr/local/bin/code-server
[Install]
WantedBy=multi-user.target
sudo systemctl disabled code-server.service sudo systemctl enabled code-server.service sudo systemctl status code-server.service sudo systemctl start code-server.service sudo systemctl stop code-server.service blink » config » Hosts » New Host » SSH Config » New Host » Save # Compression no LocalForward 8080 127.0.0.1:8080 ExitOnForwardFailure yes |
Knowledge
sudo npm install -g --unsafe-perm=true --allow-root curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - curl -fsSL https://rpm.nodesource.com/setup_14.x | sudo bash -