Skip to content

Instantly share code, notes, and snippets.

View nickytonline's full-sized avatar
:octocat:

Nick Taylor nickytonline

:octocat:
View GitHub Profile
## you can also import this recipe into goose with this URL: goose://recipe?config=eyJ2ZXJzaW9uIjoiMS4wLjAiLCJ0aXRsZSI6IlZpZGVvIFRvb2xzIiwiZGVzY3JpcHRpb24iOiJBIHNldCBvZiB0b29scyBmb3IgcHJvY2Vzc2luZyB2aWRlb3MiLCJpbnN0cnVjdGlvbnMiOiJZb3UgYXJlYSB2aWRlbyBwcm9jZXNzaW5nIGFzc2l0YW50XG5cblByb2Nlc3Mge3t2aWRlb19maWxlfX0gd2l0aCByZWFsLXRpbWUgcHJvZ3Jlc3MgdXBkYXRlcy5cblxuU1RFUCAxIC0gSW1tZWRpYXRlIGFja25vd2xlZGdtZW50OlxuUnVuIHRoaXMgYmFzaCBjb21tYW5kIGZpcnN0OlxuYGBgYmFzaFxuZWNobyBcIvCfjqwgUHJvY2Vzc2luZyB2aWRlbzoge3t2aWRlb19maWxlfX1cIiB8IHRlZSAvZGV2L3R0eVxuYGBgXG5cblNURVAgMiAtIENoZWNrIGRlcGVuZGVuY2llczpcbmBgYGJhc2hcbmVjaG8gXCLwn5SNIENoZWNraW5nIGRlcGVuZGVuY2llcy4uLlwiIHwgdGVlIC9kZXYvdHR5XG53aGljaCBmZm1wZWcgZmZwcm9iZSB8fCB3aGljaCAvb3B0L2hvbWVicmV3L2Jpbi9mZm1wZWcgL29wdC9ob21lYnJldy9iaW4vZmZwcm9iZVxuZWNobyBcIuKckyBEZXBlbmRlbmNpZXMgdmVyaWZpZWRcIiB8IHRlZSAvZGV2L3R0eVxuYGBgXG5cblNURVAgMyAtIEFuYWx5emUgdmlkZW86XG5gYGBiYXNoXG5lY2hvIFwi8J-TiiBBbmFseXppbmcgdmlkZW8gZmlsZS4uLlwiIHwgdGVlIC9kZXYvdHR5XG5gYGBcblxuRXhwYW5kIHt7dmlkZW9fZmlsZX19IHBhd
@nickytonline
nickytonline / weekly-status-update.yml
Created December 20, 2025 17:53
Goose recipe for getting my weekly status updates for work
version: '1'
title: Weekly Status Update
description: Generate a weekly engineering status update
instructions: |
You are an expert at generating concise and informative weekly status updates for software engineers based on their actual work activity.
Generate a weekly status update for Nick Taylor covering work from last week and plans for next week.
**Time Windows (Eastern Time):**
- Last week: Previous Monday-Friday relative to today (Thursday)
- Next week: Coming Friday + following Monday-Friday
@nickytonline
nickytonline / ghostty-config.txt
Created September 11, 2025 12:48
Ghostty Configuration
theme = dark:catppuccin-frappe,light:catppuccin-latte
font-family = "Dank Mono"
font-size = 18
shell-integration = zsh
selection-background=#ffffff
selection-foreground=#000000
keybind = shift+enter=text:\x1b\r
@nickytonline
nickytonline / settings.jsonc
Created May 5, 2024 18:25
Latest VS Code Settings
{
// miscellaneous
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"diffEditor.ignoreTrimWhitespace": false,
// window
"window.title": "🦙⚡🫡 – ${activeEditorShort}${separator}${rootName} – 🫡⚡🦙",
"window.clickThroughInactive": false,
@nickytonline
nickytonline / tweet-ublock-filters.md
Last active December 24, 2022 04:08
Filters to hide a Tweets number of views 📊

Go to your filters and add the following to hide (for yourself only), the number of views for a Tweet. See https://www.freecodecamp.org/news/how-to-block-content-from-web-pages-using-ublock-origin/ if you've never used uBlock filters

twitter.com##[id^="id__"] > div.r-1h0z5md.r-18u37iz.css-1dbjc4n > .r-lrvibr.r-bztko3.r-1ny4l3l.r-bt1l66.r-1777fci.r-1loqt21.css-1dbjc4n.css-18t94o4.css-4rbku5 > .r-qvutc0.r-3s2u2q.r-clp7b1.r-o7ynqc.r-bcqeeo.r-rjixqe.r-1h0z5md.r-16dba41.r-a023e6.r-37j5jr.r-6koalj.r-1bwzh9t.r-1awozwy.css-901oao > .r-1udh08x.r-xoduu5.css-1dbjc4n > span
twitter.com##[id^="id__"]  > div.r-1h0z5md.r-18u37iz.css-1dbjc4n > .r-lrvibr.r-bztko3.r-1ny4l3l.r-bt1l66.r-1777fci.r-1loqt21.css-1dbjc4n.css-18t94o4.css-4rbku5 > .r-qvutc0.r-3s2u2q.r-clp7b1.r-o7ynqc.r-bcqeeo.r-rjixqe.r-1h0z5md.r-16dba41.r-a023e6.r-37j5jr.r-6koalj.r-1bwzh9t.r-1awozwy.css-901oao > .r-xoduu5.css-1dbjc4n > .r-1hdv0qi.r-lrvibr.r-1plcrui.r-bnwqim.r-dnmrzs.r-1xvli5t.r-yyyyoo.r-4qtqp9
twitter.com##.r-1mf7evn.css-1dbjc4n > .css-1dbjc4n > 
import "https://deno.land/x/dotenv/load.ts";
const response = await fetch("https://www.getrevue.co/api/v2/issues", {
headers: {
Authorization: `Token ${Deno.env.get("REVUE_API_KEY")}`,
},
});
const issues = await response.json();
@nickytonline
nickytonline / useDragAndDrop.js
Last active August 31, 2020 21:44
A (P)React hook for attaching drag and drop events to an element.
/**
* Hook for drag attaching drag and drop functionality to a DOM element
*
* @param {object} props
* @param {Function} props.onDragOver The handler that runs when the dragover event is fired.
* @param {Function} props.onDragExit The handler that runs when the dragexit/dragleave events are fired.
* @param {Function} props.onDrop The handler that runs when the drop event is fired.
*/
export function useDragAndDrop({ onDragOver, onDragExit, onDrop }) {
const [element, setElement] = useState(null);
@nickytonline
nickytonline / mini-expect.js
Last active July 20, 2019 04:13
Recreated a portion of the expect library
function expect(actual) {
function prettyJSON(objectToSerialize) {
return JSON.stringify(objectToSerialize, null, '\t')
}
return {
toBe(expected) {
if (actual === expected) {
console.log('✅ Pass')
} else {