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 | |
| # Script Name: laravel_apache_setup.sh | |
| # Purpose: Configures file permissions and symbolic links for Laravel applications running under Apache on Ubuntu. | |
| # | |
| # Usage: | |
| # This script must be executed with root privileges to ensure it can correctly set permissions and ownership | |
| # across necessary directories and manage symbolic links. It is intended for use on an Ubuntu server configured with Apache. | |
| # | |
| # Set the APP_PATH environment variable to the root directory of your Laravel application before running the script: |
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 | |
| ########################################################## | |
| # System Backup Script | |
| # | |
| # This script performs a backup of essential system files | |
| # including /srv, /home, and /etc directories using rsync. | |
| # The backups are stored in the specified directory. | |
| # Progress of the backup is displayed during execution. | |
| # |
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
| /** | |
| * forms.css | |
| * | |
| * This CSS file provides modern styling for various form elements (input) ,including inputs with icons | |
| * and plain inputs. It uses CSS variables for scalability. | |
| * | |
| * CSS Classes: | |
| * | |
| * :root: Color and typography variables for easy customization | |
| * |
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
| <!--"""--> | |
| <!--This HTML document demonstrates the styling of input forms using CSS. It includes a variety of input types and styles,--> | |
| <!--along with SVG icons for enhanced visual elements. The form showcases different states such as normal, disabled, and error.--> | |
| <!--CSS Styling:--> | |
| <!-- - External stylesheets for typography and form are linked.--> | |
| <!-- - Internal styling is used for setting the width, margin, and border of the form.--> | |
| <!--Form Elements:--> | |
| <!--1. Basic Input:--> | |
| <!-- - Simple text input.--> | |
| <!-- - Disabled input.--> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" type="text/css" href="../typography.css"> | |
| <link rel="stylesheet" type="text/css" href="../form.css"> | |
| <style> | |
| form{ | |
| width: 400px; | |
| margin:20px auto; |
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
| /** | |
| * EmptyState Component Layout System | |
| * | |
| * This CSS document defines a layout system for the EmptyState component, | |
| * including the anatomy elements such as illustration, main text, supporting text, | |
| * primary button, secondary link, border, and variations. The system provides | |
| * a modular approach for consistent styling and customization of EmptyState components. | |
| * | |
| * EmptyState Anatomy Elements: | |
| * - Illustration, Main Text, Supporting Text, Primary Button, Secondary Link, Border |
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
| /** | |
| * CSS Reset | |
| * | |
| * This CSS reset normalizes default styling across HTML elements for improved consistency. | |
| * It includes adjustments for box sizing, font size, margins, padding, font weight, and list styles. | |
| * Additionally, it ensures responsive behavior for images. | |
| * Feel free to customize or extend based on specific project requirements. | |
| * | |
| * Reset includes: | |
| * - Box sizing normalization |
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
| /** | |
| * Typography Styles | |
| * | |
| * This CSS document defines a consistent and modular typography system | |
| * using Google Fonts for the 'Outfit' font family. It includes variables | |
| * for font family, font weights, and specific styles for various text elements. | |
| * Each style is defined with associated font sizes, line heights, font weights, | |
| * and font families where applicable. | |
| * | |
| * Typography Variables: |
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
| """ | |
| This script uses Scapy to perform an ARP scan on the specified IP range | |
| and retrieves a list of devices connected to the network. | |
| Make sure to replace "your_network_ip_range" with the actual IP range of your network, e.g., "192.168.1.1/24". | |
| Requirements: | |
| - Scapy library (install with: pip install scapy) | |
| """ |
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 | |
| : ' | |
| This script performs a clean installation and basic setup of the SSH service on a Debian system. | |
| Usage: | |
| 1. Save this script in a file (e.g., ssh_setup.sh). | |
| 2. Make it executable (chmod +x ssh_setup.sh). | |
| 3. Run the script with ./ssh_setup.sh. |