Skip to content

Instantly share code, notes, and snippets.

View serverlessnomad's full-sized avatar

Serverless Nomad serverlessnomad

View GitHub Profile
@serverlessnomad
serverlessnomad / gist:6c5c8c63185383427378b3fb2313130a
Created January 27, 2024 23:37
Shell function and alias to refresh Ollama models
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}')
Verifying my identity on Peepeth.com 0xbf21b5f177da457e9199f479217294b88a74d545
@serverlessnomad
serverlessnomad / gist:0d7423890fc645efcbc3e90c131d4287
Created December 16, 2017 10:25
blockstack verification gist
Verifying my Blockstack ID is secured with the address 18x7UAqZWdRWBWMW1Q7jtEm49mTw5Q5eoj https://explorer.blockstack.org/address/18x7UAqZWdRWBWMW1Q7jtEm49mTw5Q5eoj
@serverlessnomad
serverlessnomad / keybase.md
Created October 28, 2017 10:40
keybase.md

Keybase proof

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