Skip to content

Instantly share code, notes, and snippets.

View lissy93's full-sized avatar
:bowtie:
Stuck in an infinite loop

Alicia Sykes lissy93

:bowtie:
Stuck in an infinite loop
View GitHub Profile
@lissy93
lissy93 / Example 1 - Getting Started - conf.yml
Last active February 19, 2026 00:45
Example Config Files for Dashy
---
# Page meta info, like heading, footer text and nav links
pageInfo:
title: Dashy
description: Welcome to your new dashboard!
navLinks:
- title: GitHub
path: https://github.com/Lissy93/dashy
- title: Documentation
path: https://dashy.to/docs
@lissy93
lissy93 / tfl-stations.json
Last active February 1, 2026 19:58
A list of all London Underground and DLR stations, along with their TLA codes 🚆
[
{
"tla":"ABR",
"name":"Abbey Road"
},
{
"tla":"ACT",
"name":"Acton Town"
},
{

The MIT License (MIT)

Copyright (c) Alicia Sykes alicia@aliciasykes.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@lissy93
lissy93 / emoji-list.md
Last active July 7, 2025 20:06 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
  • 😄 :smile:
  • 😆 :laughing:
  • 😊 :blush:
  • 😃 :smiley:
  • 😀 :grinning:
  • 😏 :smirk:
  • 😍 :heart_eyes:
  • 😘 :kissing_heart:
  • 😚 :kissing_closed_eyes:
  • 😳 :flushed:
@lissy93
lissy93 / github-sponsors-api.js
Created February 27, 2024 01:17
A quick and easy Cloudflare Worker, for fetching all the GitHub Sponsors of a given user
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
const { pathname } = new URL(request.url);
const username = pathname.split('/')[1];
if (!username) {
return new Response(
/**
* A quick and simple JS WHOIS lookup to return JSON
* Docs and usage instructions are below...
**/
import * as whois from 'whois';
import * as changeCase from 'change-case';
import { decodeEntity } from 'html-entities';
const DELIMITER = ':';
@lissy93
lissy93 / open-ai-assistant.js
Last active February 29, 2024 10:26
A REST API for fetching the repsponse from a custom GPT assistant via the OpenAI API. Runs as a Cloudflare Worker.
/**
* A REST API for fetching the repsponse from
* a custom GPT assistant via the OpenAI API
* Deployed as a simple Cloudflare Worker
* Licensed under MIT (C) Alicia Sykes 2024
*/
(() => {
addEventListener("fetch", (event) => {
event.respondWith(handleRequest(event.request));
@lissy93
lissy93 / github-discussion-comments.js
Created February 27, 2024 01:53
A simple REST API, to fetch all comments on a given GitHub discussion thread. Built as a Cloudflare Worker.
/**
* Fetch all comments on a given GitHub discussion
* A simple REST API, built for Cloudflare Workers
* Code licensed under MIT, (C) Alicia Sykes 2024
*/
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
@lissy93
lissy93 / The-Alicia-Sykes-Hub-Blog.md
Last active February 27, 2024 01:06
While working for B&Q, we took turns in writing a 1-2 pager about ourselves for the company weekly newsletter, (hence the DIY references). This is my entry. Warning: Contains a lot of unfunny jokes,

Alicia Sykes: Kingfisher Hub Blog Entry

By day a coder, by night... also a coder

Me at Kingfisher

I joined KF, (as a dev) towards the end of 2016, and have been in Coach 2 (the greatest of a all feature-teams) for most of that time.


Me and DIY

@lissy93
lissy93 / cloud-backup-restore-worker.js
Last active February 27, 2024 00:46
CloudFlare Worker for Dashy Backup and Restore
/* Access control headers */
const headers = {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, PUT, POST, OPTIONS',
'Access-Control-Allow-Headers': 'Content-Type',
'content-type': 'application/json;charset=UTF-8',
}
/* Listen for incoming requests, and call handler */
addEventListener('fetch', event => {