Skip to content

Instantly share code, notes, and snippets.

View ironicgitposting's full-sized avatar
🎯
Focusing

stacktrac3ur ironicgitposting

🎯
Focusing
View GitHub Profile

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"
@ironicgitposting
ironicgitposting / 00_destructuring.md
Created July 2, 2022 17:57 — forked from john2x/00_destructuring.md
Clojure Destructuring Tutorial and Cheat Sheet

Clojure Destructuring Tutorial and Cheat Sheet

(Related blog post)

Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.

Vectors and Sequences

(defn to-file
"Write a lazy seq to a file"
[seq file]
(->>
seq
(interpose \newline)
(apply str)
(spit file)))
1. C- = Ctrl Key
2. M- = Meta Key / Alt Key (ESC Don't hold and then the Letter)
3. Start Emacs without Opening Screen : emacs -Q
4. Open Help : C-h i (HELP INFO)
A. Show All Key Bindings : C-h b (BINDINGS)
@ironicgitposting
ironicgitposting / babylon-scene.js
Created November 19, 2019 15:45
Example of a babylonjs scene integration in a react class component
import React, { Component } from "react";
import * as BABYLON from "babylonjs";
import babylonSceneStyle from './babylonscene.module.scss';
var scene;
var boxMesh;
class BabylonScene extends Component {
constructor(props) {
super(props);
@ironicgitposting
ironicgitposting / .jshintrc
Created October 13, 2018 18:43
Default jshintrc used in my projects
{
"esversion": 6,
"maxerr": 50,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"forin": true,
"freeze": true,
"immed": false,
! URxvt
! General settings
URxvt.saveLines: 2000
URxvt.scrollBar: False
URxvt.scrollstyle: rxvt
URxvt.termName: xterm-256color
URxvt.urgentOnBell: True
URxvt.cursorBlink: False