Skip to content

Instantly share code, notes, and snippets.

View notaLonelyDay's full-sized avatar
🚩
foss bugs finder | kiss ambassador

Nikita Artikhovich notaLonelyDay

🚩
foss bugs finder | kiss ambassador
  • Belarus
View GitHub Profile
@supersonictw
supersonictw / ollama-export.sh
Last active September 16, 2024 08:11
Ollama Model Export Script
#!/bin/bash
# Ollama Model Export Script
# Usage: bash ollama-export.sh vicuna:7b
# License: MIT (https://ncurl.xyz/s/o_o6DVqIR)
# https://gist.github.com/supersonictw/f6cf5e599377132fe5e180b3d495c553
# Interrupt if any error occurred
set -e
# Declare
@filipkowicz
filipkowicz / HeaderItemDecoration.kt
Last active September 2, 2024 15:51
Item Decorator for sticky headers in Kotlin
package com.filipkowicz.headeritemdecorator
/*
solution based on - based on Sevastyan answer on StackOverflow
changes:
- take to account views offsets
- transformed to Kotlin
- now works on viewHolders