This script has moved to the asheroto/IsPortActive repository.
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 | |
sudo apt update | |
sudo apt install curl wget git -y | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
sudo usermod -aG docker $(whoami) | |
rm get-docker.sh -f | |
sudo apt install docker-compose -y |
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 | |
find . -type f -exec chmod 644 {} \; | |
find . -type d -exec chmod 755 {} \; | |
chmod 755 wp-content; | |
find wp-content/ -type f -exec chmod 644 {} \; | |
find wp-includes/ -type f -exec chmod 644 {} \; | |
mkdir wp-content/uploads; find wp-content/uploads -type f -exec chmod 755 {} \; | |
chmod 444 wp-config.php; |
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
# Warning | |
Clear-Host | |
Write-Output "Run this script on the computer you want to access via RDP" | |
Write-Output "" | |
# Ask | |
Write-Output "Remote address can be an IP address or network with CIDR" | |
Write-Output "Example: 192.168.0.5 or 192.168.0.0/24" | |
Write-Output "" | |
$RemoteAddress = Read-Host "Remote Address" |
- You must have developer mode enabled
- Go into Settings > System > Developer Options
- Enable "Disable absolute volume"
- Reboot phone
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 | |
:: Confirm running as administrator | |
fltmc >nul 2>&1 || ( | |
echo This batch script requires administrator privileges. Right-click on | |
echo the script and select "Run as Administrator". | |
goto :die | |
) | |
:: Change this path if you are using Community or Professional editions |
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 | |
:: Confirm running as administrator | |
fltmc >nul 2>&1 || ( | |
echo This batch script requires administrator privileges. Right-click on | |
echo the script and select "Run as Administrator". | |
goto :die | |
) | |
:: Your code starts here |
- Open regedit
- Delete the key
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.sln
- Delete the key
HKEY_CLASSES_ROOT\.sln
- Right-click an sln file and click Open With
- Click More Apps, then Look for another app
- Specify the path to VSLauncher:
C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe
Check the subkeys under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Settings
and for each one, set the value of the "value" DWORD to 1 to allow access or 0 to deny access.
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
# Native sound player (wav only) | |
$player = New-Object System.Media.SoundPlayer "$env:windir\Media\notify.wav" | |
$player.Play() |