Skip to content

Commit

Permalink
Added Insomnia, Rider, Azure Data Studio (#4)
Browse files Browse the repository at this point in the history
* Added Insomnia, Rider, Azure Data Studio

Update insomnia.sh (#13)
  • Loading branch information
mahdihasnat committed Nov 7, 2024
1 parent 4479304 commit 0dbdf2a
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/azuredatastudio.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -eux

echo "\nInstalling Azure Data Studio ...\n"

apt-get install -y libunwind8

curl -L -o azuredatastudio.deb https://azuredatastudio-update.azurewebsites.net/latest/linux-deb-x64/stable
sudo dpkg -i azuredatastudio.deb


rm azuredatastudio.deb
15 changes: 15 additions & 0 deletions scripts/insomnia.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -eux

echo "\nInstalling Insomnia ...\n"

# Add to sources
curl -1sLf \
'https://packages.konghq.com/public/insomnia/setup.deb.sh' \
| sudo -E distro=ubuntu codename=focal bash

# Refresh repository sources and install Insomnia

sudo apt-get update -y
sudo apt-get install insomnia -y
41 changes: 41 additions & 0 deletions scripts/rider.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash

set -eux

RIDER_VERSION='2023.3.2'
echo "\nInstalling Rider $RIDER_VERSION ...\n"

# download using curl
curl -LO "https://download.jetbrains.com/rider/JetBrains.Rider-$RIDER_VERSION.tar.gz"


# download sha256sum file and verify the checksum
wget "https://download.jetbrains.com/rider/JetBrains.Rider-$RIDER_VERSION.tar.gz.sha256" -O expected_sha256sum.txt
sha256sum JetBrains.Rider-$RIDER_VERSION.tar.gz >> actual_sha256sum.txt
cat actual_sha256sum.txt | sha256sum -c expected_sha256sum.txt

# extract and keep the files in /opt
mkdir JetBrains.Rider-$RIDER_VERSION
tar -zxvf "JetBrains.Rider-$RIDER_VERSION.tar.gz" -C JetBrains.Rider-$RIDER_VERSION --strip-components 1
sudo mv JetBrains.Rider-$RIDER_VERSION /opt

# remove tar and hash files
rm "JetBrains.Rider-$RIDER_VERSION.tar.gz" actual_sha256sum.txt expected_sha256sum.txt

# populate desktop entry
cat > jetbrains-rider.desktop << EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=JetBrains Rider
Icon=/opt/JetBrains.Rider-$RIDER_VERSION/bin/rider.svg
Exec="/opt/JetBrains.Rider-$RIDER_VERSION/bin/rider.sh" %f
Comment=A cross-platform IDE for .NET
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-rider
StartupNotify=true
EOF

# move the desktop entry to appropriate location
mv jetbrains-rider.desktop /usr/share/applications/
8 changes: 8 additions & 0 deletions scripts/run_order.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ geany.sh
pycharm_community.sh
intellij_idea_community.sh
eclipse.sh
rider.sh

# --- Additional support packages ---
openssh_server.sh
Expand All @@ -44,6 +45,13 @@ kubectl.sh
# --- Download manager ---
fdm.sh

# --- Dev tools ---
insomnia.sh

# -- SQL client ---
azuredatastudio.sh


# === Upgrade packages ===

dist_upgrade.sh
Expand Down

0 comments on commit 0dbdf2a

Please sign in to comment.