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
| In computing, a shebang is the character sequence #!, consisting of the characters number sign and exclamation mark, | |
| at the beginning of a script. It is also called sharp-exclamation, sha-bang, hashbang, pound-bang, or hash-pling. |
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
| ######################################## | |
| # | |
| # BeginSystemConfig.ps1 | |
| # iex ((New-Object System.Net.WebClient).DownloadString('https://bit.ly/2R7znLX')); | |
| # | |
| # Author: roysubs@hotmail.com | |
| # | |
| # 2019-11-25 Initial setup | |
| # 2020-10-19 Latest Version | |
| # |
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
| function Search-FileIndex { | |
| <# | |
| .PARAMETER Path | |
| Absoloute or relative path. Has to be in the Search Index for results to be presented. | |
| .PARAMETER Pattern | |
| File name or pattern to search for. Defaults to no values. Aliased to Filter to ergonomically match Get-ChildItem. | |
| .PARAMETER Text | |
| Free text to search for in the files defined by the pattern. | |
| .PARAMETER Recurse | |
| Add the parameter to perform a recursive search. Default is 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
| sudo apt update && sudo apt -y upgrade | |
| sudo apt-get purge xrdp | |
| # install xfce | |
| sudo apt-get install -y xfce4 xfce4-goodies | |
| # install xrdp | |
| sudo apt-get install xrdp | |
| sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak | |
| sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini | |
| sudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.ini | |
| sudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.ini |
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
| #persistent | |
| current_scale := 100 ; scale value you are currently in | |
| next_scale := 125 ; scale value you want to switch to next | |
| is_scaled := 0 | |
| return | |
| ; Ctrl + Win + F1 toggles main monitor between 2 scale values | |
| ^#F1:: |
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
| function Add-WindowsDefenderExclusionsPolicy | |
| { | |
| $ErrorActionPreference="Stop" | |
| Set-StrictMode -Version Latest | |
| #Get Hyper-V Settings | |
| $vmHost = Get-VMHost | |
| #Default Exclusion Entries | |
| $excludes = @{ |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Welcome file</title> | |
| <link rel="stylesheet" href="https://stackedit.io/style.css" /> | |
| </head> |
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
| I'm a full stack software engineer and especially keen to leverage open source platforms, tools, solutions, components and libraries to speed up development time. When starting a new project, whether from scratch or from existing code, the first thing I look for is any available repositories that save me time. To that end, here are the general requirements I look for and want qualified results: | |
| Ideal solutions or constituent components must comply with the following: | |
| Open source, Apache Licensed, or similarly unencumbered | |
| Self-hosted if web-based | |
| Ideally, the component would be the most popular in its class with the most active community of any choices | |
| Nice features would include: | |
| javascript | |
| typescript |
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
| Ideal solutions, or constituant componets must comply with the following: Open source, Apache Licensed or similarly unencumbered, self hosted if web based. Ideally, the component would be the most popular in it's class with the most active community of any choices. Nice features would include javascript,typescript,sql,no-sql,graphql,dotnet,wasm or other similarly well supported languages and technologies. Specific things to avoid: any license encumbered code, avoid PHP and iOS libraries if possible, and exclude C++, Perl, or Java. Do not include any relatively new or niche languages unless no other options 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
| $user = $env:USERPROFILE | |
| #Excluded processes | |
| # | |
| # visual studio & tools | |
| Add-MpPreference -ExclusionProcess "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe" | |
| # VS 2017 Enterprise exclusion | |
| Add-MpPreference -ExclusionProcess "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe" | |
| # VS 2015 Enterprise exclusion | |
| Add-MpPreference -ExclusionProcess "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" |
NewerOlder