Skip to content

Instantly share code, notes, and snippets.

View ByronScottJones's full-sized avatar

Byron Scott Jones ByronScottJones

  • Miami, FL, USA
  • 04:19 (UTC -05:00)
View GitHub Profile
@tkafka
tkafka / Detect electron apps causing macOS Tahoe lag.md
Last active November 12, 2025 18:42
Detect Electron apps on mac where the Electron hasn't yet been updated to fix the system wide lag
@burkeholland
burkeholland / ainstall.md
Last active November 27, 2025 03:54
Boost

Boost Prompt

A prompt to boost your lazy "do this" prompts. Install with one of the buttons below.

Install in VS Code Install in VS Code Insiders

Use

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"
final EzSchema userProfileSchema = EzSchema.shape({
"firstName": EzValidator<String>().required(),
"lastName": EzValidator<String>().required(),
"email": EzValidator<String>().required().email(),
"age": EzValidator<int>().min(18).max(100),
'contactDetails': EzSchema.shape({
'mobile': EzValidator<String>()
.required()
.matches(RegExp(r'^\+\d{10,15}$'), 'Invalid phone number'),
'landline': EzValidator<String?>(optional: true),
@midoriiro
midoriiro / convert-image.psm1
Created November 15, 2023 18:08
Convert OCI image to LXC format
Function Convert-Image
{
Param (
[Parameter(Mandatory = $true)]
[string]$Name,
[Parameter(Mandatory = $true)]
[string]$Tag,
[Parameter(Mandatory = $false)]
@captainsafia
captainsafia / Program.cs
Last active December 11, 2023 06:57
Titan: the small but mighty API framework (requires .NET 7)
using System.Net;
using System.Text;
var port = 8080;
var server = new Server(port);
server.UseAuthentication();
server.UseRouting();
server.UseNotFoundPage();
@edjdavid
edjdavid / file.md
Created October 13, 2022 12:45
Stream Windows webcam/desktop via RTSP

Can be used for streaming data (webcam or screen capture) from the Windows to WSL

Install

  1. Simple RTSP Server
  2. ffmpeg

Get the internal IP of WSL

Run from a WSL terminal

ip route list default | awk '{print $3}'
alias getsecret="_getsecret"
# ~/.secrets/secrets.json !!! chmod 400
# {
# "group1": {
# "secret1":"value",
# "secret2":"value"
# },
#Finder - Full Path in the Title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES|NO
#Finder - Show All Files
defaults write com.apple.finder AllShowAllFiles TRUE|FALSE
#Finder - Add Quit to Menu
defaults write com.apple.finder QuitMenuItem -bool TRUE|FALSE && killall Finder
#Dialogs Print - Show the Extended Print Dialog by default