Skip to content

Instantly share code, notes, and snippets.

@chriship
chriship / prompts.json
Last active August 13, 2025 09:08
Sleevenerd prompts
{
"default": {
"prompts": [
"Share insights about the album {albumName} by {artistName}. Focus on their musical style, influences, and impact on music. Keep it extremely concise - maximum 1 sentence.",
"What makes the album {albumName} by {artistName} significant in music history? Focus on its cultural impact and legacy. Be very brief - 1 sentence only.",
"Explore the creative process behind {albumName} by {artistName}. What inspired this work and how was it made? Keep it to 1 concise sentence.",
"Give me the scoop on \"{songName}\" by {artistName}. Focus on one interesting fact about its creation, meaning, or cultural impact. Maximum 1 sentence.",
"What's the story behind \"{songName}\" by {artistName}? Share one unique detail about its composition or reception. Be very brief - 1 sentence only.",
"How did \"{songName}\" by {artistName} influence other artists or the music industry? Keep it to 1 concise sentence."
],
@chriship
chriship / globals.css
Created August 3, 2023 07:37
nextjs Head order bug
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
background-color: green;
}
@chriship
chriship / Tracker.swift
Last active February 26, 2021 10:35
LocationTracker
//
// Tracker.swift
// LocationTracker
//
// Created by Chris Hipgrave on 25/02/2021.
//
import CoreLocation
class Tracker : NSObject, CLLocationManagerDelegate {
@chriship
chriship / client.js
Last active January 12, 2021 15:00
Node app to connect to laravel websockets server
const Pusher = require('pusher-js');
let connected = false
let pusher = new Pusher('websocket_test', {
wsHost: '192.168.1.78',
wsPort: 6001,
wssPort: 6001,
wsPath: null,
disableStats: true,
authEndpoint: 'http://192.168.1.78:8000/laravel-websockets/auth',
#pragma once
#include "ofMain.h"
#include "ofxNetwork.h"
namespace ads {
class TcpClient
{
public: