Skip to content

Instantly share code, notes, and snippets.

@Xeophon
Xeophon / fetch_polars_docs.sh
Created March 9, 2024 08:39
Polars Docs Concat
#!/bin/bash
# Set the GitHub repository URL and branch
repo_url="https://github.com/pola-rs/polars.git"
branch="main"
# Set the paths of the folders to fetch
folder1="docs/src/python/user-guide"
folder2="docs/user-guide"
@Xeophon
Xeophon / bib_fixer.yml
Created September 12, 2023 22:01
Bib entry fixer
matches:
- trigger: ":doi"
replace: "{{output}}"
vars:
- name: "clipboard"
type: "clipboard"
- name: output
type: script
params:
args:
@Xeophon
Xeophon / chatgpt_jwt_interceptor.js
Last active March 12, 2024 05:10
ChatGPT Personals
// ==UserScript==
// @name OpenAI Authorization Header Interceptor
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Intercept OpenAI chat requests, store Authorization header once, and exit
// @author Xeophon + ChatGPT
// @match https://chat.openai.com/*
// @grant none
// ==/UserScript==
@Xeophon
Xeophon / arxiv_social_media.js
Created August 22, 2023 11:39
Arxiv Discussions Tampermonkey Script
// ==UserScript==
// @name Arxiv Twitter Search
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Add discussions links to Arxiv
// @author Xeophon + ChatGPT
// @match https://arxiv.org/abs/*
// @grant GM_xmlhttpRequest
// ==/UserScript==