This instruction is tested on Ubuntu 22.04 LTS
- UDP 4500
- UDP 500
- Custom protocol 50
# PowerShell Script to Remove "Recommended" Section from Windows 11 Start Menu | |
# This script modifies the registry to disable the recommended items in Start menu | |
# Check if running as Administrator (recommended but not required for HKCU changes) | |
$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) | |
if (-not $isAdmin) { | |
Write-Warning "Running without administrator privileges. This should still work for current user settings." | |
} |
dockerin() { | |
pattern=$1 | |
container_id=$(docker ps --format "{{.ID}}\t{{.Image}}" | grep -i "$pattern" | head -n 1 | awk '{print $1}') | |
if [ -z "$container_id" ]; then | |
echo "No running container found with image matching: $pattern" | |
return 1 | |
fi | |
echo "Executing into container: $container_id ($(docker ps --no-trunc --format "{{.Image}}" --filter "id=$container_id"))" |
#!/bin/bash | |
export CI=true | |
export CODEBUILD=true | |
export CODEBUILD_ACCOUNT_ID=$(aws sts get-caller-identity --query 'Account' --output text 2>/dev/null) | |
export CODEBUILD_GIT_BRANCH="$(git symbolic-ref HEAD --short 2>/dev/null)" | |
if [ "$CODEBUILD_GIT_BRANCH" = "" ] ; then | |
CODEBUILD_GIT_BRANCH="$(git branch -a --contains HEAD | sed -n 2p | awk '{ printf $1 }')"; |
First you need to install prop-types package in your repository manually:
npm i --save prop-types
Then copy code to update.php
in your projects root:
<?php
$Directory = new RecursiveDirectoryIterator(__DIR__);
$Iterator = new RecursiveIteratorIterator($Directory);