Skip to content

Instantly share code, notes, and snippets.

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

notaLonelyDay

🚩
foss bugs finder | kiss ambassador
View GitHub Profile
@supersonictw
supersonictw / ollama-export.sh
Last active April 30, 2025 09:29
Ollama Model Export Script
#!/bin/bash
# Ollama Model Export Script
# Usage: bash ollama-export.sh vicuna:7b
# SPDX-License-Identifier: 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 February 26, 2025 18:20
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