Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
# /// script | |
# dependencies = [ | |
# "atproto" | |
# ] | |
# /// | |
from atproto import Client | |
import getpass | |
import time |
llmc() { | |
local system_prompt='Output a command that I can run in a ZSH terminal on macOS to accomplish the following task. Try to make the command self-documenting, using the long version of flags where possible. Output the command first enclosed in a "```zsh" codeblock followed by a concise explanation of how it accomplishes it.' | |
local temp_file=$(mktemp) | |
local capturing=true | |
local command_buffer="" | |
local first_line=true | |
local cleaned_up=false # Flag to indicate whether cleanup has been run | |
cleanup() { | |
# Only run cleanup if it hasn't been done yet |
As often happens, I found the official documentation and forum answers to be "close, but no cigar", and so had to experiment a little to get things working.
The main problem for me was a lack of concrete configuration examples. That's not entirely GitHub's fault: having migrated from Google Domains to Namecheap in the middle of this project, I was once again reminded of how many different ways there are to do things in the name service universe [1].
Although you'd think the simplest setup would be to merely configure for the subdomain case (https://www.example.com), in my experience using the apex domain (https://example.com) instead resulted in fewer complications.
So here's my recipe for using a custom domain with GitHub pages where Namecheap is the DNS provider:
// 1. Go on you labels page: | |
// eg.: https://github.com/EbookFoundation/free-programming-books/labels | |
// | |
// 2. Paste this script in your console / save as browser bookmarklet, and then execute it | |
// 3. Copy the output / download files and now you can import it using https://github.com/popomore/github-labels ! | |
// | |
// How to bookmark: https://gist.github.com/caseywatts/c0cec1f89ccdb8b469b1 | |
(function(undefined) { |
defmodule Messaging.Repo.Migrations.CreateGroupChatVersions do | |
use Ecto.Migration | |
def change do | |
create table(:group_chat_versions, primary_key: false) do | |
add :group_chat_id, :uuid, primary_key: true | |
add :version, :integer, primary_key: true | |
timestamps | |
end |