Skip to content

Instantly share code, notes, and snippets.

View robertjchristian's full-sized avatar
🎯
Focusing

Robert Christian robertjchristian

🎯
Focusing
View GitHub Profile
@robertjchristian
robertjchristian / context.py
Created August 1, 2024 15:11
Context builder for llm augmented coding workflows
import os
import shutil
class ContextBuilder:
def __init__(self):
self.config = {
"output_file": "context.txt",
"message": "This is the complete set of code we are working on. I am providing it for your update. I need you to review it and remember it best as possible. It includes directory structure and files critical to our context.",
"files": [
"package.json",
@robertjchristian
robertjchristian / eg.ts
Created December 6, 2023 19:50
Alchemy
"use strict";
import AlchemyInitializer from "./AlchemyInitializer";
import { Alchemy } from "alchemy-sdk";
/**
* Class for fetching NFTs minted under a given contract address.
*/
class NFTFetcher {
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
tar -xzf libtool-2.4.2.tar.gz
cd libtool-2.4.2
./configure && make && sudo make install
# brew install 'https://raw.github.com/simonair/homebrew-dupes/e5177ef4fc82ae5246842e5a544124722c9e975b/ab.rb'
# brew test ab
curl -O https://archive.apache.org/dist/httpd/httpd-2.4.2.tar.bz2
tar zxvf httpd-2.4.2.tar.bz2
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
tar -xzf libtool-2.4.2.tar.gz
cd libtool-2.4.2
./configure && make && sudo make install
# brew install 'https://raw.github.com/simonair/homebrew-dupes/e5177ef4fc82ae5246842e5a544124722c9e975b/ab.rb'
# brew test ab
curl -O https://archive.apache.org/dist/httpd/httpd-2.4.2.tar.bz2
tar zxvf httpd-2.4.2.tar.bz2
@robertjchristian
robertjchristian / atom_clojure_setup.md
Created December 14, 2016 00:50 — forked from jasongilman/atom_clojure_setup.md
This describes how I setup Atom for Clojure Development.

Atom Clojure Setup

This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.

Install Atom

Download Atom

The Atom documentation is excellent. It's highly worth reading the flight manual.