Skip to content

Instantly share code, notes, and snippets.

View hexmode's full-sized avatar
🏠
Working from home

Mark A. Hershberger hexmode

🏠
Working from home
View GitHub Profile
@hexmode
hexmode / output.txt
Created May 19, 2024 17:22
demonstration.sh output
asdf ENV --python --try-first-with Activated Deactivated
3.11.2 3.11.2
~/.asdf/installs/python/3.9.19/bin/python3.9 3.9.19 3.11.2
~/.asdf/installs/python/3.11.9/bin/python3.11 3.11.9 3.11.2
3.9 3.9.2 3.11.2
python3.9 3.9.2 3.11.2
~/.asdf/installs/python/3.9.19/bin/python3.9 3.9.19 3.11.2
3.9 ~/.asdf/installs/python/3.9.19/bin/python3.9 3.9.19 3.11.2
@hexmode
hexmode / demonstration.sh
Created May 19, 2024 17:16
Test venv with different pythons in the path
#!/bin/bash -e
VENV_DIR=envdir
setup() {
local asdf=$1
local env=$2
local python=$3
local first=$4
502579498@NSK1502579498A MINGW64 ~
$ /usr/bin/core_perl/cpan install MediaWiki::API
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes]
Use of uninitialized value $what in concatenation (.) or string at /usr/share/perl5/core_perl/App/Cpan.pm line 633, <STDIN> line 1.
<?php
/**
* Copyright (c) 2015 Mark A. Hershberger
*
* This file is part of the PluggableSSO MediaWiki extension
*
* PlugggableSSO is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
variable "region" {default = "us-west-1"}
variable "cidr" {default = "10.0.0.0/24"}
variable "debian-jessie" {default = "ami-0343ae47"}
variable "ssh-key" {default = "id_rsa"}
variable "access_key" {}
variable "secret_key" {}
provider "aws" {
access_key = "${var.access_key}"
secret_key = "${var.secret_key}"
provider "aws" {
access_key = ""
secret_key = ""
region = "us-east-1"
}
resource "aws_vpc" "main" {
cidr_block = "10.0.1.0/24"
}
From: "Mark A. Hershberger" <mah@nichework.com>
To: support@github.com
Subject: diff on github.com doesn't match "git diff"
Organization: NicheWork LLC
For the repository at https://github.com/hexmode/mediawiki-el, my
current checkout shows:
$ git log --oneline -3
47875f7 Bump to 2.2.6
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: Main_Page
HTML1300: Navigation occurred.
File: Main_Page
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
File: Main_Page
SCRIPT5007: Unable to get property 'type' of undefined or null reference
File: load.php, Line: 237, Column: 869
Use of "$j" is deprecated. Use $ or jQuery instead.
console.trace()
<span class="TextRun SCX167197419" style="line-height: 19px; font-family: Calibri,Sans-Serif; font-size: 11pt;" xml:lang="EN-US"><span class="NormalTextRun SCX167197419" style="background-color: inherit;">plain </span></span><span class="TextRun SCX167197419" style="line-height: 19px; font-family: Calibri,Sans-Serif; font-size: 11pt; font-weight: bold;" xml:lang="EN-US"><span class="NormalTextRun SCX167197419" style="background-color: inherit;">bold</span></span>
<font face="Times New Roman">
</font><p style="margin: 0in 0in 8pt;"><font face="Calibri">Plain <b style="mso-bidi-font-weight: normal;">bold</b></font></p><font face="Times New Roman">
</font>