Skip to content

Instantly share code, notes, and snippets.

@leonbreedt
leonbreedt / retro-amber-crt.glsl
Last active August 19, 2026 03:22
Shaders w/ cursor trails - HALATION_ENABLED may eat your GPU for breakfast :)
// Amber CRT -- an amber phosphor terminal.
//
// Inspired by the amber colour scheme of cool-retro-term, whose look this
// shader emulates: the warm brown dark floor, amber core, and yellow-white
// hot stop in the ramp below trace directly back to that theme.
//
// The barrel warp is a standard radial lens-distortion model (generic
// published optics math) written from scratch; it is not derived from any
// particular shader. This file is original work and is released under the
// Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@runspired
runspired / github-action-example.yml
Last active March 4, 2023 02:26
Parallel Brotli Compression in a Github Actions Workflow
# Ubuntu machines have 2 cores, but larger runners can have a lot more
# parallel will auto use number of virtual cores
# brotli, and parallel are both available out of the box on github's ubuntu machines
jobs:
build-assets:
steps:
- uses: actions/checkout@v3
# - name: Build

🚀 This project has moved!

Thank you for all the stars and forks! To better manage updates, issues, and versioning, Minimal Analytics 4 has moved to a dedicated GitHub repository.

🚀 What's New in v1.11 (2026 "Gold Master" Release)

This version represents a total architectural overhaul to bring this script in line with professional tracking standards while maintaining a tiny footprint.

@alisdair
alisdair / intensify.sh
Created May 21, 2019 23:44
intensifies Slack emoji creator
#!/bin/bash
# Generate a `:something-intensifies:` Slack emoji, given a reasonable image
# input. I recommend grabbing an emoji from https://emojipedia.org/
set -euo pipefail
# Number of frames of shaking
count=10
# Max pixels to move while shaking
@buschtoens
buschtoens / router.ts
Last active July 23, 2019 03:43
Engine Router Service
import Ember from 'ember';
import Service from '@ember/service';
import { action, computed } from '@ember/object';
import { getOwner } from '@ember/application';
import { reads } from '@ember/object/computed';
import { assert } from '@ember/debug';
import Evented from '@ember/object/evented';
import CoreObject from '@ember/object/core';
// Import { getEngineParent } from '@ember/engine/lib/engine-parent';
@monovertex
monovertex / .importjs.js
Last active November 16, 2018 20:59
Configuration for import-js build for an ember-cli project
module.exports = {
excludes: [
'./dist/**',
'./lib/**',
'./public/**',
'./tmp/**',
'./vendor/**',
],
useRelativePaths: false,
groupImports: true,
@runspired
runspired / push-deletion.js
Last active September 20, 2022 18:44
Useful Ember Data helpers
/*
notifying the store that a record has been remotely deleted and should be fully removed.
*/
function pushDeletion(store, type, id) {
let record = store.peekRecord(type, id);
if (record !== null) {
let relationships = {};
let hasRelationships = false;
@justincampbell
justincampbell / .importjs.js
Last active February 28, 2018 21:10
import-js Ember aliases/namedExports config
module.exports = {
emptyLineBetweenGroups: false,
importDevDependencies: true,
aliases: {
$: 'jquery',
Application: '@ember/application',
Component: '@ember/component',
Controller: '@ember/controller',
DS: 'ember-data',
Ember: 'ember',
avrdude -p atmega32u4 -P /dev/tty.usbmodem14411 -c avr109 -U flash:w:lets_split_rev2_xyverz.hex
ls /dev/tty*