Why is this happening? Solution: Run this command to create a symbolic link inside of the “/var” directory Source: https://github.com/nektos/act/issues/1658 Deep dive: Here’s a breakdown of the command and its components:
All posts in Uncategorized
Cache your OpenAI responses with CachedGPT
Check out this github repo: https://github.com/theptrk/cachedgpt It’s a single file server that uses FastAPI to cache your calls to save on resources while you are developing. A hidden benefit, all responses return INSTANTLY on the second call.
OpenAI ChatCompletion in Python
Use pyenv and a .python-version file
Problem: Have you ever downloaded someones project and ran into python versioning issues? Solution: You need to pin the python version for every project How? pyenv will recognize a .python-version file and use the python version that you pinned for your project, directory or system. This is massively useful when working across different machines and…
Goodbye Outstandem
I worked on Outstandem for 10 years and it’s time to say goodbye. When I was looking for my first real job in 2012, I kept every application in an excel sheet. Every stage in the interview process was tracked in Excel but I knew it could all be better. Every time my career counselor…
Github Pages tutorial and exploration!
What is Github Pages Github allows free and easy hosting for users to create an html page to represent users, organization and projects. All you have to do is upload your files through version control (git) and Github will serve your html, css and js – all static assets*. How do you create a github…
vim settings: tabs, spaces, indents
Basics tabstop – amount to indent when using <Tab> shiftwidth – amount to indent when using ‘>’ or ‘<‘ expandtab – always insert spaces at the amount of tabstop set tabstop=4 set shiftwidth=4 set expandtab How to change tab size based on filetype setting it inline make sure there are no spaces between the…
Setting up version controlled bash_profile
Sometimes your roommate spills water on your computer for a second time. Why would I upload .bash_profile to github? If you keep your config files uploaded to github, you can avoid having to recreate your dotfiles like .bash_profile every time you need to set up a new computer. For most people, setting up a new computer…
Set up your dotfiles, config files
Sometimes your computer explodes. Sometimes your roommate spills water on it. If you keep your config files uploaded to github/gitlab, you can avoid recreating your dotfiles (.vimrc, .bash_profile, .sh, .zshrc) and reconfiguring every laptop and virtual machine you encounter. * this is assuming you have already version controlled your configs (examples: bash, vim) Step 1: Upload…