Skip to content

Instantly share code, notes, and snippets.

View brian-tex's full-sized avatar

Brian brian-tex

View GitHub Profile
import requests
import tempfile
import subprocess
import os
def make_api_call_with_pfx(pfx_path, pfx_password, url):
"""
Makes an API call using a PFX certificate for mutual TLS authentication.
Args:

DIY Plexus Reset: Complete Guide to Meals, Supplements, and Drinks

The Plexus Reset is a 3-day nutritionally supported fast designed to “reset” your metabolism, curb cravings, improve gut health, and kickstart weight loss. The official program provides about 500–600 calories per day with a high protein (~68 g) and high fiber (~17 g) intake to mimic fasting while preserving muscle mass and controlling appetite. However, the Plexus kit can be expensive (around $89 for members, or up to $252 retail for just 3 days). This guide will help you replicate the entire Reset at home in a budget-friendly way. We’ll break down each component – Meals, Drinks, and Supplements – with detailed recipes, ingredient lists, and affordable alternatives. The DIY plan closely follows the Reset schedule and focuses on practical, functional benefits like metabolic boost, improved gut health, and appetite control.

How the 3-Day DIY Reset Works: Each day, you’ll consume a series of small meals and drinks

Enabling Apple CarPlay on a 2016 Honda CR-V EX via Firmware Update

Enabling Apple CarPlay in a 2016 Honda CR-V EX is possible by updating the firmware on the stock infotainment system – no hardware changes are required. In fact, Honda released a software update (initially as a beta) for 2015–2016 CR-V EX/EX-L models that adds Apple CarPlay and Android Auto functionality to the existing stereo. By following the steps below, you can perform this update yourself using a USB flash drive. This guide provides a step-by-step walkthrough, as well as tips to address potential issues (such as GPS antenna interference) and important precautions. The process is straightforward and suitable for someone with basic technical skills, as long as instructions are followed carefully.


Firmware Update Procedure (Step-by-Step)

  1. Obtain the CarPlay Firmware Update File:
  • Confirm Compatibility – This update applies to 2015–2016 Honda CR-V EX or EX-L trims without factory navigation. (Touring mode

Hardening Your Google Tenant: Key Security Metrics & Communication Strategies

Executive Summary:
Effective IT security often looks like “nothing happened,” but in reality that nothing is the result of active protection. To demonstrate the value of hardening your Google Workspace (Google Tenant) against phishing and other threats, track and report on key security metrics. These metrics show how many attacks were thwarted and how resilient your environment is. Communicating these figures in business terms – such as incidents prevented, response times, and cost savings – helps upper management appreciate the invisible work of IT security. By aligning security metrics with business objectives (like uptime, data protection, and financial risk reduction), you turn the absence of breaches into tangible evidence of success.


1. Key IT Security Metrics to Measure Effectiveness

Tracking the right Key Performance Indicators (KPIs) provides quantifiable evidence of your security progra

Reliability of 6-Speed Transmission in 2016 Honda Pilot

Reliability and Performance of the 2016 Honda Pilot’s 6-Speed vs 9-Speed Transmission

Introduction

The 2016 Honda Pilot (third-generation) was offered with two different automatic transmissions: a conventional 6-speed automatic and a new 9-speed automatic. The 6-speed came standard on the LX, EX, and EX-L trims, while the Touring and Elite models were equipped with the 9-speed transmission. Both gearboxes were paired with the same 280-horsepower 3.5L V6 engine, but they differed in design and features. The 9-speed introduced a push-button, shift-by-wire selector in place of the traditional lever and included an engine idle stop/start system (features not found on the 6-speed models)1. This report analyzes how these two transmissions compare in terms of performance and reliability, and whether the 6-speed is generally regarded as the more dependable choice for the 2016 Pilot. Each section below draws on expert reviews, owner reports, and techni

Reliability and Performance of the 2016 Honda Pilot’s 6-Speed vs 9-Speed Transmission

Introduction

The 2016 Honda Pilot (third-generation) was offered with two different automatic transmissions: a conventional 6-speed automatic and a new 9-speed automatic. The 6-speed came standard on the LX, EX, and EX-L trims, while the Touring and Elite models were equipped with the 9-speed transmission. Both gearboxes were paired with the same 280-horsepower 3.5L V6 engine, but they differed in design and features. This report analyzes how these two transmissions compare in terms of performance and reliability, and whether the 6-speed is generally regarded as the more dependable choice for the 2016 Pilot.


Performance Comparison: 6-Speed vs 9-Speed

Introduction

This page lists the steps needed to create a new client secret for an Azure AD App registration. This may be needed to configure a new Azure SSO integration or to replace an expiring client secret for an existing Azure SSO integration.

How to Create an App Registration Client Secret

  1. Sign in to portal.azure.com with your admin_netid credentials.
  2. Navigate to Azure Active Directory > App registrations.
  3. Click on the app you need to replace the client secret for.
  4. Click Certificates & secrets.
  5. Click New client secret.
  6. Give the client secret a description.

Introduction

This page lists the steps for connecting to a Linux server using the Putty application on a Windows computer.

Workflow Prerequisites

  • This workflow requires a Windows computer as PuTTY is a Windows-only application.
  • The Putty application.
  • A private ssh key converted into the .ppk format.

Configure & Save a Putty Session

  1. Open the Putty application.

Introduction

This page helps users install the PuTTY application on their Windows computer.

Workflow Prerequisites

  • This workflow requires a Windows computer as PuTTY is a Windows-only application.

Install Putty

  1. Go to https://www.putty.org/
  2. Click the Download PuTTY button.
  3. Click the 64-bit PuTTY .msi file download link.

Introduction

This page lists the steps to convert an OpenSSL-generated SSH private key into a .ppk formatted file suitable for use with PuTTY. This process enables seamless integration between SSH key formats, allowing users to leverage PuTTY's functionality and compatibility.

Workflow Prerequisites

  • This workflow requires a Windows computer as PuTTY is a Windows-only application.
  • A private ssh key.

Install Putty

  1. Go to https://www.putty.org/
  2. Click the Download PuTTY button.