Skip to content

Instantly share code, notes, and snippets.

View projectoperations's full-sized avatar
💭
building learning and connections

projectoperations projectoperations

💭
building learning and connections
View GitHub Profile
@Stono
Stono / create-docker-tls.sh
Last active February 4, 2026 02:30
Creating and setting up Docker for TLS
#!/bin/bash
# This script will help you setup Docker for TLS authentication.
# Run it passing in the arguement for the FQDN of your docker server
#
# For example:
# ./create-docker-tls.sh myhost.docker.com
#
# The script will also create a profile.d (if it exists) entry
# which configures your docker client to use TLS
#
@kiriwalawren
kiriwalawren / README.md
Last active August 22, 2024 19:50
WSL Configuration

Installing WSL (windows subsystem for linux)

Running the azure-team terraform make file to create your infrastructure may not work on a Windows machine. If you cannot get it to run, install a linux distribution where you will exectute the tf files. Setting up a distribution with all of the right dependencies does involve a bit of setup to get it configured properly. The following is a list of steps you'll need to complete:

Install WSL

@adojos
adojos / apache_multiPort_multiHost_httpd-ssl.conf.md
Last active August 11, 2024 19:36
XAMPP | Apache: Config for 'httpd-ssl.conf' Implementing multi-ports and multi-virtualHosts [Part 2 of 4]

[Part 2 of 4] Apache Multi-Port & Multi-Host 'httpd-ssl.conf' Config


In order to have a multi-port configuration for different virtual hosts (projects, websites) on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf)

2. httpd-ssl.conf (\XAMPP\apache\conf\extra)

@projectoperations
projectoperations / cloud-init.yaml
Created April 19, 2023 20:38 — forked from pmbaumgartner/cloud-init.yaml
Multipass & Docker Setup
#cloud-config
package_upgrade: true
ssh_authorized_keys:
- <your key>
packages:
- apt-transport-https
- ca-certificates
- curl
@projectoperations
projectoperations / Install-WSLAndUbuntu.ps1
Last active August 19, 2023 12:46 — forked from ScriptAutomate/Install-WSLAndUbuntu.ps1
Enable WSL and Install Ubuntu 22.04 (or 20.04)
<#
- BIOS of host machine also needs to be configured to allow hardware virtualization
- Windows 10 Pro or otherwise is needed; Windows 10 Home Edition CANNOT get WSL
- This gist WSLv2, but can use WSLv1 instead. I needed v1 as I run Windows 10 in a VM in Virtualbox.
- WSLv2 has been giving me problems in Virtualbox 6.1, but WSLv1 works properly.
- vbox has issues with the GUI settings when it comes to nested virtualization on certain systems,
so run the following if needing to give a VM this enabled setting:
VBoxManage modifyvm <vm-name> --nested-hw-virt on
#>
@projectoperations
projectoperations / config
Last active February 27, 2024 19:45 — forked from pksunkara/config
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = IGE Clouds Developer
email = [email protected]
username = @igewebs
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
@OlsenSM91
OlsenSM91 / Instructions.md
Last active May 5, 2025 18:10
How to Configure Ubuntu 22.04.03 LTS as a PXE Server

Setup and Configuration of an Ubuntu 22.04.3 LTS PXE Server

Utilizing dnsmasq and netbootxyz docker container to become a PXE server to deploy various images over a local network. This setup will configure a TFTP server, a DHCP server, a DNS server and iPXE firmware boot files to utilize PXE booting for known or custom boot image resources

Install Dependancies

I'm going to assume that you already have a fresh copy of Ubuntu Server 22.04.3 LTS with no current packages installed other than SSH

SSH into server

ssh [email protected]
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active April 11, 2026 15:20
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@projectoperations
projectoperations / settings.json
Last active March 7, 2024 05:41 — forked from hl2guide/settings.json
example settings.json
{
"workbench.editor.showIcons": true,
"workbench.startupEditor": "none",
"editor.fontSize": 12,
"editor.minimap.enabled": false,
"editor.mouseWheelZoom": true,
"editor.tabSize": 4,
"editor.renderWhitespace": "all",
"editor.insertSpaces": true,
"editor.rulers": [
@projectoperations
projectoperations / localhost-https.md
Created October 21, 2023 01:53 — forked from kus/localhost-https.md
Local HTTPS server, generate SSL certificate

Chrome has decided that what they deem powerful web platform features such as Geolocation, Device motion / orientation, getUserMedia etc can no longer run on "Insecure Origins", HTTP (non-HTTPS) being one of them. Read more

So if you want to use these features in development and you are testing on a mobile via the IP of your computer, you now need to be serving the content over HTTPS for it to work.

Generate local SSL certificate

First check if you need to install openssl with which openssl. If nothing comes up run brew install openssl to install openssl with Brew.

openssl genrsa -des3 -passout pass:x -out localhost.pass.key 2048
openssl rsa -passin pass:x -in localhost.pass.key -out localhost.key