Skip to content

Instantly share code, notes, and snippets.

@dtkav
Created January 10, 2024 06:24
Show Gist options
  • Save dtkav/75516bbb1968a9bfe4eaadbd14e5c696 to your computer and use it in GitHub Desktop.
Save dtkav/75516bbb1968a9bfe4eaadbd14e5c696 to your computer and use it in GitHub Desktop.
Shell Summary

Summary

  • ArchiveBox Project

    • Edited configuration and deployment scripts
      • Makefile
      • .dockerignore
    • Managed virtual machines
      • Attempted to run a machine with fly machine run (failed with status 1)
      • Viewed and listed machine leases
      • Stopped and destroyed machines using make commands and fly commands
    • Copied environment variables
      • Copied .auth.env to another project directory
  • Code Development

    • Started a new feature branch for a public API
      • Created new directories and files for API development
        • api/
        • api/v0/
        • openapi.yaml (attempted to edit but failed with status -1)
    • Worked on the PocketBase project
      • Edited the Dockerfile
      • Managed secrets with fly secrets
      • Edited configuration files
        • .auth.env
        • fly.toml
      • Edited source code
        • main.go
      • Successfully created an app with fly app create
      • Deployed locally with fly deploy --local-only
  • Obsidian Notes Management

    • Edited and renamed notes
      • jot (renamed to jot.md)
      • today.py
      • Daily/2023-0451 Mesa Rd, Bolinas, CA 949248-1c7 Thu.md (renamed to Daily/2023-08-17 Thu.md)
      • Software/wunderbase.md
    • Created and modified scripts for note-taking automation
      • obsidian-import
      • daily
      • Updated .bashrc and .bashrc.local to include custom scripts
  • Obsidian CLI Tool Development

    • Organized scripts and created a CLI tool structure
      • Moved today.py to a new directory structure
      • Renamed obs to obsidian-cli
      • Created bin/ directory and moved daily script into it
      • Edited daily script and made it executable
      • Updated .bashrc to include the new CLI tool's path
  • Shell GPT Configuration

    • Edited configuration files for Shell GPT
      • ~/.config/shell_gpt/.sgptrc
      • ~/.config/shell_gpt/roles/default.json
      • ~/.config/shell_gpt/roles/summarize.json
    • Explored Shell GPT commands and roles
      • Used sgpt --help, --show-role, and --list-roles commands
  • Miscellaneous

    • Worked on date command scripting
      • Experimented with various date command formats to get the start of the day in the current timezone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment