Skip to content

Instantly share code, notes, and snippets.

View mrprofessor's full-sized avatar
🌓
To the moon!

mrprofessor

🌓
To the moon!
View GitHub Profile
name orca-skill
description Orchestrate persistent Claude and Codex peer agents in visible Herdr tabs through the orca CLI. Use by default for non-trivial repository tasks inside Herdr that benefit from delegation, parallel investigation, implementation, testing, review, or independent validation, and whenever the user asks for multiple agents, fan-out, peer review, or cross-agent coordination. Do not use outside Herdr or recursively from an orca worker unless nested delegation is explicitly requested.

Orca Orchestration

Keep the primary agent in its current Herdr tab as coordinator. Use orca for worker lifecycle and Herdr placement; do not reimplement spawning with raw herdr commands.

Literate Config

Initialization

Basics

  • Menu and toobars
@mrprofessor
mrprofessor / practice-precendence-rule.js
Created March 28, 2021 19:10 — forked from lienista/practice-precendence-rule.js
(Algorithms in Javascript) Practice. A precedence rule is given as "P>E", which means that letter "P" is followed by letter "E". Write a function, given an array of precedence rules, that finds the word represented by the given rules. Note: Each represented word contains a set of unique characters, i.e. the word does not contain duplicate letters.
/*
we create 2 separate arrays of letters and count
the number of characters resulting from the
original precedence array.
we look up the index of each letter from first letter
array and follow the index of the next letter.
*/
function findWord(a){
console.log(a);

Keybase proof

I hereby claim:

  • I am mrprofessor on github.
  • I am mrprofessor (https://keybase.io/mrprofessor) on keybase.
  • I have a public key whose fingerprint is 0A61 953B 5E3D 034B 5833 9C8A E9F4 A875 E319 21FF

To claim this, I am signing this object:

@mrprofessor
mrprofessor / alacritty.yml
Created June 14, 2020 11:04 — forked from sts10/alacritty.yml
My Alacritty config yml for MacOS (compliant with v 0.4.1-dev)
# Configuration for Alacritty, the GPU enhanced terminal emulator
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty it self.
env:
# TERM env customization.
#
# If this property is not set, alacritty will set it to xterm-256color.
#
@mrprofessor
mrprofessor / doom.txt
Created May 24, 2020 06:03 — forked from hjertnes/doom.txt
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch
@mrprofessor
mrprofessor / ctags.setup
Created May 8, 2020 03:58 — forked from nazgob/ctags.setup
ctags setup on mac
# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"
import React, { useState, useEffect } from "react";
import { List, Typography } from "antd";
import { gql } from "apollo-boost";
import { useQuery } from "@apollo/react-hooks";
import { useSelector, useDispatch } from "react-redux";
import { updateMarkdownValue, hideModal } from "../../actions";
import { calculateSolitudeRepoName } from "../../utils/utils.js";
import CustomButton from "../../shared/customButton/CustomButton.js";
import CustomTag from "../../shared/customTag/CustomTag.js";
import click
import os
import pandas as pd
def file_split(file):
s = file.split(".")
name = ".".join(s[:-1]) # get directory name
return name
@mrprofessor
mrprofessor / celery flower
Last active November 25, 2019 18:05
celery flower
FROM python:3.7
RUN mkdir -p /var/www/retail-server
# Update working directory
WORKDIR /var/www/retail-server
COPY requirements.txt ./requirements.txt
# Install explicitly because of segment fault with psycopg2.