Sometimes there are legitimate cases that HTTPS pages to access HTTP contents (some hosted dashboards hosted on HTTPS to access local HTTP APIs)
For these cases, You can allow Browser to fetch HTTP contents.
๐
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 | |
| # 1. Create the configuration directory | |
| if [ ! -d "/etc/envoy" ]; then | |
| echo "Creating /etc/envoy directory..." | |
| sudo mkdir -p /etc/envoy | |
| sudo chmod 755 /etc/envoy | |
| fi | |
| # 2. Create system user for Envoy (if it doesn't exist) |
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 "network: {config: disabled}" | sudo tee /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg |
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 sh | |
| set -eu | |
| SOURCE_DIR="$HOME/.codex/agents" | |
| OUTPUT_FILE="AGENTS.md" | |
| # Verify source directory exists | |
| if [ ! -d "$SOURCE_DIR" ]; then | |
| echo "Error: Source directory '$SOURCE_DIR' does not exist." >&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
| #!/bin/bash | |
| # ================= CONFIGURATION ================= | |
| SOURCE_DIR="/mnt/pool_name/dataset_name/iso" | |
| PROXMOX_DIR="${SOURCE_DIR}/template/iso" | |
| # true = Always use "Folder-Filename.iso" | |
| # false = Only use prefix if filenames collide | |
| APPEND_DIRNAME_ALWAYS=false | |
| # ================================================= |
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
| ## South Korea | |
| Server = http://ftp.kaist.ac.kr/ArchLinux/$repo/os/$arch | |
| Server = https://mirror.yuki.net.uk/ArchLinux/$repo/os/$arch |
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
| net.ipv4.conf.all.arp_ignore=1 | |
| net.ipv4.conf.all.arp_announce=2 | |
| net.ipv4.conf.all.rp_filter=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
| @echo off | |
| :: Self-elevate using PowerShell if not running as admin | |
| net session >nul 2>&1 | |
| if %errorlevel% neq 0 ( | |
| powershell -Command "Start-Process '%~f0' -Verb RunAs" | |
| exit /b | |
| ) | |
| :: Create a file (not a directory) at the specified system path | |
| copy /y nul "%SystemRoot%\System32\config\OSDATA" >nul 2>&1 |
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
| try { | |
| require('dotenv').config(); | |
| } catch(e) { | |
| console.error('dotenv not found'); | |
| process.exit(1); | |
| } | |
| const os = require('os'); | |
| const path = require('path'); |
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 | |
| # Base URL for the repository | |
| BASE_URL="https://github.com/polaco1782/linux-static-binaries/raw/refs/heads/master" | |
| # Check if ~/.local/bin is in the PATH environment variable | |
| if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then | |
| echo "Error: ~/.local/bin is not in your PATH. Please add it by running:" | |
| echo "export PATH=\$HOME/.local/bin:\$PATH" | |
| exit 1 |
NewerOlder
