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 | |
| echo "Tearing down workspace ..." | |
| if [ -f /tmp/workspace-activated ]; then | |
| rm /tmp/workspace-activated | |
| dirs=(CLionProjects | |
| IdeaProjects | |
| PhpstormProjects | |
| PycharmProjects | |
| RiderProjects |
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 | |
| echo "Setting up workspace ..." | |
| dirs=( | |
| ibus-table | |
| tracker3 | |
| gtk-3.0 | |
| ibus | |
| JNA |
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
| # /etc/systemd/system/workspace-setup.service | |
| [Unit] | |
| Description=Workspace Setup Script | |
| After=local-fs.target | |
| [Service] | |
| ExecStart=/opt/scripts/workspace-setup.sh | |
| #ExecStartPost=/bin/systemctl start another-service.service # Opcional, se precisar iniciar outro serviço após o script | |
| Restart=on-failure |
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
| # /etc/fstab: static file system information. | |
| # | |
| # Use 'blkid' to print the universally unique identifier for a | |
| # device; this may be used with UUID= as a more robust way to name devices | |
| # that works even if disks are added and removed. See fstab(5). | |
| # | |
| # <file system> <mount point> <type> <options> <dump> <pass> | |
| # / was on /dev/sda2 during curtin installation | |
| /dev/disk/by-uuid/e2fed0c4-c618-4d5c-ba20-09d3ec40f2c6 / ext4 defaults 0 1 | |
| /swap.img none swap sw 0 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 | |
| REPO_URL="https://github.com/lopesivan/cmake-templates.git" | |
| REPO_NAME="cmake-templates" | |
| # Lista de branches com emojis descritivos | |
| BRANCHES=( | |
| "main" "-> 🌐 Branch principal" | |
| "cpp-with-tests" "🖥️ Projeto C++ moderno com CMake,via Google Test." | |
| ) |
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 | |
| REPO_URL="https://github.com/lopesivan/autotools-templates.git" | |
| REPO_NAME="autotools-templates" | |
| # Lista de branches com emojis descritivos | |
| BRANCHES=( | |
| # ── C ANSI ──────────────────────────────────────────────────────────────── | |
| "cansi" "💻 C ANSI básico" | |
| "cansi-mono" "🎯 C ANSI arquivo único" |
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 | |
| # | |
| # anm - Android NDK Manager | |
| # | |
| set -euo pipefail | |
| readonly SDK="${ANDROID_SDK_ROOT:-$HOME/Android/Sdk}" | |
| readonly NDK_DIR="$SDK/ndk" | |
| readonly DEFAULT_BASE_URL="http://192.168.2.43:8899/ndk" |
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 | |
| # | |
| # android-platform-manager.sh - Manage Android SDK platform configurations | |
| # Description: Switch between platform configurations using symlinks | |
| # Supports profiles, multiple platforms, and interactive mode | |
| # | |
| set -e | |
| # ============================================================================ |
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 python3 | |
| """ | |
| Gerenciador de Histórico do Bash com SQLite | |
| Armazena comandos únicos sem limite de 1000 linhas | |
| """ | |
| from __future__ import annotations | |
| import argparse | |
| import re |
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
| # Configuração do repositório | |
| REPO = hw | |
| REMOTE_REPO = https://github.com/lopesivan/$(REPO) | |
| LOCAL_REPO = $(REPO) | |
| REVISION = beta-1.0.1 | |
| BRANCH = main | |
| # Cores para output | |
| BOLD := $(shell tput bold) | |
| RESET := $(shell tput sgr0) |
NewerOlder