Skip to content

Instantly share code, notes, and snippets.

View danwashusen's full-sized avatar

Dan Washusen danwashusen

  • Sixty Digits Pty Ltd
  • Melbourne, Australia
View GitHub Profile
@danwashusen
danwashusen / chatgpt-ultrawide.js
Last active April 30, 2023 00:10
A very simple tampermonkey script to make ChatGPT more UltraWide monitor friendly.
// ==UserScript==
// @name ChatGPT Ultrawide
// @namespace https://github.com/danwashusen/tampermonkey/chatgpt-ultrawide
// @version 0.1
// @description Aims to make ChatGPT more UltraWide friendly.
// @author Dan W
// @match https://chat.openai.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @grant none
// ==/UserScript==
@danwashusen
danwashusen / iam_opensearch_request.py
Created September 1, 2022 04:22
A very simple Ansible module to send IAM v4 signed requests to an OpenSearch domain
#!/usr/bin/python3
# NOTE: must be in the ./library directory
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
from ansible.module_utils.basic import AnsibleModule
from requests_aws4auth import AWS4Auth