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
| Install-Module TabExpansionPlusPlus | |
| gcm -Module TabExpansionPlusPlus | |
| man TabExpansionPlusPlus -ShowWindow |
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
| Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
| Enable-RemoteDesktop | |
| cinst git-credential-winstore | |
| cinst console-devel | |
| cinst poshgit | |
| cinst dotpeek | |
| cinst irfanview | |
| cinst fiddler4 | |
| cinst windirstat |
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
| NAME=$(basename $0) | |
| DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| echo -e "NAME: ${NAME}\nDIR: ${DIR}\n" |
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
| # | |
| Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
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
| cd /repo/dir | |
| git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA' --prune-empty --tag-name-filter cat -- --all |
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
| <# | |
| ОЧИСТКА АТРИБУТА "msNPAllowDialin" У ПОЛЬЗОВАТЕЛЕЙ ДОМЕНА | |
| #> | |
| Function Clear-DialinAttrubuteFromADUsers ($Name) { | |
| <# | |
| .SYNOPSIS | |
| Clear 'msNPAllowDialin' attribute from Users in Active Directory. | |
| .PARAMETER Name |
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
| # define folders being used | |
| $tmpdir = "c:\tmp_pdf" | |
| $inputdir = "c:\in_pdf" | |
| $signeddir = "c:\signed_pdf" | |
| $outdir = "c:\out_pdf" | |
| $x = "C:\sign_policy_cades_cleanCopy.bat" | |
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
| # block by user-agent that contain 'WordPress' | |
| iptables -A INPUT -p tcp --dport 80 -m string --string 'WordPress' --algo kmp -j DROP |
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
| version: '2' | |
| services: | |
| db: | |
| container_name: shop-db | |
| image: mysql:5.5 | |
| restart: always | |
| ports: | |
| - 13306:3306/tcp | |
| environment: |