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
| # This file routes requests for app1.example.com, app2.example.com, and app3.example.com | |
| # to their corresponding backend services. | |
| # | |
| # Each application has two components: | |
| # 1. A web server for the user interface (e.g., a Node.js/Express app serving HTML/CSS/JS). | |
| # 2. A REST API server for data operations. | |
| # Defines settings for HTTP traffic. | |
| http { |
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
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| server { | |
| listen 80; | |
| server_name localhost; | |
| # Redirect all HTTP requests to HTTPS | |
| return 301 https://$host$request_uri; |
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 | |
| # This script generates a self-signed SSL certificate if one doesn't already exist. | |
| CERT_DIR="./certs" | |
| CERT_KEY_FILE="$CERT_DIR/localhost.key" | |
| CERT_PUBLIC_FILE="$CERT_DIR/localhost.crt" | |
| CERT_DOMAIN="localhost" | |
| CERT_STATE="Spira" | |
| CERT_LOCALITY="Besaid" |
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
| wget -O windev.zip https://aka.ms/windev_VM_virtualbox |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am onequbit on github. | |
| * I am onequbit (https://keybase.io/onequbit) on keybase. | |
| * I have a public key whose fingerprint is 85CC 1C53 6396 DF96 108D 44BB B612 5B8C F1F3 2493 | |
| To claim this, I am signing this object: |
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
| "$env:appdata\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" |
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
| <PropertyGroup> | |
| <MSBuildExtensionsPath>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild</MSBuildExtensionsPath> | |
| </PropertyGroup> |
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
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] | |
| "AllowCortana"=dword:00000001 |
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
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] | |
| "AllowCortana"=dword:00000000 |
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
| $expected = "module.exports = require('./discord_modules.node');" | |
| function showmessage($message) | |
| { | |
| $console = $host.Name -eq "ConsoleHost" | |
| if ($console) | |
| { | |
| "$message" | |
| Write-Host "Press any key to continue..." | |
| $ignore = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") |
NewerOlder