This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
installCursor() { | |
if ! [ -f /opt/cursor/cursor.appimage ]; then | |
echo "Installing Cursor AI IDE..." | |
# Check for sudo privileges | |
if [ "$(id -u)" -ne 0 ]; then | |
echo "This script needs sudo privileges to install Cursor AI." | |
echo "Please run with: sudo $0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# see https://forum.obsidian.md/t/gnome-desktop-installer/499 | |
set -euo pipefail | |
echo "[INFO] $(date +'%Y-%m-%d %H:%M:%S') - Starting Obsidian installation process..." | |
# Obsidian icon URL (SVG) | |
icon_url="https://obsidian.md/images/obsidian-logo-gradient.svg" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 input_file output_file" | |
exit 1 | |
fi | |
input_file="$1" | |
output_file="$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"semi": true, | |
"tabWidth": 2, | |
"useTabs": false, | |
"printWidth": 120, | |
"singleQuote": false, | |
"bracketSpacing": true, | |
"jsxSingleQuote": true, | |
"arrowParens": "always", | |
"trailingComma": "none", |