Skip to content

Instantly share code, notes, and snippets.

View KennethScott's full-sized avatar

Kenneth Scott KennethScott

View GitHub Profile
@KennethScott
KennethScott / README.md
Last active January 13, 2024 19:26
ChatGPT Widescreen

Add as bookmark link:

javascript:(function()%7Bconst%20wideScreenStyle%20%3D%20document.createElement('style')%0A%0AwideScreenStyle.innerText%20%3D%0A'.text-base.mx-auto%20%7B%20max-width%3A%2097%25%20!important%3B%20%7D'%20%2F%2F%20widen%20inner%20container%0A%2B%20'main%20form%20%7B%20max-width%3A%2090%25%20!important%3B%20%7D'%3B%20%20%2F%2F%20wider%20chatbox%20%0A%0Adocument.head.appendChild(wideScreenStyle)%3B%7D)()%3B

ChatGPT Widescreen

name irs_code iso_code
Aruba AA AW
Antigua and Barbuda AC AG
United Arab Emirates AE AE
Afghanistan AF AF
Algeria AG DZ
Azerbaijan AJ AZ
Albania AL AL
Armenia AM AM
@KennethScott
KennethScott / autocorrect.ahk
Last active July 14, 2023 23:35
AutoCorrect
; AutoCorrect
;------------------------------------------------------------------------------
; CHANGELOG:
;
; Sep 13 2007: Added more misspellings.
; Added fix for -ign -> -ing that ignores words like "sign".
; Added word beginnings/endings sections to cover more options.
; Added auto-accents section for words like fiancée, naïve, etc.
; Feb 28 2007: Added other common misspellings based on MS Word AutoCorrect.
var baseUrl = $"{Request.Scheme}://{Request.Host}{Request.PathBase}";
//var baseUrl = "D:\\home\\site\\wwwroot\\wwwroot";
IronPdf.Logging.Logger.EnableDebugging = true;
IronPdf.Logging.Logger.LoggingMode = IronPdf.Logging.Logger.LoggingModes.File;
IronPdf.Logging.Logger.LogFilePath = "IronPdf.txt";
var cookies = Request.Cookies;
Dictionary<string, string> customCookies = cookies.ToDictionary(c => c.Key, c => c.Value);
var newPdf = new HtmlToPdf
@KennethScott
KennethScott / ChannelHelper.js
Last active April 14, 2024 19:26
Channel Management Helper for ChannelsDVR (Bookmarklet version)
/*
This code is intended to be used as a bookmarklet for use with ChannelsDVR. It provides simple functionality to
sort, update, and filter channel lineups.
It is expected that you are on a Manage Lineup popup for a given Channel Source within the Settings page when you
click the bookmarklet.
You may use any bookmarklet maker site you wish that is capable of handling ES6 (or newer) javascript.
There are no external dependencies.
Recommended instructions for creating the bookmarklet using https://caiorss.github.io/bookmarklet-maker/