I hereby claim:
- I am jarvisprestidge on github.
- I am jarvisprestidge (https://keybase.io/jarvisprestidge) on keybase.
- I have a public key ASBy08Nael89D43JraJ00QAugBDyKufvCZIFbwAT6Gr-lwo
To claim this, I am signing this object:
| ; Recreating the league of legends script I made a couple of years back | |
| ; Jarvis Prestidge: Simple script to help turn space into a modifier and send | |
| ; "ss" to chat & missing ping when <`> is pressed, while in League of Legends. | |
| #IfWinActive ahk_class RiotWindowClass | |
| ; Turns space into the left ctrl modifier | |
| ~Space::Ctrl |
| ; Original all bells and whistles League of Legends helper and macro script | |
| ; Author: Jarvis Prestidge | |
| ; Description: Script to add function key macros to display in game chat | |
| ; pictures and banners. Hotkey to turn space into a Ctrl modifier and | |
| ; sending "ss" to chat & missing ping when <`> is pressed. | |
| #NoEnv | |
| #Warn | |
| #InstallKeybdHook |
| #CommentFlag // | |
| #InstallKeybdHook | |
| // Author: Jarvis Prestidge | |
| // Description: Simulates my preferred keyboard layout, similiar to that of the Pok3r 60% keyboard | |
| // on any keyboard without programmable keys. i.e. my laptop ^^ | |
| // <COMPILER: v1.1.22.00> | |
| #CommentFlag // | |
| #InstallKeybdHook | |
| // Author: Jarvis Prestidge | |
| // Description: Simulates my preferred keyboard layout, similiar to that of the Pok3r 60% keyboard | |
| // on any keyboard without programmable keys. i.e. my laptop ^^ | |
| // <COMPILER: v1.1.22.00> | |
| ; <COMPILER: v1.1.24.03> | |
| #Persistent | |
| #NoTrayIcon | |
| global _HWND := "" | |
| OnExit("Quit") | |
| #IfWinActive ahk_exe WhatsApp.exe | |
| Esc:: |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 14, | |
| // font family with optional fallbacks |
I hereby claim:
To claim this, I am signing this object:
| // Returns the href of the account with the given account title | |
| const accountLink = await browser.evaluate((displayName: string) => { | |
| const accountTitleSelector = "a[id*='lnkAccName_des-m-sat-xx-']"; | |
| const titles = [...document.querySelectorAll(accountTitleSelector)] as HTMLAnchorElement[]; | |
| const title = titles.filter((ele) => ele.textContent.toLowerCase().includes(displayName.toLowerCase()))[0]; | |
| return title ? title.getAttribute("href") : null; | |
| }, account.displayName) as string; | |
| // Get account href from camel-cased display name | |
| if (!accountLink) { |
| /** | |
| * Responsible for collecting credit card specific account information | |
| * | |
| * @param {Browser} browser | |
| * @param {ILogger} logger | |
| * @param {string} selector | |
| */ | |
| const getCreditCardAccountInfo = async (browser: Browser, logger: ILogger, selector: string) => { | |
| // Navigate to statements page |
| // Get api dependencies - referer uri & cookies | |
| const referer = await browser.getUrl(); | |
| const cookies = await (await browser.getCookies()).get(); | |
| const cookie = cookies.map((c: ICookie) => c.name + "=" + c.value).join("; "); | |
| // Identifier for api call | |
| const ajaxIdentifier = await browser.getAttribute(rootAccountSelector, "data-ajax-identifier"); | |
| // Fetch account info from accounts api |