Skip to content

Instantly share code, notes, and snippets.

View jerieljan's full-sized avatar

Jeriel Jan del Prado jerieljan

View GitHub Profile
@jerieljan
jerieljan / Kagi Service Switcher
Created March 8, 2026 02:22
Adds service icons for Assistant, News and Translate on Kagi.
// ==UserScript==
// @name Kagi Service Switcher
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Add quick navigation buttons for Kagi Assistant, Translate, and News
// @author jerieljan
// @match https://www.kagi.com/*
// @match https://kagi.com/*
// @grant GM_addStyle
// @run-at document-end
@jerieljan
jerieljan / README.md
Created February 26, 2026 04:22
pdf-parse-with-llm - skill to process PDFs with `llm`

pdf-parse-with-llm

This is a simple Opencode / Claude Code skill that you can use to delegate the document / image processing to another LLM, in this case, gemini-2.5-pro.

Why?

While Claude Code and other harnesses come with their own ways to read files, I sometimes stumble on issues when there's a lot of them and especially when they're handwritten or scanned PDFs.

@jerieljan
jerieljan / README.md
Created July 20, 2025 14:33
Cloudflare Browser Rendering - Open WebUI Tool

Cloudflare Browser Rendering

This is also available at: https://openwebui.com/t/jerieljan/cloudflare_browser_rendering

Enables LLMs to read webpages by processing them into Markdown with the Cloudflare Browser Rendering API.

This tool in particular focuses on the /markdown capabilities of the API since it works nicely with LLMs. It does not utilize the /content or /scrape HTML commands, but is still sufficient for parsing website content.

Read more at: https://developers.cloudflare.com/browser-rendering/

@jerieljan
jerieljan / README.md
Last active July 1, 2025 02:19
My personal tmux.conf.

README

This is my personal tmux.conf file.

What it does

It's better appreciated if you look at the preview here

Essentials

  • Sets the terminal/tab/window title to display session, window, pane, program, and host info.
@jerieljan
jerieljan / _llm
Last active October 3, 2025 15:49
A basic zsh-completion for Simon Willison's `llm`. https://llm.datasette.io
#compdef llm
# Instructions:
#
# - Have llm working on your setup, of course. Have some models or templates to actually use.
# - Have zsh and zsh-completions configured and working (i.e., installed, fpath configured, tabbing works for other commands, etc)
# - Place this file `_llm` alongside your completions (e.g., ~/.oh-my-zsh/custom/plugins/zsh_completions/src/)
# - Restart your terminal session or `source ~/.zshrc`
# - Try it out by tabbing while `-m` or `-t` and it should suggest whatever models you have available or templates you've configured.
@jerieljan
jerieljan / Blur Sidebar - ChatGPT and Gemini.md
Last active February 10, 2024 05:18
Blur Sidebar - ChatGPT and Gemini

Blur Sidebar

Last Updated: 2024-02-10

NOTE: Since these websites are subject to change, these stylesheets may fail to work someday. I'll put in a fix if this happens as long as I'm still using ChatGPT or Gemini in the future.

Use these stylesheets with Stylus to blur the titles of your ChatGPT / Gemini sidebar.

Blurring is nice since it prevents onlookers from seeing your history, whether you're sharing your screen

#!/usr/bin/env bash
###
# whisper-cpp - a shell script that easily creates subtitles out of movie files and muxes them.
#
# Requirements
# - ffmpeg
# - whisper.cpp
# - Make sure to run https://github.com/ggerganov/whisper.cpp#quick-start first!
#
@jerieljan
jerieljan / btt-screenshot.sh
Created May 22, 2021 13:32
Screenshot OCR with BetterTouchTool on MacOS
#!/usr/bin/env bash
# Usage:
# - Install `tesseract` with `brew install tesseract`
# - In BetterTouchTool, create a trigger of your choice.
# (I recommend a Keyboard Shortcut with Cmd+Shift 6)
# - Add an Execute Shell Script / Task action
# - Paste this script.
# NOTE: You'll need to authorize BTT to the Screen Recording permission in Security and Privacy at System Preferences
@jerieljan
jerieljan / Test.kt
Created March 6, 2019 02:45
Jackson + Kotlin makes easy work with JSON.
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
/**
*
*
* Date: 2019-03-05
* Time: 11:03 AM
* @author jerieljan
*/
@jerieljan
jerieljan / Smarter-Better-Diagrams.md
Last active December 12, 2018 02:56
This quick little guide lets you export and share vector diagrams that can be panned, zoomed and loads custom fonts from the web, like Google Fonts. Perfect for sharing detailed diagrams to people without compromising quality and convenience.

Sharing Smarter and Better Diagrams

Exporting diagrams and sharing them is just business as usual; especially if it comes in PNG or JPG.

But what if you could make them better?

Well, yeah, you can by exporting them to a vector format like SVG or a PDF document. That way, details are drawn in 2D points and math and won't lose any detail if you zoom in.