ROOT_DIRECTORY: "BLANK" (e.g., "/" or "_site/")
OTHER_FILE_TYPES: "BLANK" (e.g., ".txt, .rtf, .bibtex")
You are an AI assistant tasked with creating a llms.txt file for an academic researcher's website.
Objective:
| // WORKS AS OF 6/18/2025; Maciej Kos | |
| // == Enhanced Chat Exporter == | |
| // | |
| // Purpose: | |
| // This script is designed to be run in the browser's Developer Tools console on a chat page. | |
| // Its primary goal is to export the entire chat history, including both user messages and | |
| // bot responses, into a formatted text block that can be easily copied to the clipboard. | |
| // | |
| // Features: |
| // Running this bookmarklet on a Gradescope grading page adds a copy icon next to the contents of each attached file. | |
| // Clicking the icon copies the file contents to the clipboard. | |
| // Use case: I grade many coding assignments submitted by students to Gradescope. This bookmarklet saves me a few seconds per submission. | |
| javascript:(function(){function copyToClipboard(text){const textarea=document.createElement('textarea');textarea.value=text;document.body.appendChild(textarea);textarea.select();document.execCommand('copy');document.body.removeChild(textarea);}const fileViewers=document.querySelectorAll('.fileViewer');fileViewers.forEach((fileViewer)=>{const copyIcon=document.createElement('i');copyIcon.className='fa fa-copy';copyIcon.style.cursor='pointer';copyIcon.style.marginLeft='10px';const fileViewerHeader=fileViewer.querySelector('.fileViewerHeader');fileViewerHeader.appendChild(copyIcon);const fileContents=fileViewer.querySelector('.hljs').textContent;copyIcon.addEventListener('click',()=>{copyToClipb |
| conversion.js:61 Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened. | |
| (anonymous) @ conversion.js:61 | |
| cloudusersettings-pa.clients6.google.com/v1alpha1/settings/CONSOLE_NAV_HIDE_PRODUCTS?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g:1 Failed to load resource: the server responded with a status of 404 () | |
| DevTools failed to load SourceMap: Could not parse content for https://console.cloud.google.com/shell.css.map: Unexpected token < in JSON at position 0 | |
| DevTools failed to load SourceMap: Could not parse content for https://console.cloud.google.com/content_viewport.css.map: Unexpected token < in JSON at position 0 | |
| DevTools failed to load SourceMap: Could not parse content for https://console.cloud.google.com/help_panel_wrapper.css.map: Unexpected token < in JSON at position 0 | |
| DevTools failed to load SourceMap: Could not parse content for https://console.cloud.google.com/page_overlay.css.map: Unexpected toke |
| # Get those items in produce_big that are not in produce_small. | |
| -- Inputs: | |
| ---- items in produce_big: kale, orange, cabbage, apple | |
| ---- items in produce_small: kale | |
| -- Output: | |
| ---- orange, cabbage, apple | |
| ## There are two ways of doing this. | |
| ## Use the first methods, if you have repeated rows in produce_small, e.g., kale, kale, and it is important to account for them. | |
| ## Use the second method, if you a) don't have repeated rows in produce_small or b) you have repeated rows in produce_small, but really only care about distinct from that table. |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # extract_backbone.py | |
| # Jim Bagrow | |
| # Last Modified: 2010-11-18 | |
| import sys, os | |
| import networkx as nx | |
| def draw_graph3(networkx_graph,notebook=True,output_filename='graph.html',show_buttons=True,only_physics_buttons=False, | |
| height=None,width=None,bgcolor=None,font_color=None,pyvis_options=None): | |
| """ | |
| This function accepts a networkx graph object, | |
| converts it to a pyvis network object preserving its node and edge attributes, | |
| and both returns and saves a dynamic network visualization. | |
| Valid node attributes include: | |
| "size", "value", "title", "x", "y", "label", "color". |