Skip to content

Instantly share code, notes, and snippets.

View elliotboney's full-sized avatar

Elliot Boney elliotboney

View GitHub Profile
@elliotboney
elliotboney / Code.gs
Created June 24, 2025 04:13
Google apps script to turn a google doc from markdown code to formatted google doc
function convertFromMarkdown(file_idz) {
// Ensure the Google Drive Advanced Service is enabled (Steps below)
// Get the ID of the Google Doc to be updated
var file_id = file_idz || "put_a_default_id_here_if_you_want";
// Open the document to read its content
const docFile = DocumentApp.openById(file_id);
const markdownContent = docFile.getBody().getText();
@elliotboney
elliotboney / 1README.md
Last active June 22, 2025 01:18
My MCP List for Cursor - My most commonly used and badass MCP servers for Vibe Coding

Elliot's Favorite MCP Servers Configuration for Cursor and Claude Desktop

This configuration includes a collection of Model Context Protocol (MCP) servers that extend the capabilities of AI assistants like Claude Desktop and code editors like Cursor by providing access to external tools, data sources, and specialized functionalities.

What is MCP (Model Context Protocol)?

MCP defines a client-server architecture where hosts (applications like Claude Desktop, Cursor IDE, or custom agents) connect to servers that expose Tools, Resources, and Prompts via a standard API to AI models. The protocol enables tools (model-controlled functions), resources (application-controlled data sources), and prompts (user-controlled templates) to enhance AI capabilities.

Server Descriptions

@elliotboney
elliotboney / freshdesk.user.js
Last active February 6, 2024 13:32
Freshdesk Ticket Detail
// ==UserScript==
// @name Freshdesk Ticket Detail
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Freshdesk hacks
// @author Elliot Boney
// @match https://*.freshdesk.com/a/tickets/*
// @grant unsafeWindow
// @run-at document-end
// @updateURL https://gist.github.com/elliotboney/3b9823cd7567067e7ee0edcf42364b3f/raw/freshdesk.user.js
@elliotboney
elliotboney / printer.cfg
Created July 17, 2023 13:50
My Ender3 Klipper config
# _____ _
# / ____| |
# | (___ | |_ ___ _ __ _ __ ___ _ __ ___
# \___ \| __/ _ \ '_ \| '_ \ / _ \ '__/ __|
# ____) | || __/ |_) | |_) | __/ | \__ \
# |_____/ \__\___| .__/| .__/ \___|_| |___/
# | | | |
# |_| |_|
[stepper_x]
step_pin: PB13
@elliotboney
elliotboney / resize_large_images.sh
Created April 22, 2022 13:26
Resize ridiculous image files in a directory recursively
#!/usr/bin/env bash
trap 'exit 130' INT
TOTAL_FILES=`find $1 -type f -size +3M -iname "*.jpg" -printf '.' | wc -c`
INDEX=1
echo -e "${BWhite}Total files: ${BCyan}${TOTAL_FILES}${NC}"
for file in $(find $1 -type f -size +3M -iname "*.jpg"); do
echo -ne "${Gray}[${INDEX}/${TOTAL_FILES}]${White} $file --> ${BWhite}$(ls -lah $file | awk -F " " {'print $5'})${NC}"
# mogrify -resize '2560>' -quality 82 -define png:compression-level=9 -strip $file
@elliotboney
elliotboney / deploy.sh
Created September 29, 2021 02:22 — forked from BenSampo/deploy.sh
Laravel deploy script
# Change to the project directory
cd $FORGE_SITE_PATH
# Turn on maintenance mode
php artisan down || true
# Pull the latest changes from the git repository
# git reset --hard
# git clean -df
git pull origin $FORGE_SITE_BRANCH
<?php
$file = sys_get_temp_dir().'/phpcache.' . basename($_SERVER['SCRIPT_NAME']); //location of cache file
$current_time = time();
$cache_last_modified = filemtime($file); //time when the cache file was last modified
if(file_exists($file) && ($current_time < strtotime('+1 day', $cache_last_modified))){ //check if cache file exists and hasn't expired yet
include($file); //include cache file
}else{
ob_start(); //start output buffering
?>
@elliotboney
elliotboney / simple_args_parsing.sh
Created July 17, 2018 17:53 — forked from jehiah/simple_args_parsing.sh
a simple way to parse shell script arguments
#!/bin/sh
#
# a simple way to parse shell script arguments
#
# please edit and use to your hearts content
#
ENVIRONMENT="dev"
@elliotboney
elliotboney / fontList.jsx
Created November 29, 2017 01:24
List all available fonts in Adobe Illustrator using example text. I use it for testing how words look in all my fonts.
// script.name = fontList.jsx;
// script.description = creates a document and makes a list of all fonts seen by Illustrator;
// script.requirements = none; // runs on CS4 and newer;
// script.parent = eboney // 11/28/2017;
// script.elegant = false;
#target illustrator
#targetengine main
var edgeSpacing = 10;
var columnSpacing = 195;
@elliotboney
elliotboney / _visibility_classes.scss
Last active November 15, 2017 14:04
Missing visible-** and hidden-** in Bootstrap v4
// Restore Bootstrap 4 alpha "hidden" utility classes.
@each $bp in map-keys($grid-breakpoints) {
.hidden-#{$bp}-up {
@include media-breakpoint-up($bp) {
display: none !important;
}
}
.hidden-#{$bp}-down {
@include media-breakpoint-down($bp) {
display: none !important;