This file contains 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
diff --git a/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go b/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go | |
index c9b25c383..b998b0a86 100644 | |
--- a/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go | |
+++ b/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go | |
@@ -268,7 +268,7 @@ func (a *NetHttpRequestAdapter) getRequestFromRequestInformation(ctx context.Con | |
spanForAttributes.SetAttributes(attribute.String("http.uri", uri.String())) | |
} | |
- request, err := nethttp.NewRequestWithContext(ctx, requestInfo.Method.String(), uri.String(), nil) | |
+ request, err := nethttp.NewRequestWithContext(ctx, requestInfo.Method.String(), uri.String()+"?whatin", nil) |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Retrieve saved recipe collections from AllRecipes.com. | |
# | |
# As of 2022, AllRecipes.com has become almost unusably slow and | |
# has dropped the capability to search among saved recipes. This | |
# script allows me to cache collections of recipe links offline. | |
# | |
# To avoid interactive prompts, either set environment variables | |
# ALLRECIPES_USERNAME and ALLRECIPES_PASSWORD or add credentials |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Convert "mame -listxml" output to JSON. | |
# | |
# MAME's XML output is huge, so this dumps each complete | |
# <machine> element to keep memory usage bounded. | |
# | |
# Output can be piped to 'jq' to query machines. | |
# | |
# e.g. Select coin-op machines with trackball controls: |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Clip all available digital coupons for an Acme Fresh Market account. | |
# | |
# To avoid interactive prompts, either set environment variables | |
# ACME_STORES_USERNAME and ACME_STORES_PASSWORD or add credentials | |
# to you ~/.netrc file: | |
# | |
# machine acmestores.com | |
# login <ACME_STORES_USERNAME> |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Clip all available digital coupons for a Giant Eagle account. | |
# | |
# To avoid interactive prompts, either set environment variables | |
# GIANT_EAGLE_USERNAME and GIANT_EAGLE_PASSWORD or add credentials | |
# to your ~/.netrc file: | |
# | |
# machine gianteagle.com | |
# login <GIANT_EAGLE_USERNAME> |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Clip all available digital coupons for Marc's grocery chain. | |
# | |
# This system does not use passwords, only your phone number! | |
# | |
import html.parser | |
import http | |
import json |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Unpack files in a CoreOS ignition config file. | |
# | |
# This is a quick hack just to help examine file contents. | |
# Ignores file ownership and permission attributes in the ignition config. | |
# | |
# e.g. $ ./unpack-ignitionconfig-files.py bootstrap.ign | |
# creates ./bootstrap.ign.d directory tree with files decoded. |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Downloads a pipeline run from Azure DevOps (ADO). | |
# | |
# Requirements: | |
# 1. pip install azure-devops | |
# 2. Obtain a personal access token with sufficient read permissions from | |
# ADO and set the environment variable AZURE_DEVOPS_PERSONAL_ACCESS_TOKEN. | |
# |
This file contains 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
#!/usr/bin/python3 | |
# | |
# Clip all available digital coupons for a BJ's membership. | |
# | |
# To avoid interactive prompts, either set environment variables | |
# BJS_MEMBER_EMAIL and BJS_MEMBER_PASSWORD or add credentials to | |
# to your ~/.netrc file: | |
# | |
# machine bjs.com | |
# login <BJS_MEMBER_EMAIL> |