Skip to content

Instantly share code, notes, and snippets.

@olaioo
olaioo / remote-openvscode-install.sh
Last active February 5, 2023 14:50
Script for install remote openvscode in a vps
echo '------------ Starting Remote Open Visual Code instalation ------------'
sudo apt -y install jq
echo 'cd /tmp/
wget $(curl --silent "https://api.github.com/repos/gitpod-io/openvscode-server/releases/latest" | jq -r .assets[0].browser_download_url)
tar -xzf openvscode-server-*.tar.gz
cd openvscode-server-*/bin/
sudo iptables -F
./openvscode-server --host 0.0.0.0 --port 1234' > ~/.openvscode.sh
echo '[Unit]
Description=Open Visual Code Service
@olaioo
olaioo / RESET_INTELLIJ_IDEA.md
Last active July 27, 2021 20:04
A shell script to reset eval time of Intellij IDEA before it ends.

Reset IDEA (Linux ONLY)

Instructions

First, paste/create the file resetScript.sh into your IDEA's instalation folder (example: /opt/intellij-idea-ultimate-edition/bin/)

After, edit the file idea.sh that you can locate at the same directory. And add these line before the commented line, # Run the IDE.

sh $IDE_BIN_HOME/resetScript.sh