I hereby claim:
- I am serverlessnomad on github.
- I am serverlessnomad (https://keybase.io/serverlessnomad) on keybase.
- I have a public key ASBDtC-_P4mLT6Rc7YKub-kMn1KQgP38ZgARXEXeXv0oUAo
To claim this, I am signing this object:
Verifying that "serverlessnomad.id" is my Blockstack ID. https://onename.com/serverlessnomad |
I hereby claim:
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 18x7UAqZWdRWBWMW1Q7jtEm49mTw5Q5eoj https://explorer.blockstack.org/address/18x7UAqZWdRWBWMW1Q7jtEm49mTw5Q5eoj |
Verifying my identity on Peepeth.com 0xbf21b5f177da457e9199f479217294b88a74d545 |
ollama_refresh() { | |
pattern=$1 | |
if [[ -n $pattern ]]; then | |
# Modify the grep command to handle patterns | |
# If pattern ends with '*', use '^' to match the start of the line | |
# Else, use the pattern as is | |
if [[ $pattern == *'*' ]]; then | |
modified_pattern="^${pattern%*}" | |
for i in $(ollama list | grep -v NAME | grep "$modified_pattern" | awk '{print $1}') |