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 | |
| # Set this to 1 once sudo-rs officially supports the passprompt flag | |
| # https://github.com/trifectatechfoundation/sudo-rs/issues/1267 | |
| DOES_SUDO_RS_HAVE_PASSPROMPT_YET=0 | |
| # Paths | |
| SUDOERS_FIX="/etc/sudoers.d/99-rollback-sudo-rs-nonsense" | |
| PROFILE_FIX="/etc/profile.d/99-rollback-sudo-rs-prompt.sh" |
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'); |
NewerOlder
