<%* // load dataview and statblock APIs const dv = this.app.plugins.plugins["dataview"].api; const bestiary = FantasyStatblocks.getBestiary(); // convert array of creatures to dataview array const creaturesAsDvArray = dv.array(Array.from(bestiary.values())); // replace array objects with creature name property let creaturesArray = creaturesAsDvArray.name; // present array as suggester (esc to cancel) let creature = await tp.system.suggester((name) => name, creaturesArray, true, "", 10);
๐
    
  
    
      This file contains hidden or 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
    
  
  
    
  | // ==UserScript== | |
| // @name Claude Chat TOC Navigator | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2.0 | |
| // @description Table of Contents for Claude chat with on-demand updates to prevent UI slowdown during streaming | |
| // @author rymoio | |
| // @match https://*.anthropic.com/* | |
| // @match https://claude.ai/* | |
| // @icon https://claude.ai/favicon.ico | |
| // @grant none | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // ==UserScript== | |
| // @name Claude Connectors Filter | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0.1 | |
| // @description Filter connectors with configurable username - NetSuite themed | |
| // @author rymoio (https://rymo.io/) | |
| // @match https://claude.ai/settings/connectors* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=claude.ai | |
| // @require https://openuserjs.org/src/libs/sizzle/GM_config.js | |
| // @grant GM_getValue | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/bin/sh | |
| basename=`basename $0` | |
| if [ -z "$*" ]; then | |
| echo "usage: ${basename} <dot> [ -o | -r | <file> | - ]" | |
| echo "" | |
| echo "options:" | |
| echo " -o open dot in window with keyboard focus" | |
| echo " -r read contents of dot" | 
$=dv.span(dv.current())
  
    
      This file contains hidden or 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
    
  
  
    
  | // Credit: https://davidwells.io/snippets/regex-match-markdown-links | |
| /* Match only links that are fully qualified with https */ | |
| var regex = /^\[([\w\s\d]+)\]\((https?:\/\/[\w\d./?=#]+)\)$/; | |
| var string = "[View the analytics docs](https://getanalytics.io/)"; | |
| var myMatch = string.match(regex); | |
| console.log(myMatch); | |
| /* ["[View the analytics docs](https://getanalytics.io/)", "View the analytics docs", "https://getanalytics.io/", index: 0, input: "[View the analytics docs](https://getanalytics.io/)", groups: undefined] */ | 
  
    
      This file contains hidden or 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
    
  
  
    
  | -- Convert calendar date to Oracle fiscal month (MM-MON) | |
| CASE WHEN MOD(TO_NUMBER(TO_CHAR({date_field}, 'MM')), 12) >= 6 THEN TO_CHAR(MOD(TO_NUMBER(TO_CHAR({date_field}, 'MM')), 12) - 5, '09') ELSE TO_CHAR(MOD(TO_NUMBER(TO_CHAR({date_field}, 'MM')), 12) + 7, '09') END || '-' || TO_CHAR({date_field}, 'MON') | |
| -- Convert calendar date to Oracle fiscal quarter (Q#) | |
| CASE WHEN TO_CHAR({date_field}, 'MM') IN ('06', '07', '08') THEN 'Q1' WHEN TO_CHAR({date_field}, 'MM') IN ('09', '10', '11') THEN 'Q2' WHEN TO_CHAR({date_field}, 'MM') IN ('12', '01', '02') THEN 'Q3' WHEN TO_CHAR({date_field}, 'MM') IN ('03', '04', '05') THEN 'Q4' END | |
| -- Convert calendar date to Oracle fiscal year (YYYY) | |
| CASE WHEN TO_NUMBER(TO_CHAR({date_field}, 'MM')) < 6 THEN TO_CHAR(TO_NUMBER(TO_CHAR({date_field}, 'YYYY')) - 1, '9999') ELSE TO_CHAR(TO_NUMBER(TO_CHAR({date_field}, 'YYYY')), '9999') END | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <table align="left" border="0" width="100%"> | |
| <tr> | |
| <td> | |
| <piegraph width="150" height="150" display-key="flat-outer"> | |
| <#assign previous_itemtype = ""> | |
| <#assign item_name = ""> | |
| <#list record.item?sort_by('itemtype') as item> | |
| <#if item.itemtype != previous_itemtype> | |
| <#assign current_itemtype = item.itemtype> | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| *@NApiVersion 2.x | |
| *@NScriptType UserEventScript | |
| */ | |
| // Load two standard modules. | |
| define ( ['N/record', 'N/search', 'N/ui/serverWidget'] , | |
| // Add the callback function. | |
| function(record, search, serverWidget) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | function getData() { | |
| var recordType = "customrecord_sc_request"; | |
| var searchId = "customsearch_rcm_dealtracker_timeline"; | |
| var results = nlapiSearchRecord(recordType, searchId); | |
| var _data = null; | |
| var categories = []; | |
| if (!results || results.length === 0) { return None; } | 
NewerOlder