Skip to content

Instantly share code, notes, and snippets.

@bl-ue
bl-ue / README.md
Created April 11, 2022 23:59 — forked from betrcode/README.md
Using Python to check if remote port is open and accessible.
@bl-ue
bl-ue / README.md
Created April 10, 2022 01:45
Build a custom Windows AMI on AWS using Packer

Windows AWS Packer example

An example of building a Windows Server 2019 AMI on AWS with Packer. The AMI will include Firefox, Putty, VSCode and extensions.

This is heavily based on the AWS Windows examples from https://www.packer.io/docs/builders/amazon/ebs

  1. Configure your environment with some AWS credentials
  2. Run packer build custom-windows.pkr.hcl
@bl-ue
bl-ue / ANSI.md
Created August 14, 2021 16:13 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1b
  • Decimal: 27
@bl-ue
bl-ue / Visual Studio solution file headers
Last active June 20, 2021 19:36 — forked from GHosaPhat/Visual Studio solution file headers
Visual Studio solution file headers - 2002 through 2022
*********************************************************************************************
** Below is the header text written in the .sln files produced by Microsoft Visual Studio. **
** By default, each header is preceeded by a Windows new line character (CRLF) in the .sln **
** file. I've identified the specific Visual Studio version used to create each header in **
** place of this blank line and indicated each as such [[ VS<VERSION> (PLATFORM TOOLSET) ]]**
*********************************************************************************************
** DO NOT INCLUDE ANYTHING FROM THIS LINE IN YOUR .SLN FILE. REPLACE THIS WITH A NEW LINE **
** CHARACTER (CRLF) OR JUST DELETE IT ENTIRELY. OTHERWISE VISUAL STUDIO WILL NOT BE ABLE **
** TO READ THE .SLN FILE TO OPEN THE SOLUTION. **
*********************************************************************************************